#133483 - biubid_boy - Fri Jul 06, 2007 12:40 pm
How do I (and more precisely where can I) find the information of a GBA Cart? I would like to be able to read the name, size and save size of a GBA Cart from the ROM.
Thanks guys,
Biubid_boy.
#133485 - tepples - Fri Jul 06, 2007 12:51 pm
Name is in the 192 byte header. However, the name in the cart might not necessarily resemble Super Mario Advance 2 is "SUPER MARIOB".
To find ROM size, you have to check at the power-of-2 boundaries to see where you get the repeating patterns characteristic of open bus instead of data.
To find save size, you have to read the entire ROM, looking for identifying "save strings" in Nintendo's library. These will start with "SRAM", "EEPROM", or "FLASH".
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.