# Documents Read in this order. | Document | What it holds | | --- | --- | | [start-here.md](start-here.md) | The uPD7725 and uPD96050 as a core author needs them: registers of both chips, flags, SR, the four instruction formats, the order inside one instruction, the host port as the SNES wires it, reset and interrupt, the three program image formats, the boundary, a proposed contract | | [timing.md](timing.md) | One instruction per clock; the cartridge oscillators by source; the ratios to the master clock; inside an instruction; the host port's timing; reset and interrupt timing; the field tables; what each program uses; the MAME runs | | [undocumented-behavior.md](undocumented-behavior.md) | U1-U21 quirks and C1-C16 contradictions, and what the build session's replays measured, each with its tier and, where it exists, the shipped programs' evidence | | [validation.md](validation.md) | Every oracle by tier with pins, what does not exist, the rung plan, what no judge decides, the minimal harness | | [mame-oracle.md](mame-oracle.md) | The verified MAME 0.285 recipe for DSP traces and disassembly, its traps, what MAME does differently, the replay design | | [claims.md](claims.md) | What the core claims and how strongly: Strong, Provisional, Contested (default and switch), Undecidable, Outside the contract | | [handoff-brief.md](handoff-brief.md) | The task for the build session: the boundary, the contract, the layout, the rung ladder, tooling, and **Open decisions for Aubrey** | ## Findings made while gathering (2026-11-05) 1. **No per-instruction corpus, test ROM, hardware capture or die model exists** for either chip (searched). NEC's 1997 data sheet and its 1992 data-book edition document the uPD7725 completely; **NEC never documented the uPD96050** (byuu 2012), so its additions are research and emulator tier. 2. **The programs test themselves**: DSP-1/1B/3/4 and ST011 have built-in memory-test, ROM-dump and version commands, a board-free judge written for real chips (rung 2). 3. **MAME traces the DSP headless**: one line per instruction plus every host access stamped in DSP cycles, after four traps (integer `-seconds_to_run`, no FIFO for `error.log`, a bad symbol silently killing a watchpoint action, `noloop` not collapsing `JRQM $`). 30 frames of the Pilotwings demo execute 71 % of the DSP-1 program. 4. **ares and MAME are one lineage** (byuu's core, also bsnes's): their agreement counts once. They split on the carry of ADC/SBB (C1): ares fixed it, and Mesen2 (independent; read under the old rule, a closed box since 2026-11-19) agrees with ares. 5. **The shipped programs settle two contradictions as far as programs can**: the ST011's jump tables need SO stored unreversed (MAME reverses it, C4); the DSP-4 writes an ALU op whose only surviving effect is its carry, against the 1992 data sheet's "the ALU operation becomes a NOP" (C3). 6. **The programs use the data sheet's "prohibited" combinations** (P = RAM with @MEM in all seven, @KLM from L in the DSP-1): the core must define them (U13, C14, C15). 7. **The 1997 data sheet sets RP = 3FFh at reset**, as fullsnes says; no emulator does (C6). The stack is 4 levels (ares, MAME: 16; C5). 8. **F1 ROC (USA) has no DSP**; the ST010 game is Exhaust Heat II. The ST010 game talks to the chip almost only through its data RAM.