# Status Every rung, its command, its count, and the commit and date it was measured (charter methodology, "Documents"). The certification record with the detail is [validation.md](validation.md); what each part rests on is [claims.md](claims.md); the public surface is [api.md](api.md). Tier: `x-python`, the specification of the Atari 2600 board. ## Rungs Interpreters: PyPy 3.11 (7.3.20) and CPython 3.14.4. References fetched by `python scripts/fetch_references.py`; romsets from `NO_INTRO_DIR` and `MAME_ROMPATH` only. | Rung | Command | Count | Commit, date | | --- | --- | --- | --- | | Default suite | `pytest -q` (PyPy; CPython skips the window test without pygame) | 124 passed (CPython 123 + 1 skipped) | `28fb095`, 2026-11-14 (101 at `d49c3ba`; +23 per-row DPC tests) | | DPC oscillator per row | `pytest -q tests/test_dpc_clock.py`; `scripts/frame_hashes.py --check tests/frame_hashes_rows.tsv --machine ROW --start 100` | 23 passed (21,000 ticks a second on all 10 rows); Pitfall II music-on lines for NTSC, PAL, SECAM | `28fb095`, 2026-11-14 | | CPU-core repin `1ae3610` -> `741419a` | the judges below, before and after the reinstall | all unchanged: die 39/39, timers 14/14, PAL 7800 tables 19,455/19,455, frame hashes 10/10 | the repin commit, 2026-11-14 | | Die traces (TIA, signal level) | `pytest -q -m slow tests/test_die_traces.py` | 39 of 39 (22 tia-fpga, 17 local; the C27 departures exactly) | `a32b516`; `84abe86`, `d49c3ba`, 2026-11-14 | | Whole board on Sim2600's 6507 | `scripts/die_board.py` | every TIA write on the die's half clock, 14 cartridges | milestone 2 (`dafb8d6`) | | RIOT timer ROMs | `pytest -m slow tests/test_timer_roms.py`; `gates.timer_roms` | 14 of 14 console results | milestone 3; `gates` form at `1ee16ac` | | #699 serial tables, per console | `scripts/serial_consoles.py CONSOLE` (one console per run) | 116,730 of 116,730 cells: every cell of all seven tables, six consoles | `a32b516`, 2026-11-14 | | MAME 0.285 instruction lockstep (detector) | `scripts/mame_trace.py` + `scripts/lockstep_mame.py` | 96,340,284 instructions, 5 games x 60 s | milestone 1 | | Stella frame sweep (detector) | `scripts/sweep_stella.py --frames 150` | 630 of 661 plain-scheme licensed dumps (233 with die-settled departures) | milestone 4 (`ad1108d`) | | Milestone-5 scheme sweep (detector) | `scripts/sweep_stella.py --frames 60 --only ...` | 41 of 52 | `8dd24c7` | | Scheme identity vs Stella `-rominfo` (detector) | `scripts/count_bankswitch.py` | 891 of 898 (licensed 712 of 715) | `37869ca` | | PAL smoke vs Stella (detector) | `scripts/picture_compare.py --detector stella --machine "Atari VCS (PAL)" --frames 150` | 3 of 5 dumps on every frame | `a32b516` | | SaveKey against a game's own code | `pytest -m slow tests/test_controllers.py` | Go Fish! reads its block back | `2310d61` | | Frame hashes (2600 unchanged) | `scripts/frame_hashes.py --check tests/frame_hashes.tsv` | 10 of 10 identical to `8dd24c7` (audio non-silent in 4 of them) | `2310d61`, `a32b516`, `1ee16ac`, `64d0307`; `84abe86`, `ae3ad35`, `4a5e20f`, `d49c3ba`, `28fb095`, 2026-11-14 | | Seeded faults | `scripts/seeded_faults.py` | 37 caught (35 at `64d0307`; the two DPC-clock faults run at `28fb095`) | 2026-11-14 | ## Modelling levels (charter axis B) | Component | Level | Judged by | | --- | --- | --- | | TIA picture, sync, RDY, collisions | signal (half colour clock, the circuit's latches) | DIE: 39 Sim2600 traces, every pin | | TIA audio | signal | DIE: `audio`, `audio_modes` on both pads | | Audio mix | functional (resistor network) | DOC schematic + FITTED (ideal switches) | | TIA revisions | fields on the signal model | TEST ROM: #699 tables | | 6507 | cycle (6502-python `741419a`, every bus cycle) | 6502-python's SingleStepTests certification; the repin from `1ae3610` left every judge unchanged (validation.md) | | RIOT | cycle (lazy timer, exact to the cycle) | DOC data sheet; TEST ROM #606/#108 | | Bus, WSYNC, decode | cycle | DIE (`die_board.py`), MAME and Stella lockstep | | Cartridge schemes | cycle (every bus cycle reaches the connector) | DOC Horton + detectors | | DPC music oscillator | functional (21 kHz, Horton's ear; free of the console's clock, every row its own CPU clock) | DOC (patent, Horton, nocash); `tests/test_dpc_clock.py` per row | | Controllers, SaveKey | functional | DOC nocash, Microchip; a game's own code | | Television, palettes, window | host | none needed | ## Domains and channels One domain: the colour clock drives the TIA, the 6507 (Φ0 = OSC / 3) and the RIOT (Φ2); the cartridge, controllers and SaveKey are passive on the bus and ports. Channels: the CPU bus (13 address lines, 8 data, no R/W at the cartridge slot), RDY (TIA to 6507), the RIOT's ports A and B (controllers, console switches, the SaveKey's I2C lines), the TIA's input pads I0-I5, and the audio and video pins out. The serial order of record: per CPU cycle, the TIA's six half clocks with the access on the sixth (board.py). ## Capabilities (measured, `1ee16ac`, load average about 8) - Milliseconds a frame: about 91 on PyPy (Combat, 300 frames in 27.2 s of CPU time, about 18 % of real time), about 600 on CPython (60 frames in 36.1 s). Correct, not fast: speed is the Rust tiers' job. - Save states: none yet (no `state.py`); so no run-ahead or rewind on this tier. - Threads: none (one domain, Python). - Concessions: none. ## Evidence tags Every constant and rule in `src/` carries its tag beside it (methodology, "Evidence in the specification"): DIE for what a die trace settles (the trace named), TEST ROM for console results (#699, #606, #108, Bradford Mott's table), DOC for documents (Towers, tia-fpga's README, the SPG, nocash, Horton, data sheets, a cartridge's own code), OBSERVED for closed-box runs (Stella, MAME, named with revision), FITTED and HYPOTHESIS as defined. Host code (the window's settings) carries none, and says so. ## Licences MIT (LICENSE); NOTICE keeps MAME's BSD-3 notice (palette tables taken, the cartridge devices cited), the CC0 software lists' attribution, and the cited documents. Every tracked file has an SPDX header except those whose format has no comment syntax or must stay byte-exact: `LICENSE` (the licence text), `NOTICE`, `scripts/pinned_files.json`, `scripts/pinned_repos.json` (JSON) and `src/a2600_python/py.typed` (an empty PEP 561 marker); they are MIT as the repository is. ## For the Rust transcription and the 7800 board Pin **`28fb095`** (2026-11-14): `System.from_rom(rom, machine)` now hands the row's CPU clock to the cartridge, so Pitfall II's DPC music keeps its own hertz on every row (DOC: Crane's patent, nocash, Horton; cartridge.md). NTSC is unchanged (the 10-game frame-hash record identical, die traces 39/39); the 2600's PAL and SECAM rows change in Pitfall II's audio only (`tests/frame_hashes_rows.tsv`). For a7800-python: nothing changes if it already passes its row's `timing.cpu_hz` to `load(cpu_hz=)`; if it loads through `System.from_rom` with its row, the clock now arrives by itself. A transcription carries `from_rom`'s default and `tests/test_dpc_clock.py`. A later commit that changes only documents is equivalent. The previous pin, **`d49c3ba`** (2026-11-14): 6502-python `741419a` (the family's pin, so one URL serves a host and this board), `System(cpu=)`, `timer_roms(machine=)`, `gates.smoke_names`, `Audio.on_sample`, the RIOT port registers listed, `load(cpu_hz=)`; the frame-hash record identical at each of the four commits. What moved since the pin before (`9475aa1`): the CPU core's URL, and new names only; no listed name changed meaning, and the 2600's behaviour is the same (the frame-hash record, die traces, timer ROMs and the PAL 7800's tables). The lockstep gate a transcription needs (every bus cycle, every picture) has its Python side in `gates.lockstep`, `gates.run_hashes` and `Board.bus_observers`. ## What is owed See [build-progress.md](build-progress.md) "Next" and the open items of [undocumented-behavior.md](undocumented-behavior.md). And: - **The DPC oscillator's frequency.** What clocks it is settled (DOC: the cartridge's own RC, free of the console; every row now gives it its own CPU clock, validation.md "The DPC oscillator on every row"). Its frequency is not: 21 kHz is Horton's ear. A recording of a real cartridge's music (or a scope on the DPC's oscillator pin) would settle one cartridge's value. Stella's PAL audio as a detector is not run.