Building a wireless network adapter for the Super Nintendo boland.dev · 8 points...
HN Best 200 @best
Building a wireless network adapter for the Super Nintendo boland.dev · 8 points · 1 comments · HN thread
TL;DR Boland describes a homebrew wireless network adapter for the Super Nintendo that plugs into controller port 2 and uses a Raspberry Pi Pico 2 W prototype, later a custom PCB pairing an RP2350A with an ESP32-C3 for Wi-Fi. It supports WebDAV save sync with RetroArch and an experimental LLM-generated NPC dialogue patch for A Link to the Past. The PCBs have arrived and work, and enclosures were on order at the time of writing.
- The SNES has no network port, so the adapter bit-bangs a serial protocol over controller port 2, reaching about 30 KB/s; a Lua virtual adapter and the Mesen emulator were used for protocol development.
- The prototype runs on a Pico 2 W, with one core handling the console link and the other the Wi-Fi link.
- Save sync patches ROMs to inject code into the reset vector, syncing battery-backed SRAM to a WebDAV server at the RetroArch path; conflicting changes are moved to a conflicts folder rather than overwritten.
- Saves are split into checksummed chunks so only changed data is sent, making sync delay imperceptible apart from a 1-2 s load screen on first pull.
- For AI dialogue, the game's text renderer is hooked and game state is sent via a local proxy to Claude Opus 5.5; responses are speculatively generated and cached as Link approaches NPCs to hide latency.
- The custom PCB uses a PIO state machine to filter glitches under 100 ns and an LM66200 ideal diode to combine USB and console power; the boards arrived with A4 silicon and work.
Discussion Only one comment is shown, and it is a short technical question rather than a discussion. Its tone is curious and mildly positive, praising the LLM-generated NPC dialogue while asking why the design needs both a Raspberry Pi Pico and an ESP32.
- Why use both a Pico and an ESP32? (most): The single commenter questions the architecture, asking why the ESP32 alone could not handle the controller-port link as well as Wi-Fi. The article's answer is that the RP2350A's PIO and dual cores handle the 5V serial timing, while the ESP32-C3 handles TCP/TLS, which the commenter did not address.
- LLM-generated NPC dialogue is impressive (a few): The commenter finds the patched-in LLM NPC comments the cool part of the project.