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.
| Phase | Work | Azahar 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 date | video_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 time | core_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 playable | Presenter 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-frame | frontend/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 titles | cfg 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:f | service/{cfg,apt,fs,ptm,ac,err}/, hle/applets/, file_sys/archive_* |
| F4 Software GPU | Procedural textures, VRAM save and restore, the stereo right eye | renderer_software/{sw_proctex,sw_framebuffer,sw_rasterizer}.cpp |
| F5 Dynamic code | ldr: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 code | service/ldr_ro/ |
| F6 Audio | The DSP's AAC pipe on FFmpeg; CSND; time stretching if gaps remain | audio_core/hle/aac_decoder.cpp, audio_core/csnd.cpp, service/csnd/, audio_core/time_stretch.cpp |
| F7 Peripherals and network | y2r, 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 http | service/{cam,mic,ir,soc,ssl,http}/, hw/y2r.cpp |
| F8 Loader | Encrypted content with the user's keys; CCI, CXI, 3DSX and ELF; updates and DLC; a complete module cache key | file_sys/, loader/ |
| F9 Vulkan renderer | A 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 fallback | renderer_vulkan/, rasterizer_cache/, shader/generator/ |
| F10 Performance | Shader JIT if profiles call for it; the syscore CPU limiter; GUI settings for layouts and controls | shader/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.
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:
0xE0E02BF5). DSP's
FlushDataCache and InvalidateDCache have the same limits.0xC8402BF0). ReleaseRight from a session that does not hold it fails, where
Azahar succeeds. The flags check of AcquireRight is invented, and granting the
right does not clear the holder's FrameBufferUpdate flags.relay_flags and frame_seq are written and never read.frame_pixel.semaphore_mask is
kept but never read, SNX_CTR_DSP_RAM is both a macro and an enumerator, and
ReadPipe (0x0e) and Flush/Invalidate with a real process handle are untested.native/'s in an
elevated run (to be checked).Made from docs/platforms/3ds/README.md at 69237645142c. GPL-3.0-or-later.