# Phase 0: complete (2026-11-12) Phase 0 (research and groundwork, no emulator code) for the MSM6295 core is complete. Everything it found is in the documents listed in [README.md](README.md); the brief for the build is [handoff-brief.md](handoff-brief.md). ## How it was done - **2026-11-11, first session** (Claude Fable 5.2, interrupted): repository, licence, ignore rules; references fetched by hand; the data sheet read page by page from images; `scripts/mame_census.py` and `scripts/rom_census.py` run; `scripts/mame_oki_tap.lua` run on Final Fight; findings saved in a long status page (commit `2383fca`). - **2026-11-12, second session** (Claude Opus 5.5): `scripts/fetch_references.py` written from that page's pins and the contents of `reference/` (one item it did not list, jotego's `patches.bin.zip`, found and pinned), verified against the files on disk without downloading again; `scripts/mame_oki_tap.py` written and the tap re-run with the same result; every draft fact re-checked against its source before it went into a document; the status page folded into the documents and reduced to this record. ## Corrections made in the second session - CPS-1's invalid entries: 47 with end = start - 1 (not 48), plus willow 36, a start past its end by 0x301, plus 2 with start = end. - The DIP42's missing A17 and /RD (the first draft's U12): confirmed on the data sheet's 42-pin drawing. - The interval "75 tCYC between phrases": placed by the p. 65 figure between one command's second byte and the next command's first. - The attenuation figures are the 32-based multipliers truncated (not rounded) to a tenth of a dB, and they determine the multipliers uniquely. - jt6295's clamp was fixed in its own pinned commit (2026-08-16), against MAME. - FBNeo's linear interpolation is a frontend option, not its default. ## Rule slips - First session: `scripts/mame_oki_tap.lua` once edited with a Python one-off instead of the Edit tool; `scripts/rom_census.py` ran for several minutes of I/O on the loaded machine; `reference/artemio/sf2ud.zip`, which contains Capcom ROMs, was downloaded (it stays in the ignored directory and is opt-in in the fetch script). - Second session: one line of `docs/mame-oracle.md` was changed with a Python one-off instead of the Edit tool. Set aside in `trash/` (ignored): a failed Dialogic download (an HTML page), the empty `pdftotext` output of the scanned data sheet, and a text copy of jtcores issue 559 (the fetch script now keeps the issue as JSON).