# Documents Read in this order. | Document | What it holds | | --- | --- | | [start-here.md](start-here.md) | The machines as data (CPU/PPU revisions, 1CHIP, PAL); clocks; the 6/8/12 cycle table; the A-bus map and open bus; the CPU registers the board owns (mul/div, timer, WRIO, DMA, MEMSEL); WRAM/WMADD; controllers; the PPU's model, access rules, two open-bus latches and output format; the APU split (S-SMP `smp` module on spc700-python, the in-board `dsp` module); the IPL ROM; the module shape | | [timing.md](timing.md) | The bus-callback design with address-dependent cycle length and the read sampling point; DMA inside the callback; the line, dots, short/long lines; refresh; DMA and HDMA cycle costs; NMI and IRQ timing; mul/div steps; auto-joypad; interlace; the two clock domains and port synchronisation; coprocessor clocks | | [cartridge.md](cartridge.md) | The connector and the proposed protocol; LoROM/HiROM/ExHiROM; header detection; coverage measured over the local No-Intro set and MAME's list; the coprocessors in recommended order, which are cores; Super Game Boy; MSU-1; saves; BYOR | | [undocumented-behavior.md](undocumented-behavior.md) | Quirks Q1-Q22 with their judges, revision fields, contradictions C1-C7, open items U1-U8 | | [validation.md](validation.md) | Every oracle by tier with pins and provenance; what ran here (MAME 0.285 and Mesen2 on gilyon, krom and undisbeliever, and the two detectors against each other); what is not available; local romsets | | [mame-oracle.md](mame-oracle.md) | The verified MAME 0.285 recipe for `snes`, its output format, eight traps, measured runs, and what MAME does not model | | [handoff-brief.md](handoff-brief.md) | The task for the session that builds the board: decisions by Aubrey, proposed decisions, the embedding contracts for 65816-python, spc700-python and the `dsp` module, eight milestones with acceptance tests, constraints, open decisions with recommendations | | [probe-pack.md](probe-pack.md) | The console probe pack for Aubrey's Super Famicom + EverDrive X5: our four probes (revision, open bus U2, H/V latch U5, SMP clock U8) with MAME and Mesen2 results, the self-checks, the MOST WANTED detector disagreements, how results come back | | [dsp/](dsp/README.md) | The in-board S-DSP module: registers, BRR, envelopes, echo, the 32-step schedule, quirks, the interface, its oracles and brief (folded in from the staging repo on 2026-10-21) | ## Findings made while gathering (2026-10-21) 1. **No SNES chip has a die-level model or a published capture corpus.** The strongest judges are console-run self-checking ROMs (gilyon, krom) and probe ROMs with console results in forum threads (undisbeliever, blargg); most verdicts this board can reach are tier 2, and it says so. 2. **MAME 0.285 is a sound instruction-stream detector**: its 5A22 and S-SMP pass gilyon's 649 CPU and 557 SPC700 tests, and its `totalcycles` is in master clocks with the 6/8/12 table applied; but it has no refresh pause, no 1360-clock short line (mean frame 357,368 clocks), uncharged DMA, instant mul/div, and division by zero leaves remainder `$000C` (fullsnes: the dividend). 3. **MAME's debugger evaluates a trace action with the visible CPU's symbols** whatever CPU is traced, so a per-instruction S-SMP register log via `logerror` silently records the 5A22's registers; the plain trace file is used instead. 4. **famicom-python's Mesen2 build runs SNES ROMs headless** (no BIOS) at ~200 frames/s, and its frames sit 7 rows below MAME's. 5. **MAME and Mesen2 agree on 11 of undisbeliever's 29 glitch probes and disagree on 18** (HDMA to INIDISP, HDMAEN latch timing, brightness), each a place a console result must decide. 6. **95.3 % of the 3,322 licensed No-Intro images have no coprocessor**; SA-1 (1.5 %), DSP-n (1.1 %) and Super FX (1.0 %) lead the rest; MAME's software list agrees (lorom 73 %, hirom 21 %). 7. **anomie (and ares, ISC) put two 6-clock dots at 323 and 327; the SNESdev wiki says four 5-clock dots** (C1). 8. **The SA-1 is 65816-python's second consumer** and needs nothing the S-CPU does not; the SGB makes gameboy-python a sub-board of this one.