# Sources Accessed 2026-11-17 unless stated. The licence rule, source ledger and incidents are in [provenance.md](provenance.md). ## The documentation oracle - **NESdev Wiki** — [General disclaimer](https://www.nesdev.org/wiki/Nesdev_Wiki:General_disclaimer): content is public domain; use it and cite the page. Used: `INES_Mapper_235`, `NES_2.0_Mapper_330`, `NES_2.0_Mapper_532`, and the absence of a mapper-559 page. - **NES 2.0 header and database conventions** — used for header fields and No-Intro naming. ## Emulator sources and observations - **`famicom-python`** — MIT; the reference emulator, mapper-330 class and runtime dependency for `tools/run_rom.py`. No code copied. - **`z80-python`** — MIT; the "vibe coded, oracle validated" posture is cited as prior art. - **MAME** — GPL-2.0 as a whole; `src/devices/bus/nes/subor.cpp` and `subor.h` carry explicit **BSD-3-Clause** headers. Only those two files were read, for Subor Type 0/1/2 facts; no other MAME source was read; no code copied. If code is ever reused, keep the BSD-3 notice. It is a sibling reference for 559, not an oracle: MAME has no mapper 559 and its Subor Type 2 code has open TODOs. Mesen2 and puNES are not sources: they are GPL tools, and the incidental source views are recorded only in [provenance.md](provenance.md). Mesen2 may be used as a black-box detector; its source and source patches are off-limits. ## Detectors See [detectors.md](detectors.md) for the detector ledger and limits. - **mame_nes** (theklap/mame_nes) — a GPL-2.0 MAME fork, external `nes.exe` release 2.0 (MAME 0.289.0); AccuracyCoin 140/140 on doclic (CC0), 140/140 in the family record, owner reports 147/147 not reproduced here. Used black-box through the MIT `mame_frames.py`/`compat_sweep.py`; source not read. - **Mesen2** — GPL-3.0, external black box; used for frame comparison; source incident logged. - **MAME** — GPL-2.0 as a whole, Subor files BSD-3-Clause; source facts only, not a detector. - **puNES** — GPL-2.0, not used; source incident logged. ## ROMs and test data - **No-Intro NES set**, local mirror. Resolve through `NO_INTRO_DIR`; no ROM is committed. - `Golden Game 100/150/210/260-in-1 (Taiwan) (En) (Pirate)` — mapper 235. - `Sangokushi II - Haou no Tairiku (China) (Ja) (Subor) (Pirate)` — mapper 559, SHA1 `72bfd7a27cf6e5963114d16f085f67c226ea5fe4`. - `Sangokushi II - Haou no Tairiku (Japan)` — Namco's licensed release, mapper 19 submapper 3, SHA1 `3d680aaa357885beda73b324aa6c9683aff1af7d` (whole file, headered). The original the 559 dump was patched from (accessed 2026-11-20); compared with `tools/diff_dumps.py`, run on famicom-python's `Namco163` as the picture reference. Its siblings `(China) (Ja) (Waixing) (Pirate)` (mapper 176) and `Sangokushi III - Haou no Tairiku (Asia) (Ja) (Pirate)` (mapper 330) are not yet compared. - **NESdev `INES_Mapper_019`** (public domain) — the Namco 163's registers, through which each 559 patch is read. - **AccuracyCoin** — MIT; current test ROM and the two `$2004` late-bus tests. Used for PPU/bus work, not distributed. ## Tools - **capstone** — disassembly during the investigations; not distributed. - **py65** — one exploratory disassembly; not a project dependency. - Python 3.12 / PyPy 3.11; emulator dependency pins live in the emulator's own repository.