# Validation: the oracle ladder Tiers: 1 hardware-captured > 2 manufacturer documents > 3 hardware-corrected community documents and tests verified on real units > 4 HDL reimplementations > 5 emulators. A low tier is a **detector**, never a **judge**. "Matches MAME" is never a hardware claim. ## Per subsystem: the best judge available | Subsystem | Best judge (tier) | What it decides | Detectors | What nothing decides | | --- | --- | --- | --- | --- | | Z80 | z80-python's own ladder (z80test and ZEXALL on real Zilog silicon: tier 1) | the CPU | | the Astrocade's WAIT placement (U17, decision 3) | | Memory map, ports | SYS, SVC (2) | ranges, port functions, magic-write target | MAME (5) | magic writes beyond 4 KB on a home unit (U1), `OUT` to 0B/18 outside `OTIR` (U2) | | Magic system | SYS + P503/P172 (2) | every function and their order | BLIT (3), MAME (5) | consumer-mode rotate (U4), shift across line ends (U5) | | Video timing | SYS 131-134 (2) | 455 7M a line, the Phi stall, line counts | MAME (5), MiSTer core (4) | progressive or interlaced (C2) | | Colours | none at tier 1-3 for the palette | | MAME's palette (5) | the RGB of each of 256 values (U3) | | Interrupts | SYS 92-93 (2) | vector rules, priority, modes | MAME (5) | exact cycle of the screen interrupt within the line (U16) | | I/O chip sound | SYS 103-104, 119-120 (2) | the formulas and register map | MAME's `sound/astrocde.cpp` (5) | noise (U8), vibrato rate (U9), DAC (U10) | | Inputs | SYS 101, 117 (2) | ports, keypad ghosting | MAME (5) | pot conversion timing (U7) | | BIOS | the BIOS itself: it is a program; running it to its menu is the test | that the board is complete enough for it | MAME reaches the menu (mame-oracle.md) | | **Plainly: no hardware-tier oracle exists for any custom chip.** No test ROM whose results were checked on a real Astrocade was found (the survey's search, 2026-11-26). The board is judged by the documents and by real programs running at all; pictures and sound are compared with MAME and every difference triaged. ## What ran in this phase | Run | Result | | --- | --- | | `fetch_references.py`, then `--verify` | 9 of 9 pinned files present and matching | | `census.py nointro` | 77 zips; 63 of 75 cartridges matched to MAME's list; no BASIC | | `census.py bios` | 3 of 3 known BIOS images held | | `census.py arcade` | 14 of 14 arcade sets present | | `mame_trace.py --frames 3`, `--snap 8`, `--driver gorf --frames 2` | see mame-oracle.md | ## Seeded faults (for the board's gate later) Each lockstep or picture comparison must catch one-line faults. Candidates particular to this board: the expand flip-flop not reset by a port-0C write; flop applied before shift; the intercept bits cleared by a write instead of a read; registers 0-3 used left of the boundary; a light-pen vector with its low nibble kept; the WAIT charged on I/O cycles; high-byte decoding of port 18 reversed (first byte to port 10).