# The oracle ladder Tiers (family method): 1 hardware-captured > 2 manufacturer documents > 3 community documents and tests verified on real hardware > 4 HDL reimplementations > 5 emulators. A low tier is a detector, never a judge. **No tier-1 oracle exists for any SAM chip** in hand: no die analysis, no captures we can use, and no hardware here. ## Per chip: the top tier available | Chip | Top tier in hand | What it decides | What it cannot | | --- | --- | --- | --- | | Z80B | inherited: z80-python's own ladder (ZEXALL, SingleStepTests, Fuse tests via emu-tools-gpl) | instruction behaviour | the SAM's waits | | ASIC video and paging | 2: TECH (ports, modes, paging, interrupts) | register meanings, memory layouts | timing within the frame (U1, U3) | | ASIC contention | 3: SO-M1 (measured on a real SAM: mode 1 blocks, ASIC port alignment) and SO-T's rules | the grid sizes (4/8 T), contended targets, mode 1 columns | the grid's phase to the interrupt, mode 2's slow-down, internal cycles (U1, U2, U6) | | SAA1099 | 2: SAA-DS | registers, rates, envelope shapes, bus | the analogue output, PWM detail, DTACK timing on the SAM | | VL-1772-02 | 2: WD86, WD177X | commands, status bits, step rates, timing | the SAM's wiring (no INTRQ/DRQ on the connector, U12) | | Firmware | the ROM image itself, by SHA-1 | boot behaviour | - | | Detectors (5) | MAME 0.285 binary (run here); SimCoupé (GPL, via emu-tools-gpl if built); SAASound (BSD-3, pinned) | differences to investigate | correctness | | HDL (4) | SAM-Coupe_MiSTer (GPL-2.0, closed box) | - | - | Test programs verified on real hardware: **none found** (searches 2026-11-26: no SAM contention or ASIC test suite published with hardware results; SO-M1's border-bar program is described in prose, not distributed). The board writes its own border-bar test from SO-M1's description as rung R3's program and records SO-M1's published bar positions as the expected results (tier 3 by transfer, labelled so). ## Rungs (the board's exit tests) | Rung | Test | Judge | | --- | --- | --- | | R0 | ROM 3.0 (by SHA-1) boots to the MGT copyright screen; the memory test pages RAM through LMPR as MAME's write log shows (a detector cross-check: same port sequence for the first 0.3 s) | the picture (TECH's screen text); MAME as detector | | R1 | Frame structure: 119,808 T-states, FRAME interrupt every frame, LINE interrupt at the start of the right border of the line before the programmed one; STATUS bits | TECH; MAME as detector for the frame interrupt's line (U3) | | R2 | Paging: LMPR/HMPR/VMPR, ROM0/ROM1/RAM0/WPRAM/MCNTRL, mode 3/4 even-odd wrap | TECH, unit tests per bit | | R3 | Contention: SO-T's rules as unit tests per access kind and region; SO-M1's mode 1 bar positions reproduced by our own border-bar program | SO-M1 (tier 3); SO-T's table as a detector only | | R4 | Video: modes 1-4 pictures from known memory, CLUT, border, SOFF | TECH, UTM; MAME pictures as detectors | | R5 | Disk: a sector image boots SAMDOS through the WD1772 model | WD86; the boot itself | | R6 | SAA1099: register-level unit tests from SAA-DS; envelopes; a tune compared with SAASound and by ear | SAA-DS; SAASound as detector | | R7 | Seeded faults (the family's fault rung): each of 10+ injected faults (contention grid phase, mode 1 columns, LINE off by one, SOFF ignored, side select, CLUT bit order, ...) fails at least one rung | the rungs above | Full sweeps over a library only when the board might be ready (smoke-sweep rule); there is no SAM library on the mirror today (census.md).