0x2d) recognizes the actual named srv: endpoint. Invalid
pointers/names and connection/resource limits return errors, not fake handles.0x32) invokes checked generated dispatch on a session.
GetProcessId (0x35) identifies the real single application's process root;
PID 0x10 is local to that independently owned board/process instance.srv: RegisterClient (1) associates the caller process with that session.
GetServiceHandle (5) returns real FS, APT, PTM, HID, GSP, cfg and DSP sessions.
An absent endpoint with the non-wait flag returns ServiceNotRegistered. A waiting
request blocks its actual thread without a response or session, and the runtime
prints the service's name, since no other process can register it. Peers can
execute. Dynamic service installation is unsupported.fs:USER Initialize (0x801) and InitializeWithSdkVersion (0x861) record
caller/SDK association. OpenArchive (0x80c) accepts an empty path and a
checked size-one static descriptor. Archive 9 (SDMC) binds a read-write host
folder for the title, where CreateFile, DeleteFile, CreateDirectory,
DeleteDirectory, Rename and OpenDirectory work on UTF-16 paths whose static
buffer descriptor (buffer 0, the path's size) is checked. Archive 3 binds the real process RomFS: 32
live typed FS-private tokens, monotonically issued 64-bit IDs, never reused
and never kernel handles. CloseArchive (0x80e) retires that binding;
invalid/stale tokens return 0xc8804465. Existing files outlive archive close.
OpenArchive also opens another title's save data, as Azahar's OtherSaveData
archives do: 0x567890b2 (General) and 0x567890b4 (Permitted), with a 12-byte
binary path. Its media: SDMC is served, a game card answers GamecardNotInserted,
others UnsupportedOpenFlags. Permitted's program ID is high 0x00040000 and low
the unique ID shifted left by 8 in 32 bits; General's are the path's words as
given. The save data is the SD card's title/<high>/<low>/data/00000001 folder,
and NotFormatted when that is missing. This title's own ID opens its own save
data, as archive 4 does. GetFormatInfo reads data/00000001.metadata beside
the folder.
OpenFileDirectly (0x803) supports only archive 3 (SelfNCCH), empty archive
path and the 12-byte all-zero binary RomFS selector, mode read-only and no
attributes. It returns a typed, reference-counted file object, not a fabricated
archive or mount. OpenFile (0x802) accepts a live archive token and the same
read-only binary selector. Missing RomFS returns its genuine NotFound error.
Token exhaustion and file/handle publication failures leave resources unchanged.
ControlArchive (0x80d) GET_TIMESTAMP returns the backing host file's real
modification time, COMMIT_SAVE_DATA on SDMC succeeds since writes have already
reached the host, and other actions stop.0x804), Close (0x808) and Read (0x802) expose a CTR
level-3 view reconstructed over extracted romfs/. common/filesystem/
supplies the same indexed nodes, immutable shared mappings and fallback
opens as NX; CTR metadata and wire framing are separate. No CIA/container is
reopened. Reads are capped at 16 MiB/request, clamp at EOF, preflight the
whole requested writable RAM span and stage all host IO before guest writes.
Malformed descriptors, MMIO and permissions cannot publish partial reads;
host IO failure stops without a reply or guest writes. Duplicates share close
state. On host files (the SD card, save data, ExtSaveData and another title's
save data) Write and SetSize reach the host file, and an ExtSaveData's files
keep their size. Archives the runtime does not serve stop explicitly (parity
roadmap F3).APT:S: GetLockHandle (1), Initialize (2), Enable (3), NotifyToWait
(0x43), ReceiveParameter (0xd), GlanceParameter (0xe), AppletUtility
(0x4b), IsNew3DS (0x102).
One application slot (0x300, attributes 0), persistent recursive mutex,
one-shot notification/parameter events and a real initial pending Wakeup.
Unsupported applet attributes/identities/transitions stop explicitly. Duplicate
initialization returns AlreadyExists and does not replace the slot.0x10) and operation 4 (sleep-if-shell-closed, input 0, open shell only).
A closed-shell sleep request is unsupported. The startup Wakeup is answered from
Initialize on, by GlanceParameter and ReceiveParameter. ReceiveParameter returns
an empty Wakeup with a null object, not a fabricated handle or payload. It
consumes the parameter only after full command, descriptor and destination
preflight. The checked TLS static table at +0x180 must declare the expected
buffer ID/capacity; MMIO is refused.ptm:sysm: model query (0x40a) and ConfigureNew3DSCPU (0x818) for the
existing base configuration 0 only. Boost/L2/other configurations stop.hid:USER: GetIPCHandles (0xa) returns actual system-pool shared memory
and five one-shot events. MapMemoryBlock (0x1f) supports only the fixed HID
read-only page at 0x10000000 (permissions 1/0x10000000). No periodic input
updates/events or writable/general shared-memory mappings are implemented.Serialized kernel support includes CreateThread (8), ExitThread (9),
SleepThread (0xa), Get/SetThreadPriority with effective (inherited)
priorities, ReleaseMutex (0x14), Create/Signal/ClearEvent (0x17/0x18/0x19),
timers (0x1a–0x1d), WaitSynchronization1/N (0x24/0x25) with finite
timeouts, mutex recursion, waiter references and wakeups by effective priority,
then by how long the thread waited. Pending thread CPU/TLS/wait state is preserved
across native dispatch. The dispatcher polls the scheduler every 4096 blocks, so a
thread a deadline wakes with a better priority preempts one that makes no SVC.
Multicore timing is not modeled and no host-thread safety or hardware-complete
scheduler claim is made. With no runnable peers and no deadline a real wait stays
BLOCKED, never a fabricated successful return.
GetSystemTick (0x28) uses a process-owned host monotonic origin and the
268111856 Hz base domain on both models. A read-only shared page at 0x1ff81000
holds the host's local date and time (milliseconds since 1900) and its tick
reference, rewritten every hour into the entry its counter does not select, as
Azahar does. This is host-paced time, not cycle accuracy.
SuperTux reaches and executes main, opens its real reconstructed RomFS,
executes scalar VFP in gettimeofday, answers its archive timestamp request,
and goes on to draw its title screen and play its music.
See the exact witness.
Made from docs/platforms/3ds/ipc.md at 69237645142c. GPL-3.0-or-later.