Parity roadmap (Azahar)

The goal is general parity with Azahar, area by area, on Linux x86-64 and Windows. The software renderer is finished first and a Vulkan one follows. Each phase names the Azahar files it ports or reads. Each ported file keeps its notice, and its origin and revision are recorded under Source provenance and licensing.

PhaseWorkAzahar references
F0 Base (done 2026-10-17)The 3DS driver builds, compiles and runs SuperTux on Windows. The module links by file name in its staging folder (a full-path command line passed Windows' 32767 characters), without ELF's -z options, and exports only its descriptor (COFF has no hidden visibility). The GSP, transfer, PICA, DSP and SuperTux tests run there too. The SuperTux baseline is in its page. GSP shows the left eye of the pair shown_fb selects and takes RGB5A1 and RGBA4 framebuffers. These docs were brought up to datevideo_core/gpu.cpp, service/gsp/gsp_gpu.cpp
F1 Kernel and time (done 2026-10-17, audited 2026-10-19)The scheduler delivers every deadline (vblank, DSP frame, timers, wait timeouts, sleeps, the shared page's hourly time). The dispatcher reaches it every 4096 blocks, so a thread a deadline wakes with a better priority preempts one that makes no SVC. Priorities are effective ones, with mutex priority inheritance. WaitSynchronization1 and N and the arbiter take finite timeouts. SleepThread 0 yields and -1 sleeps forever. ExitThread ends the process at its last thread. Timers and pulse events exist. CreateThread runs threads on processors -2 to 3 within the APPLICATION limit's priority, and the resource limit's counts are enforced. Also implemented: GetHandleInfo, GetSystemInfo (Luma's queries too), GetProcessInfo, GetThreadInfo, GetProcessIdOfThread, the resource limit SVCs, Break, the cache SVCs and Luma's 0x93 and 0x94, QueryMemory with the console's register layout and memory states, CreateMemoryBlock, UnmapMemoryBlock, MapMemoryBlock of the application's own blocks and ControlMemory MAP and UNMAP. Any well-formed IPC descriptor is translated, buffers are checked against the caller's memory and moved handles are closed. --ipc-stubs answers the unknown commands of the services it names. The shared page has its retail, battery, Wi-Fi and hourly local time fields. Guest time stays host time. Subtracting slow HLE work from it waits for the GPU thread (F2), since the audio device plays in host timecore_timing.*, kernel/{svc,thread,timer,mutex,semaphore,address_arbiter,resource_limit,shared_memory,process,shared_page,vm_manager,hle_ipc}.cpp, service/service.cpp, service/gsp/gsp_gpu.cpp
F2 SuperTux playablePresenter without readback or queue waits, on its own thread; both screens and the Default, Single, Large, Side-by-side and Hybrid layouts; keyboard, SDL3 gamepad, touch and motion input; full hid:USER/hid:SPVR rings and ir:rst; GX work on a GPU thread with interrupts delivered by the poll; banded raster threads; audio prebuffer and hold-last-framefrontend/framebuffer_layout.cpp, frontend/emu_window.cpp, service/hid/hid.*, service/ir/ir_rst.*, renderer_software/sw_rasterizer.cpp, audio_core/dsp_interface.cpp
F3 OS for retail titlescfg blocks; APT:U/APT:A and the aptMainLoop lifecycle; shared font; HLE applets (swkbd first); FS save data, extdata, system save data, the NCCH archive and the SDMC write-only archive; ptm:u, ac:u and registered stubs for the small services; err:fservice/{cfg,apt,fs,ptm,ac,err}/, hle/applets/, file_sys/archive_*
F4 Software GPUProcedural textures, VRAM save and restore, the stereo right eyerenderer_software/{sw_proctex,sw_framebuffer,sw_rasterizer}.cpp
F5 Dynamic codeldr:ro CROs compiled ahead of time, with a design for their run-time base and relocations; a log of missed targets for a second discovery pass; an explicit result for self-modifying codeservice/ldr_ro/
F6 AudioThe DSP's AAC pipe on FFmpeg; CSND; time stretching if gaps remainaudio_core/hle/aac_decoder.cpp, audio_core/csnd.cpp, service/csnd/, audio_core/time_stretch.cpp
F7 Peripherals and networky2r, mic, cam (no camera), ir:USER (its startup, events and the no-accessory answers are in place; a Circle Pad Pro is not emulated), soc:U, ac:u and frd:u's game login (Online), then ssl and httpservice/{cam,mic,ir,soc,ssl,http}/, hw/y2r.cpp
F8 LoaderEncrypted content with the user's keys; CCI, CXI, 3DSX and ELF; updates and DLC; a complete module cache keyfile_sys/, loader/
F9 Vulkan rendererA Vulkan device shared with NX; the PICA fragment shader generator on spirv_emit.c; the surface cache with page-level coherence in the memory controller; host vertex and geometry shaders. The software renderer stays as the reference and fallbackrenderer_vulkan/, rasterizer_cache/, shader/generator/
F10 PerformanceShader JIT if profiles call for it; the syscore CPU limiter; GUI settings for layouts and controlsshader/shader_jit_*, core.cpp

F3 and F4 can run in parallel after F2. Every phase is checked by asset-free tests (ctest -R "3ds|ctr") and by a run of the title it affects.

Gaps the F0/F1 audit left to later phases

The audit of 2026-10-19 fixed what F0 and F1 introduced. It also found places where code older than F0 differs from Azahar or from the console. Each belongs to the phase that reworks its area:


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