# Detectors External binaries only. They are not in this repository, their source is not read, and the project stays MIT. A detector is evidence, not an oracle; AccuracyCoin is a core test, not a mapper test. | Detector | Licence and access | Known accuracy | Use here | Status | | --- | --- | --- | --- | --- | | **mame_nes** (theklap/mame_nes) | MAME fork, GPL-2.0; external `nes.exe`, release 2.0, MAME 0.289.0 | 140/140 on doclic's AccuracyCoin leaderboard; family record 140/140 at MAME 0.289/`8033f5c`; owner reports 147/147, not reproduced here | headless frame comparison through `famicom-python/scripts/mame_frames.py` (MIT) and `compat_sweep.py --detector mame`; `MAME_NES` names the external binary | installed externally; used for 235 | | **Mesen2** | GPL-3.0; external `MesenCore.dll` / Mesen2 build | a core detector, not an AccuracyCoin authority here | frame comparison through `mesen_frames.py` / `compat_sweep.py` | external; earlier source-view incident is logged | | **MAME** | GPL-2.0 as a whole; Subor files BSD-3-Clause | 81/140 stock MAME on doclic | permissive source facts only; not a frame detector here | reference, not a detector | | **puNES** | GPL-2.0 | 101/140 on doclic | not used | source-view incident only | | **MesenCE** | GPL-3.0 | 137/140 on doclic | not used yet | potential detector | ## mame_nes notes - Doclic: [NES emulator accuracy leaderboard](https://doclic.eu/neslead.htm#mame_nes), page licence CC0. mame_nes 140/140; stock MAME 81/140. - Family record: `famicom-python/docs/validation.md` and `docs/mame-oracle.md`, MIT. The fork reworks the NES PPU/DMA/timing; its AccuracyCoin result is a **core** claim. - Mapper coverage is separate. On the four Golden Game dumps (mapper 235), mame_nes matched our board and Mesen2 on 260-in-1 at frame 600 (0 pixels). On 100/150/210 it showed a garbled menu: the best mame_nes frame anywhere in 580-620 still differed by 16,859-18,186 pixels, and the 100 menu is visibly overlapping/garbage while Mesen2 and the board are coherent. That is a mapper-235 limitation in the MAME-family cart code, not a frame phase. Use mame_nes for core behaviour; do not use it as a mapper-235 oracle. - Root cause isolated on 2026-11-17 with black-box Lua memory dumps at frame 600: the PRG bank and 8 KiB CHR-RAM are byte-identical to the board; only CIRAM differs. The runtime cartridge device is `:nes_slot:bmc_gold260` (a 260-in-1 device). On 100-in-1, mame_nes aliases `$2000`/`$2800` and `$2400`/`$2C00` (vertical) where the board is horizontal, and its `$2400` is a copy of `$2000` while the board's is empty. On 260-in-1 it aliases all four nametables (one-screen); the 260 menu uses only `$2000`, so the visible frame still matches. No source was read; this is a black-box observation. - The game writes both `$2000-$23FF` and `$2400-$27FF` and never `$2800-$2FFF`, so horizontal is the intended CIRAM behaviour. Black-box header experiments: changing header byte 4 from `0x40`/`0x80` to `0xC0` (claimed 3 MiB) while keeping the original body makes mame_nes choose one-screen and renders 100/150/210 coherently; a 3 MiB body with the original `0x40` header still garbles. The trigger is the header value, not the file length. Under the workaround, 100-in-1 launches the Tetris title at frame 900 after an A press at 600. This is a local diagnostic workaround only; the proper fix is to honour horizontal CIRAM for 1/2 MiB dumps. - Synthetic proof: `tools/make_mirror_test.py` (MIT) writes known bytes to four nametables and paints green/red/blue for horizontal/vertical/one-screen. NROM H/V controls pass on the board, Mesen2 and mame_nes. On mapper 235, the default prelude (M=0) is green on the board and red on both detectors; single-write bisection shows the board's address table (`$8000`/`$C000` green, `$A000`/`$E000` red) is inverted in both detectors, independent of data value. Public NESdev notes confirm M=0 horizontal/M=1 vertical and R=0 16 KiB/R=1 32 KiB, but the R/P control shows the board, Mesen2 and mame_nes all use the opposite R mapping on these dumps; the public note is a different board revision. Direct Mesen2 PPU memory at 600 shows its game path is one-screen; the board is horizontal, and the visible `$2000` block matches. mame_nes is vertical, so its menu failure is now explained without claiming Mesen2 is horizontal. The N=1 control (`$8400`) is blue in all three, so the detector fault is specific to M/A13. See `mappers/235-golden-game/mirror-test.md`. - Use only the binary. Do not fetch, read or build its source, and do not open MAME source patches. Record the release and MAME version with every run.