Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Split disassembly programs?

Name: Anonymous 2011-07-22 7:53

Alternatively titled: Good splitting programs/how to write a splitter?

I've done some disassembly before, but never a split disassembly. Are there any good programs that will find the pointers for me and split a ROM, or do you have any tips for writing a splitter?

Target machine is a Sega Mega Drive/Genesis (MC68K and Z80).

Name: Anonymous 2011-07-22 8:03

test

Name: i_only_say_jew 2011-07-22 8:03

jew

Name: i_only_say_enhanced_penis 2011-07-22 8:05

enhanced_penis

Name: Anonymous 2011-07-22 10:23

What do you mean by split?

Name: Anonymous 2011-07-22 10:37

>>3
back to /reddit/

Name: Anonymous 2011-07-22 10:42

>>5
In the original source code of a ROM, you'd have an entire directory structure that has sections for art, music, control code, additional code, etc. that makes it easy to expand on. When you assemble this file, you'd link all of the other files together to get the final ROM. (No one puts all their code into a single file. You'd be dealing with a 30 MB ASM file that assembles into a 3 MB binary ROM. Can you imagine editing that? That's why I am curious about doing a split disassembly instead of just hex editing or making an IDA database.)

A split disassembly, as I understand it, is when you disassemble a ROM and split it up into what is more or less a recreation of the original files.

Name: Anonymous 2011-07-22 10:47

>>7
Try Lisp. It is easy to write custom decompiler with it.

Name: Anonymous 2011-07-22 10:49

>>7
Add instrumentation to your program simulator that for each accessed byte of the program stores a set of flags indicating whether the byte was executed or read (or written, you might want to store the information for all mapped memory).

Name: Anonymous 2011-07-22 11:56

>>8
Trying dying in a fire.

Name: POLITE_ALLCAPS_GUY 2011-07-22 12:27

>>6
You say that as if that were something bad.

Name: POLITE_ALLCAPS_GUY 2011-07-22 12:28

>>11
FUCK, FORGOT MY CAPS. FACEPALM. I'M SORRY!

Name: Anonymous 2011-07-22 13:44

>>8
>>9
I was afraid you guys would say that. No standard program for splitting a ROM?

Name: Anonymous 2011-07-22 19:38

>>13
No standard way of writing split ROMs? If there was a standard filesystem or something like that, then I could see one existing.

Name: Anonymous 2011-07-22 19:46

>>14
There kind of is for the Mega Drive ROM format. I found, just now, an IDA .idc file that helps with some basic autoanalysis. (See MIDI http://www.gshi.org/?s=downloads)

However, it seems the only people who have done split disassemblies of SMD games are on Sonic Retro (see their SVN project). They have focused on making stuff work for particular games, rather than universal SMD tools for the most part.

So… well, thanks for the help, /prog/. Not completely sure where I'll go from here; editing one big ASM file the "lazy" way or writing a program to split it. I'll have a think about it.

Name: Anonymous 2011-07-24 14:39

License agreement explicitly forbids disassembly. They have all nice reasons for this, else someone releases Ghetto Mario mod and denigrates your brand. OP will go to jail for being a criminal vandal.

Name: Anonymous 2011-07-24 17:45

>16
Actually, Sega are bros. See Sonic Retro's work and Sega's treatment of them.

Name: Anonymous 2011-07-24 19:09

Name: Anonymous 2011-07-25 7:48

>>18
>Nintendo
I found your problem. Nintendo are dicks. Sega are bros.

Don't change these.
Name: Email:
Entire Thread Thread List