Read today the Segas phantasy star collection for the gba is emulated on the gba, in other words the game rom contains a fully working gba megadrive/genesis emulator. As, as far as i know md emulation is struggling to say the least, why dosnt some clever bod get in there and seperate the emulator from the game code a release it? NB. I pretty much have no idea when it comes to this sort of thing but i thought it was of some intrest. Care to comment?
I think maybe they meant all of the code was converted from the MegaDrive to the GBA, which would mean it's still in an AGB rom format. If it's not, you'll need to know certain data registry in the GBA or MegaDrive code before attempting to separate data using a hex editor or similar. This is from my knowledge though, and I may be wrong. I thought MegaDrive/Genesis emulation was doing good? :shrug:
Think about it, a 16MHz RISC emulating a 7MHz CISC and a 4MHz CISC? No way, and that's not even taking into account the display and sound. Also what about the resolution? That's all you need to see to know it's not an emulator. PocketNES already pulls off the impossible, Sega clearly isn't god.
There is a computer science article somewhere on the net where the developers describe in some detail how they automatically converted the ROMs into GBA executables. It isn't emulation, but instead it was done using static translation of machine code.
Static recompilation is what you want to look at. Google brings up all kinds of good links, sorry i don't have time to find something pertaining to gba/md.
Ah, static recompilation... If indeed they managed that, it'd still only be suitable for game logic, definately not the engines nor data. Also forgot to mention that it's suitable for one processor at a time. They probably just disassembled the original game, translated that into C and went rewriting from there (which in the end is no different than a logically accurate port.)
This Slashdot article links to it: http://developers.slashdot.org/developers/03/09/25/1232214.shtml?tid=126&tid=127&tid=156&tid=186