Skip to content

RIP-304: Retro Console Mining via Pico Serial Bridge #488

@Scottcjn

Description

@Scottcjn

Summary

RIP-304 formalizes retro game console participation in RustChain's Proof of Antiquity consensus. A Raspberry Pi Pico microcontroller serves as a serial-to-controller bridge, enabling consoles from 1983 onward (NES, SNES, N64, Genesis, Game Boy, Saturn, PS1) to attest hardware identity and earn RTC rewards.

This is the first blockchain to mine on vintage game console silicon.

Supported Consoles

Console CPU Year Multiplier Controller Protocol
NES/Famicom Ricoh 2A03 (6502) 1983 2.8x Serial shift register
SNES/Super Famicom Ricoh 5A22 (65C816) 1990 2.7x Serial
Game Boy Sharp LR35902 (Z80) 1989 2.6x Serial link cable
Sega Master System Zilog Z80 1986 2.6x Parallel
Sega Genesis Motorola 68000 1988 2.5x Parallel
Nintendo 64 NEC VR4300 (MIPS R4300i) 1996 2.5x Joybus (4 Mbit/s)
Sega Saturn Hitachi SH-2 (dual) 1994 2.6x SMPC protocol
PlayStation 1 MIPS R3000A 1994 2.8x SPI
Game Boy Advance ARM7TDMI 2001 2.3x Serial link cable

Architecture

Console (runs attestation ROM)
  │ Controller port data lines
  ▼
Raspberry Pi Pico (RP2040)
  │ PIO state machine captures timing at 125MHz
  │ Measures: controller port jitter, ROM execution timing, bus noise
  ▼
RustChain Miner Client (PC/SBC)
  │ Builds attestation JSON with bridge_type: "pico_serial"
  ▼
RustChain Node
  │ Validates console-specific fingerprint checks
  │ Assigns to "retro_console" fleet bucket (RIP-201)
  │ Distributes rewards by antiquity multiplier

Proof of Concept

Legend of Elya — a 4-layer nano-GPT running on the N64's MIPS R4300i at 1-3 tok/s.
This proves arbitrary computation (including attestation hash functions) can execute on real console silicon.
See: sophiaeagent-beep/n64llm-legend-of-Elya

Implementation Status

  • RIP-304 spec document (rips/docs/RIP-0304-retro-console-mining.md)
  • Console CPU aliases in ANTIQUITY_MULTIPLIERS (15 entries)
  • retro_console fleet bucket in RIP-201 fleet immune system
  • console family in server HARDWARE_WEIGHTS
  • Pico bridge detection in validate_fingerprint_data() (accepts ctrl_port_timing instead of clock_drift)
  • Pico bridge firmware (separate repo/effort)
  • Console-specific attestation ROMs (NES, SNES, Genesis)
  • wRTC bridge for console rewards

Security

  • Anti-emulation: Emulators have zero jitter on controller polling; real consoles have measurable drift (CV > 0.0001)
  • Nonce-based challenge-response: Console ROM computes SHA-256 of nonce, Pico captures timing
  • RP2040 unique board ID: Prevents Pico cloning
  • Fleet bucket limits: Console farm of 100 NES units shares the same retro_console bucket pot (RIP-201)

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions