# Validation: the oracle ladder **Hardware-tier evidence exists for one thing, the video timing** (two real-board captures and one OSSC readout, [timing.md](timing.md)). Everything else rests on SNK's schematics (tier 2) and detectors. | Subsystem | Top tier in hand | Judge | Detectors | Cannot decide | | --- | --- | --- | --- | --- | | line and frame timing, dot clock | **1** | CAP-IK3, CAP-POW (MEASURED); OSSC-PI for prehisle | MAME (5) | sync and blank positions until decoded (U5) | | 68000 behaviour | m68000-python's ladder | | | | | decode, waits (DTACK), interrupts | 2 | SCH-A7007 sheet 2, the PAL dumps (data) | MAME (5), va7deo (4) | the length of a DTACK wait without a capture (U1) | | sprites, text, palette | 2 | SCH-A7007 sheets 3-8 | MAME (5), va7deo (4) | Prehistoric Isle (no schematic) | | rotary | 2 | SCH-A7007 sheet 9 | MAME (5) | C1/C2's contents (U4) | | YM3812 | 2 (DS3812, AM3812); 1 for the ROM tables (OPLx read-out) | Yamaha | jtopl (4), ymfm (5), MAME (5) | envelope edge timing | | uPD7759 | 2 for pins, modes, timing (DS7759, DS775X) | NEC | MAME (5), jt7759 (4) | the ADPCM decoder's tables: no tier 1-3 source (system16-python U11) | ## What ran in this phase - `fetch_references.py --verify`: 19 of 19 ok. - `sync_capture.py`: both captures decoded (15,625 Hz, 264 lines, 59.1856 Hz; 6.000 MHz). - `census.py`: 22 of 22 sets complete. - MAME: five map dumps, one 2-frame 68000 trace, one 20-second snapshot. ## The gate (later) - 68000 and Z80 per-instruction lockstep against MAME for the boot (detector), differences read against SCH-A7007. - **Timing rung against the measured captures**: the board's HBL, VBL and SYNC edges, in dots and lines, equal to CAP-IK3's (a real hardware judge, rare in the family). - Per-access bus log (68000 cycles including DTACK waits) equal between tiers. - Attract-mode frame hashes. - Seeded faults: a DTACK wait dropped on sprite RAM; VBL raised one line late; the sound NMI not fired on the command write; the uPD7759's BUSY stuck high; the rotary value off by one; the text layer under the sprites; frame length 263 lines; the palette RAM's write ignored on the upper byte.