src/nds/hle/pxi.c is the ARM7's side of the FIFO, ported from melonDS's high-level ARM7. A word the game sends
names a service in its low five bits, and each service answers with a word of its own:
| Service | Answered with |
|---|---|
| The handshake over IPCSYNC | each count with the next, as the two sides start |
| Firmware | a flash image the board makes, with the user's settings and the three Wi-Fi connections in it: reads, the write-enable latch and writes, kept for the run. The first connection is set to the WFC service nds_wfc names (WFC) |
| Clock | the host's local date and time |
| Touch screen | the pen from the window, a sample at a time or by the line, at the place in main memory the SDK reads |
| Sound | Sound |
| Power | the power chip's registers, which light nothing |
| Microphone | done, with no samples |
| Save memory | the save's file: reads, writes and verifies of the block the request names |
| Wireless | no answer, as with the radio off |
The keys the ARM9 has no register for (X, Y and the hinge) are kept where the ARM7 keeps them in main memory, a line at a time.
A DS game goes online through the firmware's Wi-Fi connections: the first one that works, and the DNS server it names.
The original WFC service is closed; the community's replacements each run a DNS server that answers the service's
names (nas.nintendowifi.net, conntest.nintendowifi.net, the GameSpy names) with their own servers, and a player
sets that server in the connection by hand. The board's firmware has its first connection set that way: the network
ScarletNX, open, its address from DHCP, both DNS servers the service's that nds_wfc picks (Settings),
from src/common/online's list, or with auto the one whose server answers first
as the game starts; off, the default, leaves the three connections unset. The
run's log names the server. A game's Wi-Fi settings show the connection; the game cannot connect through it, as the
wireless service has no answer yet.
Made from docs/platforms/nds/README.md at 69237645142c. GPL-3.0-or-later.