# Validation: the oracle ladder and the rungs Tiers (the family's method): 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 (1) oracle exists for the X1 board** in this Phase 0: no captures, no die records, no test ROMs with real-machine results were found. The judges are documents. ## Per chip | Chip | Top tier available | Oracles (tier, licence, pin) | Can decide | Cannot decide | | --- | --- | --- | --- | --- | | Z80 | 1 for the core (z80-python's own ladder) | z80-python's rungs | instruction behaviour | X1 bus timing (no waits documented: U6) | | Z80 CTC/SIO/DMA | 2 | ZPER (Zilog UM0081, facts only, SHA-256 b4efc815...) | programmer's model, daisy chain | X1 wiring beyond SX1's map | | HD46505 | 2 + 3 | HIT87, MC6845 (2); cpc-python's measured type-0 rules via the CRTC Compendium (3, a sibling's sources) | register meanings, type-0 counters | the X1's character clock, the PCG raster timing (U3, U7) | | 8255 | 2 | NEC82 (uPD8255A-5) | modes, bit set/reset | | | 80C49 sub-CPU | 3 | SX1 table 4-1 (a 1987 hardware book, facts only) | the command set, byte counts | response delays (U11, FITTED from MAME as a detector) | | AY-3-8910 | 1 for the core | ay8910-python's ladder | the PSG | the X1's mixing level (U12) | | YM2151 | 1 for the core (ym2151-python's Nuked-OPM referee, closed box) | YM2151 data sheet (2); SX1 ch. 11 (3) | the OPM; the 4 MHz clock (SX1) | | | MB8877A | 2 | FUJ87 4-27, FD179X (2) | commands, status | the X1's INTRQ wiring (U15), real drive timing | | Board (I/O map, IPL switch, video memories) | 3 | SX1 ch. 0 (3); Sharp's user's manuals UM856, UM880 (2, BASIC level) | addresses, bit meanings | undocumented corners | | Whole machine | 5 | MAME 0.285 `x1`, `x1turbo` (closed box: the driver is LGPL-2.1+), X Millennium (closed box, docs/sources.md) | I/O order and values at boot, a picture to compare | timing; anything the sub-CPU's real program does | ## Rungs (exit tests for the milestones in handoff-brief.md) - **R0** IPL boots to "IPL is under preparing" (OBSERVED MAME screen) with the I/O sequence of docs/mame-oracle.md's first 3 ms equal to MAME's (8255 control 82h, the CRTC's R0-R13, 00h to the palette ports 1000h-1200h and to priority 1300h, PSG register 7 = 3Fh through 1C00h/1B00h, the attribute fill of 07h from 2000h on). - **R1** The sub-CPU handshake: the IPL's E4h/00h exchange completes and the IPL proceeds to its disk prompt; every command of table 4-1 exercised by a unit test against SX1's byte counts. - **R2** CRTC and text: the IPL's screen pixel-equal to MAME's snapshot (detector) and to the rules of video.md (judge), 40 and 80 columns. - **R3** Graphics, palette, priority: unit tests of SX1's address formula and palette examples; a BASIC `LINE`/`PAINT` program's picture against MAME. - **R4** CTC: timer and counter modes, interrupts in mode 2 with vectors; the daisy chain with the sub-CPU (needs Z2). - **R5** FDC: a D88 disk boots (a free-to-use title from the smoke list, census.md); FD179X's command table as unit tests. - **R6** PSG and joysticks; the FM board (when ym2151-python exists). - **R7** PCG: the plain X1's raster-timed writes (U7) against MAME as detector, judged by SX1 ch. 2. - **R8** The turbo row: 400-line mode, kanji ROM, 1FD0h, SIO, DMA. - **R9** Seeded faults: break each rung's rule once and see the rung fail.