This is intended to be a quick and dirty overview about how stuff is laid out in memory in BN.
All I/O on the GBA is done via a big-ass memory map that goes from address 0x00000000
to 0x0fffffff
(roughly). For our intents and purposes, we only really need to care about two regions:
[0x02000000, 0x04000000)
: WRAM: This is where the working memory of the GBA is resident. In BN, starting at0x02000000
, this is actually a copy of the save data (SRAM) after it has been decoded.- This is further split into EWRAM at
[0x02000000, 0x03000000)
and IWRAM at[0x03000000, 0x04000000)
, but we don't have to care too much about this.