# Phase 0 progress Updated 2026-11-12. **Phase 0 is complete**: documents, pins, detector drivers and the census; no emulator code. ## Done - `scripts/fetch_references.py` with 60 pinned files and 10 pinned repositories; all fetched. - `scripts/mame_trace.py`: MAME 0.285 `a7800`, run on Asteroids (USA) and Ballblazer (USA). - `scripts/prosystem_run.py`: core built in `reference/build-prosystem`; run on Asteroids (USA), 300 frames. - `scripts/count_carts.py`: run over the three No-Intro folders and the retrobat set; numbers are in docs/cartridge.md. - All documents listed in docs/README.md. ## Left unfinished, on purpose or not - **A7800 5.2 as a detector**: the binary starts headless (`SDL_VIDEODRIVER=offscreen -video soft -window`) and runs an `.a78`, but no debugger trace was obtained (docs/mame-oracle.md "A7800 5.2"). - **test7800** (Go) and **JS7800** (node): pinned, not built. - **`7800test.bas`** and the other forum attachments: not obtainable by script (docs/validation.md "Not obtained"). - **The gate-level diagrams have not been read sheet by sheet.** They are pinned and identified (50 sheets); U2, U3, U4 and C6 name them as the source that should answer. That reading is milestone 2's first task. - Quotes from the two GCC documents were located by OCR of the scans; re-read a quoted passage from the page image before relying on its exact wording. - No PAL run of any detector was made. - The census's "by tables" scheme counts for dumps outside MAME's list rest on two GPL emulators' tables read at run time; they are detector answers. ## Rule notes - `scripts/mame_trace.py` reaches the cartridge through a symbolic link in the ignored `tests/mame_traces/` tree; no ROM bytes are copied. - The public 7800 Utility Cart and Bankset Test Suite (freely distributed homebrew test programs) were unpacked under `reference/test_roms/`. - A prebuilt third-party binary (A7800 5.2, from its project's release page, hash pinned) was executed to test it as a detector.