# 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" or "matches Clock Signal" is never a hardware claim. ## Per subsystem: the best judge available | Subsystem | Best judge (tier) | What it decides | Detectors (tier 5) | What nothing in hand decides | | --- | --- | --- | --- | --- | | 6502 (II, II+, IIe) | 6502-python's own ladder: Dormann and Clark self-checking programs; the documents; SingleStepTests as a detector | the CPU | MAME, Clock Signal | the undocumented-opcode constants of Apple's NMOS parts (U5) | | 65C02 (IIe enh., IIc) | w65c02-python's captured G65SC12 and R65C02 lockstep (1) | the `G65SC02` row | MAME `apple2ee` (already replayed there) | early WDC parts' `$CB`/`$DB` (its U8) | | Clock, long cycle, 65 x 262 | UA2 ch. 3 (3), PAT-VIDEO (2) | the timing structure | MAME's cycle counter ([mame-oracle.md](mame-oracle.md)) | the 14M position of the stretch inside the cycle, as the board needs it for Q3 (U9) | | Soft switches, language card, auxiliary memory | UA2 ch. 5, UA2E ch. 5 (3); A2RM, A2ETRM (2); **a2audit** (3, MIT, self-checking) | which access flips what; the PRE-WRITE count | MAME, Clock Signal | bits 0-6 of IIe status reads (U7); the IIe RESET state of the language card (U6) | | Video timing and modes | UA2 ch. 3, 5, 8; UA2E ch. 3, 8 (3); PAT-VIDEO (2) | addresses, the mode-switch delay, revisions | MAME and Clock Signal pictures | colour as a TV shows it (a host decoder, not a hardware claim) | | Floating bus | UA2 pp. 5-3, 5-27 (3); a2audit's `floatbus` program and vapor-lock software (3: written on and for real machines) | that an undriven read returns the scanner's byte | MAME's `apple2p` reads ($C0EC with no disk returns $80 there: not a floating-bus value, a detector oddity to note) | the IIe's exact undriven-bit sources (U7) | | Disk II controller | PAT-DISK (2); UA2 ch. 9 (3); WOZ notes (3) | switches, sequencer structure and clock, the write interval, the motor delay | MAME `a2diskiing` (5), Clock Signal (5) | the 13-sector card's P6 (U8), quarter-track stepping details (U10), drive speed variation (U11) | | Disk images | **real software booting**: WOZ images imaged from original disks by Applesauce (3); the protection corpus | that a protected disk loads | MAME, Clock Signal | | | Mockingboard | mb-audit (3, run on real cards); 6522 and AY data sheets (2); ay8910-python's ladder | VIA and PSG behaviour, IRQ, speech detection | MAME | the card's exact wiring of VIA pins to PSG lines, until its manual is read (U12) | | Keyboard, game port, speaker | UA2 ch. 7 (3); A2RM (2) | addresses, the 558's 22 µs per kilohm | | the paddles' resistance (a host setting) | **Plainly: no tier-1 (hardware-captured) oracle exists for any Apple II subsystem except the 65C02 core's captures**, and no die-level model of the IOU, MMU or the Disk II was found. Hardware truth comes from Sather's measured descriptions, Apple's documents, Wozniak's patents, the WOZ author's drive analysis and self-checking test programs; MAME and Clock Signal find differences and decide nothing. ## What ran in this phase | Run | Result | | --- | --- | | `scripts/fetch_references.py`, then `--verify` | 10 of 10 pinned files and 2 of 2 repositories present and matching | | `scripts/census.py firmware` | 104 files in 26 MAME sets, all present; every Apple core file in the frontend BIOS pack equals MAME's by SHA-1 ([census.md](census.md)) | | `scripts/census.py disks` | 14,805 rows in five collections, 0 errors; 168 `.woz` names, 164 real WOZ files ([census.md](census.md)) | | `scripts/mame_trace.py apple2p --frames 180 --snap` | the II+ Autostart screen "APPLE ][" with the drive searching (a 560 x 192 PNG) | | `scripts/mame_trace.py apple2p --frames 60 --trace --bus --range C000-C0FF` | 403,852 instructions; CPU cycle 1,021,798 at frame 60 (17,030 a frame); 294 I/O reads: 192 of $C030 (the boot beep), the stepper phases $C0E0-$C0E7 (11-12 each), $C0EA, $C0EE | | `scripts/mame_trace.py apple2p --frames 300 --bus` | 307,297 I/O reads, 306,932 of them $C0EC (the boot PROM's read loop), all $80 but one $00, with no disk | | `scripts/mame_trace.py apple2p --frames 120 --trace --bus --range C0E0-C0EF --flop1 ` | 783,811 instructions; 35,789 reads of $C0EC, 9,647 with bit 7 set; the first address prologue D5 AA 96 in the stream | | `scripts/mame_trace.py apple2ee --frames 900 --snap --flop1 ` | Akalabeth's title text after 15 emulated seconds: MAME reads a WOZ inside a zip in place | ## Seeded faults (for the board's gate later) Every family gate proves it can fail. Candidates particular to this board: the long cycle at the wrong horizontal count; the scanner fetch after the CPU's write in a cycle instead of before; the language card counting writes as PRE-WRITE reads; an even controller address not returning the data register; the sequencer clocked while no drive is enabled; the motor-off delay missing; the MC3470 window using bit 0 instead of bit 1; the mode-switch delay of three RAS' edges set to two; the hi-res delay bit on a Revision 0 row; the 65C02 row's dummy read landing where the NMOS one does.