ARM7 Registers: Difference between revisions

AGB boot notes
Line 38: Line 38:


= Memory map =
= Memory map =
The virtual memory mapping for the ARM7 is the same as for the [[Memory_layout#TWL_FIRM_Userland_Memory|other core]]. However, it has additional internal memory mapped to it. Interestingly enough, this memory all seems to lie within ARM9's own "internal memory."
The virtual memory mapping for the ARM7 is the same as for the [[Memory_layout#TWL_FIRM_Userland_Memory|other core]]. However, it has additional internal memory mapped to it. Interestingly enough, much of this memory seems to lie within ARM9's own "internal memory."
*0x8060000 -> 0x3800000 (ARM7-WRAM (64KB))
*0x08060000 -> 0x03800000, ARM7-WRAM (64KB)
*0x806C000 -> ?
*0x080B0000 -> 0x03000000, GBA on-chip WRAM (32KB)
*0x80C0000 -> ? (0x10018104 is set to 1 before changing memory here, and 0 afterwards)
*0x080C0000 -> ? (0x10018104 is set to 1 before changing memory here, and 0 afterwards, save-related?)
*0x80BFE00 -> 0x3007E00 (CPU internal area, AGB boot code is written here)
*0x01FFC000 -> 0x01000000, ARM9 ITCM (16KB)