# The oracle ladder Tiers (the family's): 1 hardware-captured or die-level, 2 manufacturer documents, 3 hardware-corrected community documents and tests with real-machine results, 4 HDL reimplementations, 5 emulators. A low tier is a detector, never a judge. | Chip | Top tier available | Judges | Detectors | | --- | --- | --- | --- | | 7501 core | 1 (via 6502-python: perfect6502 netlist, Harte tests) | 6502-python's suites | MAME instruction stream | | 7501 port | 2 | 7501DS, TSHM 5, SCH | MAME's port writes | | TED video | 2 (+3 for open bus) | TEDDS, TSHM, TEDX; VICE `Plus4/openmem` (photograph of a real Plus/4) | MAME snapshots; FPGATED/plus4emu/YAPE from emu-tools-gpl | | TED clock switch and DMA | 2 | TEDDS sheets 11-12, TSHM 4.5.2 | none useful from MAME (trap 2); plus4emu if built | | TED sound | 2 (registers only) | TEDDS | good-enough rule; detectors | | TED timers | 2 | TEDDS | MAME | | 6529, 6551, 6525 | 2 | MOS82, ACIA, TPI GIFs | MAME | | PLA | 1 (its fuse map is the logic) | the dumped 82S100 image (player-supplied, SHA-1) | | | Open bus / unconnected I/O | 3 | VICE `Plus4/openbus`, `openio` | | | 1551 | 2 | schematics, TPI sheet, the DOS ROM's own behaviour | MAME `-exp c1551` | | 1541 | as c1541-python's ladder (c64-python drive-1541.md) | | | **No hardware-tier oracle exists for TED, the clock switch or the 7501 port** in anything found tonight. The board's claims on those will be "matches the data sheet, the hardware manual and the real-machine test results", never more. ## Rungs (proposed; exits in handoff-brief.md) - L0: unit tests of documented facts (TED register bits, the clock windows, the DMA sequence lengths, the bank decode, the port pin mask), each citing its sheet. - L1: boot lockstep against MAME by **instruction stream and register-write order** (801,584 instructions over the first 3 s), not by cycle count. - L2: the READY screen at a fixed instruction count equal to MAME's in colour indices. - L3: VICE `Plus4/` tests with hardware readmes pass; the rest triaged. - L4: timing tests: a programme that counts cycles per raster line in each region (display, border, retrace) must match the arithmetic of ted.md from the data sheet; when a real-machine measurement turns up (plus4world or a GPL tool's documented results), it replaces the arithmetic as the judge. - Seeded faults (the family rule): e.g. a double-clock window one character late, the DMA three-cycle warning dropped, the port's DDR/data swapped; each must fail a rung.