# Validation: the oracle ladder for CPS-3 Tiers, as everywhere in the family: **1** hardware-captured > **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 a difference, it does not decide who is right. We have no CPS-3 hardware, so no console probes; every hardware-tier fact is someone else's published measurement. **Summary.** One hardware-tier source exists, and it is narrow: Dunkley and XeD's measurements of one physical board running instrumented 3rd Strike (October 2026). It judges CPU-side costs, bus costs per device, the interrupt rules and a few functional facts (8-bit score-screen RAM, a hang on unpopulated reads). It says nothing about pixels, sound, the video ASICs' registers, the SCSI path or Capcom's decrypting CPU. For everything a picture or a sample depends on, the only register-level description is MAME's driver (tier 5), followed by FinalBurn Neo (a port of it) and two FPGA cores (tier 4, one derived from MAME). **For video and sound there is no judge**: milestones there close as "agrees with MAME, provisional, tier 5", with every difference named. ## The hardware tier: Dunkley and XeD (DP, DN) **What it is.** J.R. Dunkley, board research by XeD, "Cache, Bus, Interrupt Order and Slowdown on a CPS3", 16 October 2026, 43 pages, Zenodo record 23435894, CC-BY-4.0 (DP), with a companion archive of every recovered value, the model outputs and the scripts; and the 4-page extract "SH7604 cache purge ordering and write-buffer behaviour, measured on a CPS3 board", 19 October 2026, Zenodo 23477988 (DN). Pinned by SHA-256 in `scripts/pinned_files.json`, the same pins sh2-python uses. Read in full for this document (2026-11-12). **What was measured, and on what** (DP sections 1.1, 2.4, 4, 15): - **One** CPS-3 main board (95682A-series; XeD's), with a **Darksoft kit** (the kit's BIOS programs the SIMMs from an SD card and keeps the region in work RAM at `0207F000`). - A security cartridge carrying a **stock Hitachi SH7604-family CPU**, not Capcom's encrypting DL-3229: the code ran plain. Every CPU-side figure is therefore Hitachi's part; whether Capcom's part adds fetch time for decryption is explicitly not measured. - The program was **not the original game** but instrumented builds of `sfiii3nr1` (Japan 990512, NO CD rev 1): a private code block in `06700000-0670FFFF` (zero in the original), eleven hook words, private RAM `0207A800-0207EFFF`. The unmodified program was never recorded. - Results came back as **pixels**: rows of hex with CRC-16 and Reed-Solomon parity, photographed or filmed off the screen and decoded. P2's 16,128-byte capture carries a CRC-32 (`881D2B40`) that equals the value the board printed: that capture is the board's memory bit for bit. - Builds: D1-D4 (freeze diagnostics), **P1** (40 timed loops at boot; a 700-frame ring of per-frame timestamps over the first attract fight, 685 rows recovered; running counters), **P2** (80 per-frame records in five windows; then a laboratory of 226 experiments, of which tests 0-186 ran and test 187 faulted: the timer-semantics tests, the 28 DMA brackets and the free-running VBlank series **never ran**). - Timing is in FRT ticks (clock/8 = 8 CPU clocks) read by the CPU itself; no external instrument except a phone video's timestamps for the absolute clock. **What it can decide** (each with its evidence class in DP: *board* = recovered from the screen; *infer* = a conclusion from premises): | Fact | Class | How firm | Milestone it judges | | --- | --- | --- | --- | | Effective CPU clocks per access for each device, width and direction (DP tables 3, 6; 40 P1 loops, 185 P2 loops, raw integers in the companion) | board | stable to < 1% between two sessions; the decomposition into wait states is the "reading that fits", not measured | M11 | | BIOS bus is 8 bits wide (112 clocks per line, 29 per long read) | board + infer | 8-bit fits B22/B23 within 2%; 16-bit misses by a factor of two | M11; also the core's `area0_width` | | Cache: 64 sets × 4 ways, LRU, two-way mode, 36-clock conflicts; write buffer; load-use; multiply issue vs result; FRT register access 12 clocks | board | CPU-side: Hitachi's part | sh2-python (rungs 4-5), not this board | | CCR purge ordered behind a pending cache-through store (eight values, DN) | board (values), infer (rule) | the rule fits all eight; the confirming test was the one that faulted | sh2-python | | **IRQ10 is raised once per completed DMA and never otherwise** (685 P1 frames: 483 with a character batch had exactly one, 200 without had none; P2 agrees) | board | the cleanest board-level rule in the paper | M5, M11 | | IRQ10 service delay falls in two bands, 151-166 and 217-231 ticks after VBlank end; the stale-compare marker splits them exactly (65.5 ticks = the FRT handler at priority 15) | board | depends on the game's own handler code | M11 | | FRT compare period OCRA + 1 | manual + infer | the direct timer tests did not run | sh2-python rung 5 | | CPU clocks per display frame 419,512 ± 40 | infer from board data | an estimator calibrated on the authors' own emulator; assumes OCRA + 1 (3 ticks lower with OCRA) | M11 (a property of one cartridge in one board, not a constant) | | CPU clock 25.0046 MHz ± 165 ppm; refresh 59.604 ± 0.011 Hz | board + infer | phone clock uncalibrated; draw cost modelled | start-here clocks | | Character DMA delivers at least 8.5 decompressed bytes/µs | board (lower bound) | no rate; the DMA brackets never ran | M5 (a bound, not a judge of timing) | | Sprite-list latch costs under one tick | board | | M8 | | Score-screen RAM is 8 bits wide: only odd bytes exist; tile bit 8 is in the attribute byte | board + rom | confirmed by a repair that fixed a real failure | M4 | | A read past the 512 KiB of work RAM hangs the board with no interrupt served | board (the hang), infer (WAIT never released) | established by elimination and by the repair | M11 (low priority, U29) | | Hardware read through the cached alias can return stale data | board | | M11 | | The VBlank handler's order of work in 3rd Strike, the scheduler never suspends | rom + board | | M13 | **What it cannot decide:** - **Anything a pixel or a sample depends on.** No PPU register, sprite, tilemap, zoom, palette, fade, decompression format or sound behaviour was measured. The paper's display-pipeline section (DP 11) is an inference from someone else's camera measurement; its own next-measurements list says a display-layer test "settles Table 14" (DP 14, item 6), i.e. it is not settled ([video.md](video.md), C1). - **Capcom's custom CPU**: decryption, its latency, the dead-cart behaviour, the key store. The measured cartridge had a stock CPU. - **Other games, other boards, other cartridges.** One board, one program. Main-board costs should carry over; the CPU-to-display ratio is one cartridge's crystal against one board's. - **The unmodified game's trajectory.** The per-frame comparisons (first live frame 4618, the one overrun at frame 4678, 684 of 685 random-number witnesses) are of the **probe image**, which is not distributed ("can be rebuilt byte for byte from the probe sources and a separately owned copy of the program"; the sources are not in the archive). We cannot run it, so those records are not a judge for us. - **DMA transfer time, timer edge cases, the frame ratio measured directly**: those tests never ran. - **The slowdown census** (one lost live frame in 90,183; five at every KO): the authors' model's prediction, not a board recording. **What we can run against it.** The companion's `board/p2/probe_build_info.json` gives each of P2's 226 tests as assembler text (`body`, prologue, epilogue, CCR mode, iteration count, load address) and `board/p2/` the recovered ticks for every sample; `benchmark_contracts.json` gives P1's 40 loops with the board's ticks and their access counts. sh2-python already rebuilds the CPU-side loops at its rung 4 on a "CPS3-like" harness. For this board the useful ones are the loops that touch CPS-3 devices (P1 B14-B23, B35-B36: score-screen, colour, sprite, character window, ports, BIOS): on the board with its bus model they must reproduce the board's totals (M11 exit test). The companion's `scripts/verify.py` was not run (rules: fetched code is not executed); its numbers are in `numbers/` as JSON. **The model in the paper is not a judge.** DP's "board-cost model 20261017" is FinalBurn Neo plus a fitted timing shadow, closed source here (hashes only); it is fitted to the same board's loops. ## Tier 2: manufacturer documents | Source | Pin, licence | Decides | Does not decide | | --- | --- | --- | --- | | Hitachi SH7604 hardware manual (ADE-602-085C) | pinned by sh2-python | CPU, cache, BSC, FRT, INTC, DMAC | anything Capcom built around it | | Western Digital WD33C93A data book (1991) | `pinned_files.json`; WD copyright, bitsavers scan | the SCSI controller's registers and commands: read here for the indirect mode (address register at A0 = 0, data at A0 = 1, **auto-increment after every data access except the auxiliary status, data and command registers**) and the clock divisor (FS1-FS0 in the Own ID register: 8-10 MHz /2, 12-15 MHz /3, 16 MHz /4) | how the board wires INT and DRQ, the board's clock | | Capcom operator's manuals (Street Fighter III; JoJo's Venture) | `pinned_files.json`; Capcom copyright, archive.org scans | the test menu, connectors, the CD and cartridge procedure | any register or timing | | Fujitsu MBM29F016A / 29F400TA data sheets | **not pinned**: datasheetcatalog, digikey, bitsavers (404), electro-tech-online (404), elecfans (468), dtsheet (403) refused on 2026-11-11 and 2026-11-12 | program and erase timing, status bits | | No Capcom hardware documentation, no development material and no die-level work on the ASICs was found. ## Tier 3: community documents tested on hardware | Source | Pin, licence | Decides | | --- | --- | --- | | The games' own BIOS test mode (memory check per RAM, input and output tests) | the sets (BYOR) | it passes on real boards by construction, so the address decode, RAM sizes and the SS odd-byte rule must make it pass | | herzmx `sfiii4s-custom`: the instruction/data table method for dead cartridges | `69450510`, see its repository | second-hand hardware report: a dead (zero-key) cartridge decrypts instruction fetches only; data is plain | | `sfIII3-cps3-decomp` (Giblet and contributors) | https://github.com/gibletto/sfIII3-cps3-decomp @ `d4408370`; AGPL-3.0; not fetched since 2026-11-24 (Aubrey: no copyleft source in an MIT repository) | a byte-exact rebuild of 3rd Strike's program with the original toolchain (`prog.bin` SHA-1 `7340968c...`): what the program does is fact, re-checkable in the game's own program; its names are the project's. Read in Phase 0: the vector table and the interrupt source | | WydD (L. Petit), inputlag.science result for 3rd Strike: 43.2 ms, 2.58 frames, input read during blanking | not fetched (HTTP 403); cited through DP [10] | a real cabinet's button-to-light time; tier 1 as a measurement but second-hand here | ## Tier 4: HDL reimplementations | Source | Pin, licence | What it is | Status as an oracle | | --- | --- | --- | --- | | **JTCPS3** (Jose Tejada, jotego) in `jtcores` | https://github.com/jotego/jtcores @ `ea0ef4e9` (2026-11-10); GPL-3.0; not fetched since 2026-11-24 (Aubrey); read in Phase 0, so what follows is HYPOTHESIS | an FPGA CPS-3 on JTFRAME; HDL files dated from February 2026; NO CD sets only (its CD controller is a stub); renders lines into a frame buffer (JTFRAME's line-to-frame interface); **times its display with the CPS-1 timing module** (512 × 262 at an 8 MHz enable: 59.637 Hz), not the CRTC values the game programs (DP 13.1; confirmed in `jtcps3_video.v` at our pin, which drives `lhbl`/`lvbl` from `cps1_hb`/`cps1_vb`); carries a copy of MAME's driver in `doc/` | detector. Its CPU is srg320's SH7604 model, shared with the second core | | JTCPS3 KiCad schematics | same pin (GPL-3.0 design files; not fetched since 2026-11-24) | 46 schematic sheets; title blocks "JOTEGO", "14/10/22-30/01/23"; provenance (board trace or design) not stated | tier 3 at best **if** traced from a board; read here only for the PPU's DRAMs (C15) | | javi-ivaj `cps3-fpga` | https://github.com/javi-ivaj/cps3-fpga @ `923d1ba3`; GPL-3.0; not fetched since 2026-11-24 (Aubrey) | a second FPGA CPS-3 on JTFRAME, started 17 July 2026, "using MAME as the primary source of information", written by AI models as an experiment (its README) | **not independent of MAME**: a detector of MAME transcription errors at most. Raises IRQ10 on MAME's 100 µs placeholder, renders through a line buffer, 59.5637 Hz | The two FPGA cores share one CPU model, so their CPU-side behaviour is one opinion, not two. DP's point that a core can be checked without a board (run the 40 P1 loops in simulation against the board's ticks; compare clocks per frame with 419,512 ± 40) applies to them, not to us. ## Tier 5: emulators | Source | Pin, licence | Notes | | --- | --- | --- | | **MAME 0.285** `capcom/cps3.cpp`, `cps3_a.cpp`, `cps3.h` | `f379cd06` (tag `mame0285`); BSD-3-Clause per file; read and cite, never copy | the only register-level description of the PPU, DMA, SS layer, sound, EEPROM window and inputs; its own comments list what is unverified. Runs here headless ([mame-oracle.md](mame-oracle.md)). Right on: IRQ10 from DMA (with a 100 µs placeholder delay), SS RAM byte-wide, no idle shortcut. Lacks every bus cost and the cache | | FinalBurn Neo | https://github.com/finalburnneo/FBNeo @ `c3e8c4df`; FBNeo non-commercial licence: closed box only, not fetched since 2026-11-24 (Aubrey); read in Phase 0, so these notes are HYPOTHESIS | a port of MAME's early driver; adds an idle speed hack and a **periodic IRQ10** (every third of four slices) the board never raises; SS RAM as 32-bit cells (wrong) | ## Software facts - The BIOS images and programs themselves: strings, build dates, the vector tables, what the code writes where (`[rom]`). Read from the decrypted images ([boot.md](boot.md)). - The cipher check: all six games' BIOS images decrypt to the same reset vectors with MAME's mask and keys ([encryption.md](encryption.md)). The cipher is tier 5 as text; the check makes it a fact about the images. - The SFIII CD's six data files equal `sfiiin`'s chip images by the byte-lane rules ([boot.md](boot.md)), checked here file by file. ## What ran in this phase `[ran]` - `scripts/fetch_references.py --verify`: 6 files and 6 repositories at their pins, ok (2026-11-12). - `scripts/census.py` ([census.md](census.md)); `chdman info -v` on all 19 CHDs. - MAME 0.285 on `redearthnr1` (4 s, 8 s, 1.5 s) and `sfiii` (8 s) ([mame-oracle.md](mame-oracle.md)). - The cipher on six BIOS images and SIMM 1 of each game (a throwaway script, not committed). - The SFIII CD (`cap-sf3-3`, extracted with `chdman extractcd`) against `sfiiin`'s chip images: all six data files equal (a throwaway script, not committed). - sh2-python's own `benchmarks/harness_speed.py` at the pin, 200,000 steps, cache off, load ~80: **160,000 instructions/s on CPython 3.14.4, 252,000 on PyPy 3.11.15** (2026-11-12). Not run: FinalBurn Neo; either FPGA core; DP's `verify.py`; any picture or sound comparison. ## Sources found but not read or not fetched - Andreas Naive's own 2007 write-up of the cipher: not found (`andreasnaive.blogspot.com/2007/` returns 404). MAME's release note for 0.116u2 (`https://mamedev.org/?p=160`, 2007-06-20): unread. - Darksoft and arcade-projects.com threads; WydD's "resurrect an arcade system (CPS3)" on Medium (HTTP 403): unread. Nothing here about Darksoft's key handling is better than second-hand. - Dunkley's earlier note "Where the Frame Goes" (Zenodo `10.5281/zenodo.23064378`, about Fightcade's schedule): not pinned; not about the board. - WydD's inputlag.science result for 3rd Strike: cited through DP only (HTTP 403). - Fujitsu MBM29F016A and 29F400TA data sheets: not obtainable (table above). - `bmo00/arcfpga-cores` (a JTCPS3 port with a BIOS test firmware, DP [15]): exists, not pinned. - ElSemi's CPS-3 emulator: not looked for. - The JTCPS3 schematics beyond the PPU memory sheets; the WD33C93A data book beyond its register chapter. ## How a milestone closes - Where DP has a value (bus costs, IRQ10 rule, SS width, the hang), the board must reproduce it; that is a judged result. - Where only MAME has a description (pictures, sound, DMA formats), the exit test is "agrees with MAME, or every difference named", and the certification record says **provisional, tier 5**. Where JTCPS3 and MAME disagree, the disagreement is recorded as a C item; neither wins. - The BIOS memory test passing is a software-fact judge for the address decode.