FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,348
Country
United Kingdom
The GBA ROM is visible in the GBA's memory from 08000000 through to 09FFFFFF and a few other very rarely used mirrors.
http://problemkaputt.de/gbatek.htm#gbamemorymap

This means anything referencing the ROM (which is most things -- Nintendo picked very fast memory for it so only what absolutely has to copies things to memory) will likely reference that range. As most ROMs are less than 16 megabytes then this means 08?????? where the ?? is the location within the ROM itself (give or take a bit of flipping because endianess), and as most things don't have just one pointer then if you search for 08 and find a whole bunch with 6 bytes between them* on average you likely have found some pointers.

*08 is still a valid thing to have inside a pointer, indeed perhaps more so than some other numbers so don't be too focused on it always being that fixed. There are also occasions where for something like text you might see [pointer] [formatting] [next pointer] [formatting] or some length values to save it having to calculate it rather than back to back pointers.

I do have some examples in https://gbatemp.net/threads/gbatemp-rom-hacking-documentation-project-new-2016-edition-out.73394/ as well.
 
  • Like
Reactions: Nagarjuna

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    AncientBoi @ AncientBoi: Si