# jaguar-python A readable, pure-Python emulator of the **Atari Jaguar** console, to be built as a board on the family's cores: [m68000-python](../m68000-python) for the 68000 and [jrisc-python](../jrisc-python) for the GPU and DSP (Atari's two 32-bit RISC processors; that core's Phase 0 runs in parallel). The cores own the processors; this repository will own everything else of the two custom chips, **Tom** (memory controller and bus arbiter, video time base, line buffers, CRY/RGB pixel path, **Object Processor**, **Blitter**, interrupts, timer) and **Jerry** (clocks, timers, interrupts, I2S and DACs, UART, joystick decodes, GPIO), plus the cartridge with its serial EEPROM, the boot ROM and its signature check, and **documented sockets** for the Jaguar CD. **Status (2026-11-12): Phase 0, groundwork only, no emulator code.** The documents in [`docs/`](docs/README.md) hold what the build needs, every fact with its source and tier; [docs/handoff-brief.md](docs/handoff-brief.md) is the plan (milestones M0-M11, 20 unknowns, 13 contradictions, 13 open decisions). Measured while gathering: MAME 0.285 boots *Tempest 2000* through the real boot ROM headless; the GPU and DSP traces give the workload (the DSP alone runs about 18 M instructions per second in that game). **No hardware-captured oracle exists**; the strongest referee available is Atari's own netlists of Tom and Jerry, read as text and simulable with the Verilator copy found on this machine (not done in Phase 0). ## Shape: base board plus add-ons | Machine | Phase | | --- | --- | | Jaguar, NTSC: the reference | M0-M10 | | Jaguar, PAL: a machine-table row (strap and clock) | from M3 | | Jaguar CD: add-on board `jaguarcd-python`, through the sockets | after M9 | | CoJag arcade boards: a later consumer of the Tom and Jerry classes | recorded only | ## What is fetched Nothing third-party is committed; cartridges, CD images, the boot ROM and the wave-table ROM are bring-your-own, read in place. `scripts/fetch_references.py` rebuilds `reference/` (git-ignored) from `scripts/pinned_repos.json` (13 repositories at full commit SHAs, sparse where large: MAME 0.285's Jaguar sources, Torlus's JagNetlists, the MiSTer core, both Virtual Jaguar forks, the Jaguar SDK with Atari's manuals, Tursi's tools, homebrew test programs): ```sh python3 -I scripts/fetch_references.py # everything missing (about 440 MB) python3 -I scripts/fetch_references.py --verify # check the pins python3 -I scripts/ocr_scans.py # OCR three image-only binder sections python3 -I scripts/census.py > census.txt # hash the local ROM library (about 30 s) python3 -I scripts/mame_trace.py --help # the headless MAME recipe ``` The scripts need only the standard library plus `git`, `curl`, `7z`, `mame`, `ocrmypdf`. ## Python Floor: the newest Python PyPy supports (3.11). PyPy must work. Like the sibling repositories, use a CPython venv for tooling and a PyPy venv for runs (`.venv`, `.venv-pypy`, both ignored). ## Licence MIT (see `LICENSE`). The netlists, Atari's documents and emulator sources are cited, never copied.