# Memory map Source: GBATEK "3DS Memory and I/O Map" (DOC). Physical addresses; the ARM11's MMU maps them elsewhere (user mode: `virt = phys - 10100000h + 1EC00000h` for the I/O, GBATEK). ## ARM11 (physical) | Address | Size | What | New 3DS only | | --- | --- | --- | --- | | 00000000h | 64 KB | ARM11 boot ROM mirror | | | 00010000h | 64 KB | ARM11 boot ROM | | | 10000000h | | I/O (ARM11 reaches 10100000h and up; below triggers data abort) | | | 17E00000h | 8 KB | MPCore private region (SCU, interrupt interfaces, timers, distributor): **the core's** | | | 17E10000h | 4 KB | L2C-310 level 2 cache controller (2 MB) | yes | | 18000000h | 6 MB | VRAM (VRAM_A, VRAM_B, 3 MB each) | | | 1F000000h | 4 MB | extra memory ("QTM"), enabled by CFG11_MPCORE_CNT bit 0 | yes | | 1FF00000h | 256 KB | DSP code memory (shared WRAM) | | | 1FF40000h | 256 KB | DSP data memory (shared WRAM) | | | 1FF80000h | 512 KB | AXI WRAM | | | 20000000h | 128 MB | FCRAM | | | 28000000h | 128 MB | FCRAM extension, unlocked in New 3DS mode | yes | | FFFF0000h | 64 KB | ARM11 boot ROM mirror (high vectors) | | ## ARM9 (physical) | Address | Size | What | | --- | --- | --- | | 00000000h | 32 KB | ITCM, mirrored every 8000h up to 08000000h (also seen at 01FF8000h, used by the kernel and titles, and 07FF8000h, used by the boot ROM) | | 08000000h | 1 MB | ARM9-only internal memory (and ARM7 regions in legacy modes); +512 KB at 08100000h on the New 3DS, enabled by CFG9_EXTMEMCNT9 | | 10000000h | | I/O | | 18000000h | 6 MB | VRAM | | 1FF00000h-1FF7FFFFh | 512 KB | DSP memory | | 1FF80000h | 512 KB | AXI WRAM | | 20000000h | 128 MB | FCRAM (+128 MB New 3DS) | | FFF00000h | 16 KB | DTCM (during the boot ROM) | | FFFF0000h | 64 KB | ARM9 boot ROM | ## I/O ranges (who reaches what) - **10000000h-10018FFFh: ARM9 only**: CONFIG9, IRQ, NDMA, timers, CTRCARD, SDMMC, PXI(9), AES, SHA, RSA, XDMA, SPI_CARD, CONFIG, PRNG, OTP, the "ARM7" (legacy-mode) registers. - **10100000h-1017FFFFh: both**: SD/MMC (alternate), HASH, Y2R_0, CSND, LGYFB_0/1, cameras, Wi-Fi SDIO, L2B and Y2R_1 (New), CONFIG11, SPI buses 0-2, I2C buses 0-2, CODEC, HID, GPIO, MIC, PXI(11), NTRCARD, the NDS Wi-Fi (MP) registers. GBATEK: IRQ and DMA start modes for most of them are implemented on the ARM11 side only. - **10200000h-10400FFFh: ARM11 only**: CDMA, FCRAM control, LCD, DSP (APBP), New 3DS CDMA and MVD, AXI, the ARM11-side FIFOs (10300000h-10332FFFh), the GPU's external (10400000h) and internal (10401000h) registers. Unused 4 KB I/O pages trigger a data abort (GBATEK). That is behaviour: the board answers such accesses with a bus error to the core, not with open-bus values. ## Machine rows | Row | ARM11 CPUs | Clock modes | FCRAM | Extra | | --- | --- | --- | --- | --- | | `o3ds` (3DS, 3DS XL, 2DS) | 2 | 268 MHz | 128 MB | old gyroscope, Circle Pad Pro on IR | | `n3ds` (New 3DS, New 3DS XL, New 2DS XL) | 4 | 268/536/804 MHz, L2C | 256 MB | ARM9 +512 KB, QTM 4 MB, L2B, MVD, second CDMA, new gyroscope, C-stick, ZL/ZR, NFC | A New 3DS running an Old 3DS title starts in CFG11 mode 0 or 1 (GBATEK: mode 0 is "Old3DS Mode, 268MHz (1x), 128MB FCRAM, no L2C cache"); New 3DS titles ask for 804 MHz and the L2 cache in their exheader (census.md counts them). The 2DS's lack of 3D is a host concern.