# Validation: the oracle ladder and the rungs Tiers (family method): 1 hardware-captured (real-machine measurements, die-level records) > 2 manufacturer documents > 3 hardware-corrected community documents and tests verified on real machines > 4 HDL reimplementations > 5 emulators. A low tier is a detector, never a judge. We have no CPC hardware, so no new captures; real-machine evidence comes from others' published captures. ## The ladder per chip | Chip | Top tier available | Judges (tier) | Detectors | Notes | | --- | --- | --- | --- | --- | | Z80A under the Gate Array's /WAIT | 3 | ACCC ch. 26 instruction durations and 4.4.3 I/O timing, measured on real CPCs (3); SOFT 968 ap12 A (2) for the rule | z80-python's access table (from SingleStepTests: 5), MAME (5, timing unusable) | the core itself is judged by its own ladder (z80-python) | | Gate Array 40010 | **1 (die, logical)** | Gerald 40010 (1, logic only); SHAKER photos (1, once pinned); ACCC ch. 9, 27 (3); ap12 E (2) | Amstrad_MiSTer GA40010 and AMSGateArray Verilog (4, closed box), MAME (5) | the only CPC chip with a die-level record | | Gate Array 40007/40008 | 3 | ACCC ch. 9 (3) | - | differs from the 40010 by a 1/16-µs phase (ACCC 9) | | CRTC types 0, 1, 2 | **1 (real-machine photos)** | SHAKER photos per type (1, once pinned); ACCC ch. 4, 10-21, 28 (3); data sheets (2, nominal) | Amspirit (5, "SHAKER approved"), WinAPE/ACE-DL (5) | no die record for any 6845 | | CRTC types 3, 4 (ASICs) | 1 (photos) | SHAKER photos (1); ACCC (3); Arnold V (2, type 3's design) | as above | no die record | | 8255 PPI | 2 | data sheet (2); ap12 F (2); ACCC 29.1 (3, the CPC parts' and the Plus's quirks) | MAME (5) | standard part | | AY-3-8912 | 1 (die model, in ay8910-python) | ay8910-python's own ladder | - | nothing CPC-specific beyond the 1 MHz clock and wiring (2) | | uPD765A + drives | 2 | data sheet (2); ap12 I and KT `fdc` (2, 3: wiring) | MAME (5) | protections need tests from real discs (none on hand as flux, 2 IPF) | | Plus ASIC 40489 | 2 (design spec) + 1 (photos for CRTC 3) | Arnold V (2), ACCC CRTC 3 (3), SHAKER on a Plus (1) | MAME `cpc6128p` (5) | later row | **Say plainly:** there is no die-level record for any CRTC type, for the 40007/40008, for the 40226 or the 40489; there is no hardware capture of bus timing beyond what ACCC and SHAKER measured; nobody in the family has a CPC. ## The rungs (exit tests; the handoff brief's milestones refer to them) - **R0 Boot.** The 464, 664 and 6128 boot to "Ready" from their ROMs (SHA-1s in firmware.md); the I/O sequence of the first 3 emulated seconds equals MAME's (mame-oracle.md) in order and values (timing excluded). Detector only, but a cheap one. - **R1 Frame and interrupts.** 312 lines x 64 µs per frame with the firmware's CRTC table; six interrupts per frame, the first two HSYNCs after VSYNC starts (ap12 A); the 52-line counter's rules (ACCC 27.1-27.3) as unit cases, including the bit-5 clear on acknowledge and RMR bit 4 (C2, C3 to settle from the die sheet first). - **R2 Z80 alignment.** For every instruction in z80-python's table, aligned start, the length in µs equals ACCC ch. 26 (both shapes of conditional instructions); ACCC 4.4.4's diagram A sequence gives 11, 12, 5, 4 T-states; IM 1 acknowledge 5 µs, IM 2 7 µs (ACCC 27.4-27.5); ACCC 4.4.3's I/O microsecond per instruction and CRTC type. - **R3 Gate Array picture.** Mode 0-3 pixel decode (ap12 B, ACCC 9.1), palette and border, mode change at HSYNC, the mode-2 1/16-µs advance per part (ACCC 9.1), palette-write timing per instruction (ACCC 9.2.2). Judge: ACCC diagrams; Gerald 40010 for the 40010's mechanism. - **R4 CRTC type 0.** The firmware's frame, then ACCC's type-0 rules (R9, R5, R4, R0 counting, VSYNC length, skew, read registers), then SHAKER's modules on type 0 against the type-0 photos (once U7 is settled; until then against ACCC's described results). - **R5 CRTC types 1 and 2.** As R4 for each type; the identification tests (ACCC 28) must report the right type. - **R6 PPI, AY, keyboard, tape.** Port semantics (data sheet), the AY driven through port C (the MAME sequence as a smoke case), the keyboard matrix through AY register 14, tape loading from CDT at real speed through PB7 (a CDT from the collections on hand). - **R7 6128 memory and ROMs.** Bank codes 0-7 (ap12 E), upper ROM select, ROMDIS/RAMDIS socket, writes through ROM. - **R8 Disc.** AMSDOS boots a DSK from the collections on hand (CAT, RUN"); extended-DSK protections in a smoke group drawn from those images. - **R9 Seeded faults.** One-line faults in the WAIT rule, the interrupt counter, a CRTC counter rule per type, the PPI's latch clearing, the bank table: each caught by a rung. - **Later rows:** R10 cost-down (type 4, 40226), R11 Plus/GX4000 (ASIC 40489, Arnold V, type 3), each with SHAKER on that machine. Smoke before full sweep: the collections on hand (census.md) give a smoke group of about 50 titles; there is no library for a full sweep.