# Validation: the oracle ladder per chip, and the board's gate Tiers: 1 hardware-captured, 2 manufacturer documents, 3 hardware-corrected community documents and board traces, 4 HDL reimplementations, 5 emulators. A low tier is a detector, never a judge. **No hardware-tier capture of any Data East 16-bit board's behaviour (a logic-analyser trace, a video or audio capture with timing) is known.** The only tier-1 material is data read from real parts: the PAL fuse maps (MRPAL, and MAME's `plds` dumps), the PROMs and the program dumps in the sets. We have none of this hardware. ## Per chip: the top tier available, and what it can decide | Chip | Top tier | Oracle | Can decide | Cannot decide | | --- | --- | --- | --- | --- | | 68000 | (the core's) | m68000-python's own ladder (SingleStepTests, MAME replays) | the core | the board's wait states (U2) | | HuC6280 | (the core's) | huc6280-python's ladder (no hardware captures exist either) | the core | the on-die timer and PSG on this board's clocks | | 65C02 | 1 (the core's) | w65c02-python's real-chip captures of a Rockwell R65C02 and a G65SC12 | the core per row | which row is fitted (U5) | | i8751 | 2 | MCS51 | the instruction set and timing, once a core exists | the board handshake (U11) | | address decode (dec0) | 1 as data | MRPAL fuse maps and MAME's `plds` (four agree, two differ: C2); JTSLY's written equations (3) | the decode, once the fuse maps are reduced and C2 settled | what lives at each address (that is the chips' behaviour) | | MB8421 | 2 | FSRAM91 | the mailbox flags and BUSY rules | the wiring of INTL/INTR (U10) | | BAC06, MXC06 | 3 for wiring, 5 for behaviour | JTSLY (pins and nets), JTCOP (sizes, line-buffer remark); MAME pictures and traces; JTCOP's FPGA (4) if built in emu-tools-gpl | pin roles, RAM sizes, which ROM feeds which chip | register semantics, tile modes, sprite format and timing: MAME and JTCOP are detectors only (U13) | | priority and colour | 1 as data | the PROMs in the sets (MB7114/7116/7122, `tb-7`) | the mixing, once their address lines are traced (JTSLY's colour sheet) | the palette bit layout (U15) | | DECO 55/52/99, 104/146 | 5 | MAME (traces, pictures, its log lines) | detectors only | everything: no document, no trace of a deco16 board found | | YM2203, YM3812/YM3526 | 2 | YM2203, YLSI87, Y8950 (the future cores' business) | registers and their meaning | the exact arithmetic (no die-level model in a respect-clean source is known here) | | YM2151, MSM6295 | per their cores | ym2151-python (DIE-tagged via IKAOPM), msm6295-python | | | ## The board's gate (defined at milestone 1, before any add-on row) 1. **Lockstep with MAME's 68000 trace**: from reset, every instruction's PC, SR, D0, SP and cycle count equal MAME's for N frames, or a named reason per difference (MAME is the detector; a difference is triaged, not "fixed to MAME"). Recipe: [mame-oracle.md](mame-oracle.md). Use `sp`, not `a7` (the trap there). 2. **Lockstep of the second CPU**: the 65C02 (`baddudes`, `robocop`) or the HuC6280 (`midres`, `robocop` sub) and the i8751 (`baddudes`), each against its MAME trace. 3. **Unit tests of the documented facts**: the decode (once reduced from the fuse maps), the MB8421's flag rules, the frame's dot and line counts as stated by MAME (FITTED until measured). 4. **Pictures**: per-pixel comparison with MAME snapshots at fixed frames, every difference triaged (never a pass mark by itself). 5. **Seeded faults** (the methodology: every gate proves it can fail): one wrong decode line, one MB8421 flag rule inverted, one BAC06 scroll bit, one cycle on a 68000 wait state, each caught. "Matches MAME" is a detector's agreement, recorded as such; "matches the hardware" is not claimed for anything on this board until hardware-tier evidence appears.