Layers

LayerCodeDocuments
Loaderthe card image, its header, the ARM9 program and the overlays decompressed (src/nds/cartridge/)The compiled module
CPUthe ARM9's ARM and Thumb code compiled ahead of time through the block compiler (src/nds/aot/, src/common/cpu/arm/), and the blocks the offline pass missed at run time (src/nds/cpu/)The compiled module
Kernel and HLEthe BIOS calls as board routines (src/nds/bios/), the ARM7's services (src/nds/hle/), the board's memory, registers, DMA, timers and card (src/nds/board/)The ARM7's services, The HLE BIOS, The memory map
GPUthe geometry engine (src/nds/gpu/gpu3d.c), and on Vulkan the 3D engine's picture, the 2D engines' frame and the window (src/nds/gpu/vk/)The display on the GPU
Audiothe sound driver (src/nds/hle/sound.c) and the sound hardware's channels (src/nds/audio/)Sound
Inputthe keys, the gamepads, the on-screen controls and the pen from the window (src/nds/runtime/host.c)Playing
Platformthe run (src/nds/runtime/), and the host layer that every driver shares (src/common/platform/)Build

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