# Validation: the oracle ladder for the Jaguar board Tiers (the family's method): **1** hardware-captured (console or chip measurements, simulation of the real netlist) > **2** manufacturer documents > **3** hardware-corrected community documents and programs known to run on consoles > **4** HDL reimplementations > **5** emulators. A low tier is a **detector**: it finds differences; it does not decide who is right. **No hardware-captured oracle exists for this board.** No logic-analyser trace, no console test ROM with recorded results, no published per-register measurement was found. We have no Jaguar. The closest things to tier 1 are (a) Atari's own netlists, which can be simulated but have not been here, and (b) one informal camcorder pace measurement of *Doom* cited by the libretro project (below). Everything else is tier 2 text or lower. ## The oracles | Oracle | Tier | Licence | Pin | Decides | Cannot decide | | --- | --- | --- | --- | --- | --- | | **Flare netlists** of Tom (66 files) and Jerry (31), `JagNetlists/netlists_org` | 2 as text; **1 if simulated** | none: Atari/Flare design source; repo "All rights reserved (until I sort out the licensing stuff)". **Cite, never copy** | `Torlus/JagNetlists` `e13d5120` | the logic of every block of both chips: Object Processor states and conditions, Blitter data path and states, video counters and comparators, interrupt latches, arbiter priorities, memory controller, 16-bit I/O pairing, the lock and its strap | chip revision (comments 1990-11 to 1993-05; `GPU_CTRL.NET` version 2 "Toshiba Tom 208-pin QFP first release"); ROM cell contents (CRY tables, DSP microcode); anything on the console PCB (straps, audio DAC, cartridge port wiring, EEPROM); 17 Tom files carry 2012 "GE" edits (missing declarations) | | Verilog translation of those netlists, with a whole-console Verilator testbench (`verilog/`, `verilog/verilator/`: Tom + Jerry + the J68 68000 core + memory models + BIOS/cart loaders + VGA snapshot, Windows build script for Verilator 3.841) | 1 in kind (a netlist simulation), once built; the J68 68000 and the memory models are not the console's | as above | same | cycle behaviour of Tom and Jerry against a given memory and CPU model | the 68000's bus timing (J68 is an FPGA core, not a 68000); the CRY ROMs (loaded from files made from Virtual Jaguar's table, 2 entries wrong, [video.md](video.md)) | | *Jaguar Technical Reference Manual, Tom & Jerry*, Revision 8 (141 pp., text layer) | 2 | (c) Atari, "SECRET CONFIDENTIAL", circulated since the 1999 opening; no licence. Cite only | `cubanismo/jaguar-sdk` `b806b6fb`, `jaguar/docs/dev/Technical Reference v8.pdf` | register meanings, memory map, object formats, Blitter operation, the official bug lists (Tom 1-29, Jerry 1-6), the CRY tables (p.28) | timing below "2 clocks per page-mode cycle"; corrected by the netlist in at least four places (C5-C7, the lock) | | *Technical Reference V10.0* (Stephen Moss, 2010) | 2 with community edits | as above | same repo | clocks (NTSC and PAL), connector pinouts, controller matrix and Team Tap, register-address corrections | its own slips (C3, C4) | | 1995 developer binder: *Software Reference Manual* v2.4 (June 1995), *Hardware Bugs & Warnings* (26 April 1995), *Jaguar CD-ROM* (May-June 1995) | 2 | as above | same repo; image-only, OCRed by `scripts/ocr_scans.py` | developer-facing rules (VDE `$FFFF`, never `DMAEN`/`BUS_HOG`/`BUSHI`), bugs absent from the TRM (68000 long-write word order, OP scale limits, UART), the CD's use of I2S and interrupts | hardware detail of the CD unit (Butch) | | `JAGCRYPT.C`, `RSA.C`, Atari's EEPROM driver (`eeprom.s`, `eedocs.asc`), `jaguar.inc`, startup code | 2 | (c) Atari; cite only | `tursilion/makefastboot` `c752bcd1`; jaguar-sdk | the signature scheme, the EEPROM's wiring and protocol | what the boot ROM's 68000 code does (no disassembly made: U2) | | Tursi's fast boot (Skunkboard BIOS), 42Bastian's JaguarDemos, the 240p test suite port, the pad test, JiFFI2 | 3 | per repository (`skunk_bios` licence.md; 240p "GPL" in README; others see `pinned_repos.json`) | `scripts/pinned_repos.json` | that a program of this shape runs on consoles (they were written and tried on hardware) | **no pass/fail results are recorded**: they are programs, not tests | | MiSTer core | 4 | GPL-2.0 | `MiSTer-devel/Jaguar_MiSTer` `43a761d7` | the netlist translation running at speed, with straps chosen (`NOCPU` low, `BIGEND` high) and a Butch written anew | FPGA memory edits ("the latency of SDRAM is a bit too high"), behavioural rewrites of the RISC processors, its own CRY ROM files (taken from Virtual Jaguar's table) | | MAME 0.285 `jaguar`, `jaguarcd`, CoJag | 5 | BSD-3-Clause per file | `mamedev/mame` `f379cd06` | lockstep 68000 traces through the real boot ROM, register-write logs, "does it reach the title" ([mame-oracle.md](mame-oracle.md)) | contention, Blitter/OP timing, JRISC timing (one count per instruction), CRY green table (4 entries wrong) | | Virtual Jaguar (Rx fork; libretro fork with a bus arbiter, `docs/` of measurements, `test/acid`) | 5 | GPL-3.0 (both); both embed Atari boot ROMs: never copy | Rx `9321810f`, libretro `8543bbff` | a second opinion on pictures and sound; a header database; the libretro project's Verilator notes on the `graphics` island | anything its authors marked as a guess; its "accurate" blitter is Jaguar II logic ([blitter.md](blitter.md)); `test/acid` is synthetic and expected to fail in places, `test/mister_ground_truth.h` is tier 4 copied into C | | BigPEmu | 5 | closed source | not fetched | a manual detector for whole-game behaviour | anything: no trace or headless mode was established | **2026-11-25 (decisions L2 and L5, provenance.md):** JagNetlists (no licence), makefastboot (Atari's signing tool, keys and boot code, no licence) and the 240p suite port's GPL source are no longer kept in this repository, and of jaguar-sdk only the documents are fetched (Atari's code, tools and binaries are not used). The facts already taken from them stay, cited as above; the netlist text is not re-read here, and a netlist simulation, if built, is a run-only tool in emu-tools-gpl whose output this repository reads. The 240p port runs only as a built ROM. ## What the netlists can decide for this board's own chips, and what a harness costs The jrisc core's Phase 0 (`../jrisc-python/docs/phase0-status.md`) elaborated three Verilog islands (`mister-dsp`, `mister-gpu`, `torlus-gpu`) under Verilator 5.053 with 0 errors, using the copy in `../sm83-python/reference/build/oss-cad-suite/bin/verilator` (not on `PATH`), and estimated 2-4 days for a single-instruction GPU harness. The libretro project reports having built exactly that rig around Torlus's `graphics` island (GPU + gateway + `gpu_mem` + `gpu_ram` + **Blitter**) and lists its traps: bus bit order reversed by their wrapper, `ack` a level, one netlist tick = one 26.59 MHz clock; its rig (`vsim/`) is not in its repository. | Block | What a simulation decides | Harness and cost (estimate, nothing built) | | --- | --- | --- | | **Blitter** (`BLIT.NET` and 17 modules, inside the `graphics` island) | every inner-loop state and its bus cycle, data path results including bugs 17, 19, 26-29 (the ones the manual describes only by symptom), collision stops, `B_CMD` status bits, `C8` (which lane each intensity port feeds) | the same `graphics` island as the GPU harness: drive the I/O port to write the registers and `B_CMD`, answer the bus with a DRAM model, log `address/data/width` per cycle. Shares the jrisc harness: **about 1-2 days on top of it** | | **Object Processor** (`OB.NET`, `OBDATA.NET`, `WBK.NET`, line buffers `LBUF.NET`) | U8 (comparator order), C5-C7 confirmed by behaviour, the write-back timing and the order of its bus cycles, RMW bug 22, the stripes of bug 24 under a competing master | a Tom-level island (OB + line buffer + video counters + arbiter) with a DRAM model holding an object list; no CPU needed (the list and `OLP` are preset). **3-5 days**, the largest island after the whole chip | | **Video timing** (`VID.NET`, `PIX.NET`) | the clock of `VI`, HC/VC behaviour, interlace, the VDE bug (U5), border/blank edges, CRY multiply rounding | small island, no bus: **1-2 days**. The CRY ROM files must be corrected from the manual first | | **Arbitration and memory controller** (`ARB.NET`, `MEM.NET`, `MISC.NET` refresh) | cycle lengths per `MEMCON` setting, page-hit rules, refresh bursts, grant timing to the 68000 and Jerry (bugs 6, 12, Jerry 3) | needs the 68000's bus protocol on the pins: the testbench's J68 is not a 68000; a pin-level 68000 model driven from m68000-python's bus sequence is the honest version. **1-2 weeks**; defer until M7 shows it is needed | | **Interrupt latches** (`MISC.NET`, `JMISC.NET`) | U13-U15 | trivial island, **under a day**, or read off the cell models | | Whole console (`verilog/jaguar.v` top, the existing testbench) | everything at once, against the J68 68000 | port the 2013 Windows/Verilator 3.841 build to Verilator 5: **2-5 days**, run speed unknown (a gate-level Tom + Jerry is likely tens of kHz to a few MHz of simulated clock: minutes to hours per emulated second). A detector for whole-frame behaviour, not a judge of 68000 timing | **Caveats on any netlist result**: chip revision unknown; RAM/ROM contents not in the text; the Verilog is a machine translation with hand-written cell models (a cell-model mistake is a simulator bug, not hardware); MiSTer's tree has further edits. A netlist simulation is tier 1 for **logic**, and only as good as the revision question for "what a retail console does". Phase 0 builds no harness (task scope). Whether to build one, and when, is an open decision in [handoff-brief.md](handoff-brief.md). ## Checks run in this phase - CRY tables: manual p.28 vs Virtual Jaguar (2 red entries differ) vs MAME (4 green entries differ) vs JagNetlists' ROM images (identical to Virtual Jaguar's); the manual is the judge ([video.md](video.md)). - Boot ROM register writes and the boot flow: MAME traces ([mame-oracle.md](mame-oracle.md)). - Census: every image hashed; No-Intro "(ROM)" = "(J64)" minus `$2000` for 91 of 91 ([file-formats.md](file-formats.md)). - Netlist readings cited by file and line in each subject document; none simulated. ## The ladder the board climbs (per milestone, see the brief for exit tests) 1. **Unit rungs from tier 2 text**: register decode, object-phrase decode, Blitter register unpacking, CRY tables, EEPROM protocol: tests written from the manual and the netlist text, each citing its page or line. 2. **Lockstep with MAME** (tier 5, detector): the 68000 from reset through the boot ROM to the GPU start, instruction for instruction with registers; then Tom/Jerry register-write sequences from `-log`. A difference is investigated against the manual and netlist, never fixed by copying MAME. 3. **Boot-check closure** (tier 2 by construction): the real boot ROM's GPU check reaching `$03D0DEAD` with every signed cart in the census, and the red screen without one. This needs no referee: the signature is Atari's. 4. **Pictures** (tier 4-5 detectors): boot logo and title screens as line-buffer contents against MAME and Virtual Jaguar; disagreements decided by the netlist (text now, simulation if built). 5. **Netlist simulation** (tier 1, if built): Blitter and Object Processor bus-cycle sequences compared cycle for cycle on directed cases. 6. **Whole-game pace** (weak tier 1): the *Doom* attract demo at about 4 fields per frame on a console (one informal capture reported by the libretro project, not rerun). 7. **Smoke list** of games ([handoff-brief.md](handoff-brief.md)), then the full library only when the board might be ready.