# Validation: the oracle ladder Tiers (Phase 0 rules): 1 hardware-captured > 2 manufacturer documents > 3 hardware-corrected community documents and tests that pass on real hardware > 4 HDL reimplementations > 5 emulators. A low tier is a **detector**, never a **judge**. **No hardware-tier oracle exists for any part of these boards**: we have none of the hardware, no capture was found, and no FPGA core of these boards was found with a licence we could use (none was looked for in depth: U12). ## Per chip or block | Part | Top tier available | Oracle | Licence / terms | Pin | Decides | Cannot decide | | --- | --- | --- | --- | --- | --- | --- | | TMS34010 | 2 | TI *TMS34010 User's Guide* SPVU001A (1988) | TI copyright, facts only | SHA-256 `e5f9f50c...` (pinned_files.json) | instruction semantics, I/O register bits, SRT/SRE, HOLD, clock division | Midway's wiring; cycle-exact bus timing | | TMS34010 + board | 3- (a maker's diagnostic, verdicts not captured by us) | **`yunittst`**, Midway's Y-Unit Test ROM v1.40; the games' power-on self tests ("CPU BOARD OK") | game ROMs, run in place from `$MAME_ROMPATH` | census.md SHA-1s | that RAM, ROM, DMA ("Harsh DMA Test", "Quick DMA Test"), CMOS and sound-port wiring behave as Midway's own test expects | timing beyond what the test measures; the T-unit (it is a Y-unit ROM) | | DMA blitter | 2 (pins only) + 3- | the T-unit schematic's DMA2 sheet; `yunittst`'s DMA tests | Midway copyright, facts only | the NBA Jam manual's SHA-256 | the register count (4 address lines), the bus request path | register meanings, pixel order, timing (all U) | | DMA blitter | 5 | MAME 0.285 bus taps and pictures (`scripts/mame/tap.lua`, snapshots) | GPL-2.0+ binary, closed box | MAME 0.285 as installed | where we differ from MAME, scene by scene | which of us is right | | Video timing | 2 | User's Guide (registers) + the machine list's dot clock and totals (OBSERVED) + the 8 MHz oscillator (DOC) | | | the frame rate (54.70684 Hz) and the visible window | mid-line effects | | Palette, VRAM | 2 | manuals' parts lists and schematics (colour RAM, VRAM sheets) | facts only | | sizes, the data path | the colour DAC's curve (no measurement) | | Protection (Y, T) | 5 | MAME's responses (OBSERVED) | closed box | | what the games accept | what the real part does | | PIC16C57 (Wolf) | 2 | Microchip PIC16C5X data sheet (1992) | Microchip copyright, facts only | `04af5a8a...` | the core | the Wolf's serial protocol (read from the PIC program itself) | | ADSP-2105 | 2 | ADSP-2100 Family User's Manual, 3rd ed. (1995) | ADI copyright, facts only | `44caea99...` | the core: instructions, timing, boot, SPORT, timer | DCS's board wiring | | ADSP-2105 + DCS | 5 | MAME's `dcs` device (OBSERVED: maps, instruction counts) | closed box | | where we differ | | | 6809E, YM2151, MSM6295 | see their repositories | `../m6809-python`, `../ym2151-python`, `../msm6295-python` validation.md | | | | | | HC-55516 | 2- | Harris HC-55536 data sheet (a relative), 1991 book | Harris copyright, facts only | `2d1d7f78...` | the delta-demodulation scheme of the family | the 55516's own constants (U10) | ## The ladder of milestones (exit tests) Each step names what decides it. "MAME agrees" is never written as "correct". 1. **M1 Y-unit skeleton boots `yunittst`** (the board with the CPU core, RAM, ROM, CMOS, inputs, DMA stubbed busy-then-done): exit: the test's main menu renders through a stub picture, and with "RAM Test" and "ROM Checksums" asserted the run reaches `-- DONE --` with every RAM and ROM green (tms34010-python verified this reachable under MAME). Judge: the maker's test. 2. **M2 Video timing and picture** (the TMS34010's video registers, the display interrupt, screen refresh, the palette, the picture producer): exit: `yunittst`'s screens and `smashtv`'s POST screen equal MAME's snapshots pixel for pixel at the same frame, and the display interrupt's line equals DPYINT. Judge: the User's Guide for the timing; MAME is the detector for the pixels. 3. **M3 DMA** (transaction level, Y-unit registers first): exit: `yunittst`'s "Quick DMA Test" and "Harsh DMA Test" pass; `smashtv`'s and `term2`'s attract scenes equal MAME's pictures; every difference decided by the schematic or the diagnostic and recorded. The per-pixel cost is FITTED and says to what. 4. **M4 Sound: CVSD and ADPCM boards** (after m6809-python, ym2151-python and msm6295-python reach their own milestones): exit: `yunittst`'s sound port test and `smashtv`'s sound test run; the sound command and talkback channel's traffic equals MAME's over a scene; audio compared by ear and spectrum against MAME (sound is "good enough": Aubrey 2026-11-13). 5. **M5 The T-unit row** (memory map, DMA2's 16 registers including scaling and clipping, NBA Jam's protection device): exit: `mk`, `nbajam` reach their attract fights; pictures equal MAME's at chosen frames (snapshot `mk-2700`); the CPU's per-frame instruction counts within a stated tolerance of MAME's while the DMA timing is FITTED. 6. **M6 DCS** (after adsp2100-python): exit: `mk2`'s DCS boots from its ROMs (the boot load's checksum equals the ROM bytes), answers the main CPU's status reads, and its samples match MAME's in a sound-test sequence within a stated error. 7. **M7 Seeded faults**: one-line faults in the DMA, the video timing, the channel code and each sound board, each caught by M1-M6's cases (methodology, "a gate that cannot fail"). 8. **M8 (later) the Wolf row**: the 16-register DMA at `01A00000`, the PIC16C57 through pic16c5x-python running `umk3`'s dump, DCS 8K. Exit: `umk3` and `mk3` attract. 9. **M9 (later) the Z-unit row** (Narc: 512x400, the two-6809 sound board). Python is too slow for long runs (domains.md): M1-M3 use `yunittst` and short attract windows with save points; M5-M6's long comparisons belong to midwayyunit-rust's lockstep.