The memory map

src/nds/board/memory.c owns the flat window the compiled blocks run on, as the GBA's does: each of the console's memories is a host memory object mapped at its address and its mirrors (main memory four times, the shared work RAM and the ITCM through their ranges), and the window's rest is memory of zeros. Three things move while the game runs, and their pages are mapped again where they go:

The mirrors of the palettes, the OAM and the VRAM spaces past each one's first copy are plain memory, not mirrors.

The two TCMs are the processor's own. A DMA channel is on the bus and does not see them: below main memory it writes nothing and reads zeros, and under the DTCM it has main memory (src/nds/board/dma.c).


Made from docs/platforms/nds/README.md at 69237645142c. GPL-3.0-or-later.