Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2012-09-03 22:27:05

FroggestSpirit
Member
Registered: 2012-03-12
Post 13/300
Website

Quick disassemble games with an emulator? (concept)

I was thinking about how games are disassembled, and had an idea. I don't know if it would be of help, but what if you take a game, say Pokemon Red (I know it's already being disassembled), and you play through the game in a (special) emulator. This emulator will log 2 files while you play, one for code executed, and one for data loaded (like graphics, music, etc.). These files will be 1/8th the size of the original ROM, and each bit will represent a byte in the ROM. So, if the emulator executes code at address 0x1004, then the 0x200 byte in the code file would have its 4th bit set. I'm not sure if this concept would help, but it (could/should) help separate code from other data, and could be applied to almost any emulator. Another program could be used to compare the 2 files (code and data) to show what's what, and what hasn't been logged yet. I'd like to know what you guys think, and if it would be worth implementing in an emulator.


This isn't easy to say, but…
Music and ASM hacker

Offline

#2 2012-09-04 02:11:05

comet
Member
Registered: 2012-04-09
Post 6/679

Re: Quick disassemble games with an emulator? (concept)

VBA-SDL-H does this minus the address condensing.

Last edited by comet (2012-09-04 02:11:26)

Offline

#3 2012-09-04 02:18:05

FroggestSpirit
Member
Registered: 2012-03-12
Post 14/300
Website

Re: Quick disassemble games with an emulator? (concept)

I looked into that a little, but the download link seems to be down. I tried messing with a few source codes for various GB emulators, like Goomba for GBA, and RIN for PSP, but couldn't get them to compile. I feel it wouldn't be hard to add this feature in though..


This isn't easy to say, but…
Music and ASM hacker

Offline

Board footer

Powered by FluxBB