# Validation: the oracle ladder and the rungs Tiers: 1 hardware-captured or die-level; 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 the PC-8801 board** in this Phase 0 (no captures, no real-machine test results found). The sound chips are the exception: the die-derived YM2203-LLE and YM2608-LLE are closed-box judges in the GPL tool repositories. ## Per chip | Chip | Top tier | Oracles (tier, licence, pin) | Can decide | Cannot decide | | --- | --- | --- | --- | --- | | Z80 x 2 | 1 for the core | z80-python's rungs | instructions | the PC-88's waits and DMA stalls (U7, U8) | | uPD70008C-8 | 2 (that it is Z80-compatible: FHPG) | none at tier 1 | | any difference from the Z80 (U3) | | uPD3301 | 2 by proxy only | I8275 (Intel 8275 sheet, HYPOTHESIS as a proxy); KAISEKI's list of the ROM's settings (3) | structure | the uPD3301's bits (U6) | | uPD8257 | 2 | NEC82 p. 665 | modes, autoload, TC | burst timing on this board (U7) | | i8214 | 3 | YK-IO (levels, E4h, E6h) | levels, masks | pending-request corners (U11) | | 8255 x 2 | 2 | NEC82 p. 657 | mode 0, bit set/reset | | | uPD765A | 2 | NEC82 p. 459, UPD765, UPD765AN | commands, status, phases | drive timing | | YM2203 / YM2608 | **1 (die-derived, closed box)** | YM2203-LLE (GPL-2.0+, emu-tools-gpl) and YM2608-LLE (GPL-2.0-only, emu-tools-gpl2) as judges and instruments; YM2203, OPNAM, OPNA, OPNA-J (2); ymfm (BSD-3, 5) as comparator | the chips' outputs | | | SSG | 1 for the core | ay8910-python's ladder | the PSG | | | uPD1990A, 8251 | 2 | NEC82 (8251); no uPD1990A sheet pinned (U14) | | | | Board (I/O map, banking, disk protocol) | 3 | YK pages (a transcription of NEC's mkIIMR User's Guide and books), FHPG, MAPG (2, BASIC level), KAISEKI (3) | addresses, bits, protocols | undocumented corners | | Whole machine | 5 | MAME 0.285 (closed box by the brief), QUASI88 and M88 (closed boxes, sources.md) | boot I/O order, pictures | timing | ## Rungs - **R0** mkII SR reset to the disk start-up prompt "How many files(0-15)?" with MAME's main-CPU I/O order for the first 40 ms (DIP reads, 53h, palette, 71h, E6h, 30h/31h/40h, the uPD3301/8257 set-up with its exact bytes) (mame-oracle.md). - **R1** The disk unit: its Z80 runs the disk ROM; the 8255 link passes the first command and reply in both directions with YK-DISK's handshakes; the unit's `SPECIFY` matches MAME's. - **R2** Text: the prompt's picture equal to MAME's snapshot (detector) and to the uPD3301 rules as far as known (U6); attributes. - **R3** Graphics: independent and extended GVRAM access, ALU and multiplexer as unit tests from YK-IO; palette digital and analogue. - **R4** Interrupts: VRTC, the 600 Hz timer, sound on level 4, E4h/E6h semantics. - **R5** Disk: a D88 2D image boots through the real disk ROM (a free title from the smoke list, census.md). - **R6** OPN (after decision 2's core exists): register traffic of a booting game replayed into the core and YM2203-LLE, compared; SSG and joystick. - **R7** The text DMA's CPU cost (U7) fitted against MAME as detector and tagged FITTED. - **R8** FH row (8 MHz, OPN, 6Eh/6Fh); **R9** MA row (OPNA with rhythm ROM, expansion RAM, dictionary ROM); **R10** seeded faults.