# Validation: the oracle ladder Tiers (family method): **1** hardware-captured or die-level, **2** manufacturer documents, **3** community documents and tests that pass on hardware, **4** HDL reimplementations, **5** emulators. A low tier is a detector, never a judge. We own no CPS-1 hardware: no probes, no captures of our own. **Plainly**: no runnable hardware-tier referee exists today. The best sources are a gate-level hand trace of the two custom chips (read as documents; not simulated by us), the PAL fuse maps in the ROM sets (exact, now decodable), Capcom's schematics (scans) and a handful of scope measurements made on real boards by the jtcps author. Everything about whole-game behaviour is judged by agreement of detectors plus the games' own self-tests. ## The oracles | Oracle | Tier | Pin | Licence | Validated against | Can decide | Cannot decide | | --- | --- | --- | --- | --- | --- | --- | | **Loïc Petit, `cps2-reverse`**: DL-0311 (CPS-A-01) and DL-0921 (CPS-B-21) traced cell by cell from die photographs (Ricoh A5C standard cells): KiCad sheets (DL-0311: 87 files, about 2,540 placed symbols; DL-0921: 71 files, about 2,200), a cell "zoo" of 62 documented cells, prose docs | 1 by origin; a hand trace ("there may be issues") | gitlab `cbd37b38` | CC-BY 4.0 (README) | the author: "most operations were understood by simulating the bus operations using the schematics and net list"; decaps by John McMaster and Eduardo Cruz | register semantics, address layouts, bus-request schedule, palette copy, key layout, raster counters' existence, layer assembly | anything marked unfinished: sprite frame-buffer timing ("VERY work-in-progress"), raster counter details ("more work must be done"); the DL-0411 variants (not traced); nothing off-chip | | **A gate-level simulation of those sheets** (to build) | would be 1 (a simulated netlist of the real die, like Visual2C02 for the NES) | same | same | | cycle-exact CPS-A/CPS-B behaviour, including the open timing questions | only as good as the trace; KiCad is not installed here; the legacy `.sch` text is parseable, the cells' behaviour must be modelled from the zoo docs. **Not tried in this phase**: open decision 6 | | **PAL fuse maps in the MAME ROM sets** (A-, B-, C-, D-board; 279-byte GAL16V8 images) | 1 for logic (MAME: mostly "logically equivalent replacements") | by set SHA-1 (`mame -verifyroms` OK for all 168 local sets) | n/a (dumps) | decoded here: PRG1 and IOA1 match MAME's quoted equations; ten 89624B-3 mapper PALs reproduce MAME's ranges exactly ([gfx-mapping.md](gfx-mapping.md)) | address decode, wait-state decode, graphics bank mapping and out-of-range masking per set | pin wiring (needs the schematic per B-board type); timing | | **Capcom schematics**: A-board long and short revisions (9 and 12 pages), one B-board (89624B-3, 6 pages); scans, no text layer | 2 | in `jwestfall69/mad` `e1bf4829`, `machine/cps1/docs` | Capcom's; leaked scans (cite, do not redistribute) | | wiring: PAL pin-outs (the 1A PAL read here), clocks, connectors, which chip drives what | the C-board and the QSound D-board (no schematic found); chip internals | | **jtcps board measurements** (`doc/DMA.md`, `doc/measurements/*.png` scope captures, `colour_dac.md`) | 1 (measurements on real boards) reported in tier-3 notes | `jotego/jtcps` `7d43855e` | GPL-3.0 (cite, never copy) | a real SF2 board with a scope/logic analyser | palette DMA 780.4 us; per-line DMA header times; the loop-count of a timing test (`2C00`); DAC resistor values | the test ROM used for the loop count was not found in the pinned trees (U22) | | **jtcps1 / jtcps15 HDL** (MiSTer cores) | 4 | https://github.com/jotego/jtcores @ `ea0ef4e9`, not fetched (Aubrey, 2026-11-24: closed box only) | GPL-3.0 | per-game configuration generated from MAME; video simulations fed by MAME memory dumps (README "Simulation"); timing calibrated to the PCB loop count | a second implementation of wait states and DMA timing | anything that came from MAME (the CPS-B table, mappers); not independent there | | **Eduardo Cruz (ArcadeHacker)**: CPS-B-21 key programmer and 13 keys; Kabuki key programmer; blog parts 1-3 | 3 (written into real chips; games verified running) | https://github.com/ArcadeHacker/ArcadeHacker_CPS1 @ `6c506ff3` (not fetched since 2026-11-24: unlicensed code), `ArcadeHacker_Kabuki` `53ccf922` (its two PDFs only) | **no licence stated** (cite only) | real boards | every B-21 battery row's register offsets and layer selects ([cps-b.md](cps-b.md)) | the CHECK data (keys are synthesised: "You can't read them from outside, only write") | | **MAD diagnostic ROM** (CPS-1 main and sound builds for six CPS-B variants) | 3 | `jwestfall69/mad` `e1bf4829` | Unlicense (public domain) | the author tests on hardware (README, "burn to an EPROM for testing on hardware"); which CPS-1 builds ran on real boards is not stated | RAM/ROM tests, register writes that a working board accepts | its CPS-B include files mirror MAME's table (not independent) | | **The games themselves**: their boot ID checks, service-mode RAM/ROM/input tests, attract modes | 2 in effect (Capcom's program for the real chips) | the ROM sets | bring-your-own | ran on the real board | that the board passes what Capcom's own tests check (ID offsets and values, RAM sizes, inputs) | timing beyond what a test measures | | **Sanglard, *The Book of CP-System*** and the `ccps` SDK | 3 | `fabiensanglard/cpsb` `a01f77fc`, `ccps` `244be32b` | MIT | the author's reading of MAME and the die work | narrative cross-checks (the 256-tile limit) | nothing new at hardware level | | **furrtek SiliconRE** | not a source | not pinned | GPL-2.0, with the author's objection to AI use | | nothing: Aubrey decided on 2026-11-12 to respect the author's wish, so it is not fetched, read or used (it held only a CPS-A die photo and pre-CPS chips; no fact here came from it) | | | **MAME 0.285** (`cps1.cpp`, `cps1_v.cpp`, `kabuki.cpp`, `qsound.cpp`) | 5 | `mamedev/mame` `f379cd06` | BSD-3-Clause per file (cite, never copy) | community board tests quoted in comments ("verified on pcb", Magic Sword tests) | detector for everything; the headless trace recipe ([mame-oracle.md](mame-oracle.md)) | wait states, bus requests, per-line rendering (Q1-Q4, Q9) | | **FinalBurn Neo** | 5 | https://github.com/finalburnneo/FBNeo @ `c3e8c4df`, not fetched (Aubrey, 2026-11-24); a shipped build may be run | FBNeo non-commercial: closed box only | | a second detector (its CPS code descends from the same community work) | | Sources found and not fetched (no pins): Eduardo Cruz's blog parts 1-2 and the CPS-2 silicon article; Loïc Petit's PDF exports and his rasteriser snippet; undamned's InfiniKey-CPS1; the arcade-projects announcement (HTTP 403). ## How the board is judged, per subsystem | Subsystem | Judge | Detectors | | --- | --- | --- | | 68000 core | `m68000-python`'s own certification (pinned) | | | Address decode, wait-state decode, graphics bank mapping | the fuse maps (tier 1) with the schematic's pin wiring (tier 2) | MAME's maps and tables | | CPS-A/CPS-B logic | the die documents (tier 1, read); later the gate-level simulation if built (open decision 6) | MAME, jtcps1 | | CPS-B variant data | Cruz keys + die layout for B-21 rows; the games' own ID checks for DL-0411 rows | MAME's table | | Bus timing (Q1, Q2) | jtcps's board measurements (tier 1 numbers) | jtcps1 (tier 4) | | Sprites/frame buffer timing (Q3, Q4) | die documents where finished; otherwise **provisional, tier 5** | MAME | | Sound chips | the sibling cores' own certifications | MAME | | QSound | `dsp16-python` running `dl-1425.bin` (the program is Capcom's: the reference) | MAME's LLE (`vgmplay` only) and HLE | | Whole games | agreement of the board with MAME at the 16-bit palette word per pixel, frame by frame, with every difference explained by a Q-entry or opened as a finding; games' service-mode tests pass | MAME, FBNeo | Pictures are compared as **palette indices / 16-bit palette words, never RGB** (the DAC curve is U9).