# Validation: the oracle ladder for the Vectrex board Tiers (the family's method): **1** hardware-captured (real chip or console measurements, die-level simulation) > **2** manufacturer documents > **3** hardware-corrected community documents and tests that pass on real hardware > **4** HDL reimplementations > **5** emulators. A low tier is a **detector**: it finds differences, it does not decide them. **Plainly: no tier-1 oracle exists for any part of this board that we hold.** There is no die-level 6522, no published Vectrex measurement of the analog path, and the family has no Vectrex. The highest judges are the manufacturers' data sheets and service documents (tier 2) and the hardware-referenced VICE VIA tests and a handful of measurements by owners (tier 3). Everything about the beam's timing is settled by **choice of a named model**, not by a judge. Fetch everything with `python3 -I scripts/fetch_references.py` (or `--verify`): files by SHA-256 in `scripts/pinned_files.json`, repositories by commit in `scripts/pinned_repos.json`. `reference/` is git-ignored. ## By subject ### CPU (68A09) - owned by `m6809-python` Its own ladder ([handoff-brief.md](handoff-brief.md) "What the board needs from m6809-python"). This board adds one detector the core can use: the MAME Vectrex boot trace (851,253 instructions in 2 emulated seconds with only VIA I/O, [mame-oracle.md](mame-oracle.md)). ### The 6522 VIA Full table in [via.md](via.md). Judges: the Rockwell R6522, MOS MCS6522 (1977) and Synertek SY6522 data sheets (tier 2; the Synertek scan has no text layer). Tier 3: VICE's `via_pb7`, `via_sr`, `viavarious` (expected values captured on VIC-20s), pinned at `e7aa2aa`. Detectors: MAME `6522via.cpp`, VICE (GPL-2.0+; read in Phase 0 to leave PB7 output unimplemented: HYPOTHESIS; https://github.com/VICE-Team/svn-mirror @ `fb8cfd7`, not fetched since 2026-11-24), the MiSTer core's VIA (tier 4; https://github.com/MiSTer-devel/Vectrex_MiSTer @ `33a8299`, not fetched since 2026-11-24), the VIA code of vecx, Vide (closed boxes) and Vectrexy (MIT). ### Board wiring, decode, the analog component values | Oracle | Tier | Licence | Pin | Decides | Cannot decide | | --- | --- | --- | --- | --- | --- | | HP3000 Service Manual (35 pages, OCR layer) | 2 | GCE/MB document; circulated under the FAQ's reported permission | SHA-256 in `pinned_files.json` | the architecture, the analog path's intent, the parts list, adjustment and test procedures, the B796 checksum | timing; it says "1.6 MHz" (C1) and calls the VIA a "PIA" | | GCE Troubleshooting Guide | 2 | same | pinned | fault symptoms (fetched, not read: U17) | | | KiCad redraw of the logic board, Rev 3GE (2022) | 3 | CC BY-SA 4.0 | pinned | pin-level wiring and component values (read at 300 dpi) | whether every value matches every board revision | | ScopeTrex (Schlaepfer): a working hardware clone of the logic board | 3 | CC BY-SA 4.0 | `eccd738` | a second reading of the values, by someone who built one | the original's behaviour where the clone substitutes parts (not compared: U17) | | Keith Wilkins, *Programming Notes* (INTERNAL.TXT, 1993) | 3 | no licence | Vide pin | the decode, R and C of the integrators | the DAC swing (he assumes +/-5 V: C3) | | Johannsen's Vectrex Academy Lab pages | 3 | no licence | pinned | ROM revisions and patches; deflection-protect behaviour from experiments | numbers ("vaguely suggest") | ### The Executive | Oracle | Tier | Decides | | --- | --- | --- | | The ROM itself (B796, 7931) | 2 (it is the manufacturer's program) | everything it does: the board runs it | | Tomlin's disassembly `bios.lst` with cycle counts | 3 | names, intent, expected cycle counts per instruction | | The factory Test Cartridge Rev 4 (in the library) + Toal's disassembly + Johannsen's analysis | 2 for the program, 3 for the analyses | the manual's adjustment and test screens (checksum display, DAC zero, integrator offset, linearity, beam cut-off, sound test) | ### Sound `ay8910-python` brings its own oracles (die-model judge; see that repository's `docs/validation.md`). For the board: the schematic and manual for the DAC voice (tier 2-3), MAME's register-write stream (tier 5). ### Controllers, light pen, 3D Imager Schematic (wiring), the Executive (protocol), Ethridge's one measured goggle pulse train and the light pen FAQ (tier 3, no method stated), MAME (tier 5, "Guessed parameters" for the wheel). ### The analog stage and the picture | Oracle | Tier | Licence | Pin | What it can do | | --- | --- | --- | --- | --- | | MAME 0.285 `vectrex_v.cpp` | 5 | BSD-3-Clause | `f379cd0` | the `mame` preset; snapshots; a uniform 12.75-cycle delay | | Vide (Malban) | 5 (its constants are tuned on hardware by its author, by repute; no method published) | none stated (vecx-derived, GPL-3.0) | https://github.com/malbanGit/Vide @ `ea901d8`; only its documents fetched since 2026-11-24 | the `vide` preset: per-signal delays, drift, efficiency (values read from its source in Phase 0: HYPOTHESIS, for review) | | Vectrexy | 5 | MIT | `b78d7d3` | the `vectrexy` preset; an independent (non-vecx) VIA and screen model | | vecx / libretro-vecx / VecXGL | 5 | GPL-3.0 / GPL-3.0 / none stated | https://github.com/jhawthorn/vecx @ `9b2894c`, https://github.com/libretro/libretro-vecx @ `dccff54`, https://github.com/james7780/VecXGL @ `2a527d2`; none fetched since 2026-11-24 | the `ideal` preset (no delays) | | Vectrexia | 5 | GPL-2.0 | https://github.com/beardypig/vectrexia-emulator @ `b4ec3c9`, not fetched since 2026-11-24 | an independent emulator written alongside blog posts (not read: U17) | | MiSTer core (Dar, Sorgelig, Videodr0me 2026-10) | 4 | per file (GPL-2.0-or-later on the analog front end; `vectrex.vhd` "Educational use only") | `33a8299` | a fifth delay set with RAMP on/off asymmetry, saturating integrators, zero-reference acquisition | | An oscilloscope on a real console | 1 | | **none in hand** | would settle U1-U6 | ### Named but not fetched - Joe Britt's "rev C" Executive source (`www.playvectrex.com/designit/joebritt/exec_rom_revc.pdf`) and John Hall's "RUM" listing (`roadsidethoughts.com/vectrex/the-rum.htm`): neither is a shipped ROM ([executive.md](executive.md)); GCE's programmer's manuals. - Malban's site (`vectrex.malban.de`: TLS refused, 2026-11-11), Videodr0me's notes for the MiSTer rebuild (`buymeacoffee.com/videodr0me/vectrex`). - ParaJVE (closed-source freeware: not fetched, not run); the JSVecx forks (DrSnuggles `2e6dace`, raz0red `86c0552`): vecx derivatives, nothing new for the analog model. - Vide's `cartridges/_7adb.bin` (the rev C ROM): a ROM, so bring-your-own. - A die-level 6522 netlist: none found (two searches, 2026-11-11). ## The ladder the board climbs | Rung | Gate | Judge | Detector | | --- | --- | --- | --- | | V0 | VIA unit tests transcribed from the R6522 data sheet's timing diagrams and the VICE tests' reference values | data sheets (2), VICE references (3) | MAME `6522via.cpp`, Vide, Vectrexy | | V1 | Executive boot, L0 + L1 lockstep: the instruction stream and the VIA access stream equal MAME's cycle for cycle, 2 s then 60 s | the ROM (2) + data sheets for any VIA disagreement | MAME `error.log`, `via.log` | | V2 | L2 pin streams and L3 analog inputs for the boot, self-consistent (every pin change explained by a register access or a timer) | data sheets | - | | V3 | L4 segments under the `mame` preset against MAME's picture of the boot screen, Berzerk's title and Clean Sweep's maze (MAME's own named test case); then under `vide` against Vide by eye | none (model choice) | MAME snapshot, Vide | | V4 | PSG register-write stream and DAC-voice stream equal MAME's | `ay8910-python`'s own judge for the PSG; schematic for the DAC voice | MAME `via.log` | | V5 | joystick and buttons: `Joy_Analog` returns the host's pot values exactly; FIRQ on SW3 and CA1 on SW7 behave as wired | schematic + Executive | MAME | | V6 | cartridges: the 47 images boot to their title (L1 lockstep against MAME for 2 s each where MAME loads them; Mine Storm image boots Mine Storm), AnimAction's RAM, banking by a homebrew image | the programs | MAME, Vide | | V7 | light pen and 3D Imager: Art Master draws, Narrow Escape locks to the wheel | the programs' reactions | MAME | | V8 | Test Cartridge Rev 4: every screen appears and the checksum reads B796 (and 7931 under that ROM) | the manufacturer's program (2) | - | What a passing ladder means: the digital side is exactly what MAME does wherever MAME agrees with the data sheets, and the analog side reproduces each detector's picture under that detector's named model. It does **not** mean the beam is where a real Vectrex puts it.