# Provenance (licence audit, 2026-11-13; author respect, 2026-11-26) This repository is at Phase 0: documents, pinned references, fetch and census scripts, and a MAME trace runner. **There is no emulator code yet**, so there is nothing to rewrite. This file records which sources the documents were learned from, their licences, and what the board may take from each when it is written, under the family charter's "Licences and provenance" (nothing copied or transcribed from GPL, LGPL, non-commercial or unlicensed code; facts are not code; permissive sources used with their notice). **How this audit was done.** From the repository's own records: `docs/`, `scripts/`, commit messages, `scripts/pinned_repos.json` and `scripts/pinned_files.json`. The only reference files opened were the licence header lines of the pinned MAME files (every one is `license:BSD-3-Clause`). No GPL or non-commercial source was opened for this audit. No code blocks quoting C, C++ or HDL from any source were found in `docs/` (only our own MAME debugger commands and module sketches). **The practice the documents were written under.** The Phase 0 rules of 2026-11-11 allowed GPL and non-commercial emulators to be "read and cite only; never copy". The charter now says a GPL project's source is not opened while writing the code it would inform. So: a fact these documents cite to a GPL or non-commercial **source file** (by file and line) is emulator-tier and was read from that code; the board may not be written from such a passage. It may be written from the passages that rest on hardware, manufacturer documents, MAME (BSD-3-Clause, with notice) or other permissive sources, and from closed-box runs of any emulator. Each document's tables name their source per row, so the split is mechanical when the board starts. ## Sources and what the board may take | Source | Licence as recorded | Use | | --- | --- | --- | | Charles MacDonald, `mvstech.txt` (all tests on an MV2F) | (C) MacDonald, no licence | facts (measured), cite | | SNK `NG.pdf` (leaked confidential manual) | SNK, never published | facts, cite only, never copy or redistribute | | NeoGeo Dev Wiki pages (224 were pinned) | footer "Public Domain" | **set aside 2026-11-26** (author respect, below): no longer pinned, fetched or cited; its former facts are `[HYPOTHESIS: was wiki Page]` | | MAME 0.285 `neogeo/`, `bus/neogeo/` (protection `prot_*.cpp`, `carts.cpp`), `bus/neogeo_ctrl/`, `upd4990a`, `ymopn`; software lists | every pinned file BSD-3-Clause (header lines checked); `hash/*.xml` CC0 | code OK with notice; the protection and decryption algorithms in `cartridges.md` were read from these files (BSD): usable with MAME's notice | | FinalBurn Neo `src/burn/drv/neogeo/` (cited `[FB ...]` in `cartridges.md`) | FBNeo licence, **non-commercial** | not MIT-compatible: closed box only; the few `[FB]` rows are second opinions and must not be the basis of code | | MiSTer NeoGeo core | GPL-2.0+ | closed box (README, DEV_NOTES, file list read only) | | NeoGeoFPGA-sim | GPL-3.0 | closed box (README only) | | SNKVerilog | no licence file | closed box (README only) | | neogeo-diag-bios (source and prebuilt `sp1`/`m1`) | **no licence file** | run only; the prebuilt zip is fetched into a git-ignored folder, never committed (checked) | | 240p Test Suite (Neo Geo) | GPL-2.0 | run as a program | | geolith, geolith-libretro, lithogen | "see docs/validation.md" | record each licence before use; closed box until then | | ngdevkit (GPL-3.0/LGPL-3.0), NeoChips (GPL-2.0), neopenbios (ISC-style) | as stated | tools; neopenbios usable with notice | | furrtek SiliconRE (`SNK/`) | GPL-2.0 with the author's objection to AI use | **excluded**. It was fetched once (567 MB) and only its README and file names were read; it is no longer in the pins or under `reference/` (checked). Keep it out | ## Scripts `census.py`, `mame_trace.py`, `pin_wiki.py`, `fetch_references.py`: **clean** (`pin_wiki.py` was removed on 2026-11-26 with the wiki, below). `tests/census/*`: our output, **clean**. Verdicts: 4 clean, 0 cite, 0 unclear, 0 rewrite. When the board is written, MAME's BSD-3-Clause notice is owed beside the protection code. Local repository, no remote; no history findings. ## Closed-box sources removed (2026-11-24) Aubrey's rule of 2026-11-24: an MIT repository does not download or keep non-commercial or other closed-box source. FinalBurn Neo (https://github.com/finalburnneo/FBNeo @ `c3e8c4df81d7f7375a1c990f06a2bcd5c0ea204c`) left `scripts/pinned_repos.json`; its sparse tree moved aside unopened, out of the repository (not deleted). cartridges.md's two file-and-line citations became `[FB]`, a tag now defined as HYPOTHESIS (read in Phase 0). MAME's fetched files all carry `license:BSD-3-Clause`; Geolith (BSD-3) and the rest stay. ## Author respect (2026-11-26) This is separate from the licence findings above: it is about an author's wishes, not about a licence. **Aubrey's ruling of 2026-11-26:** furrtek objects to AI use of his work, so his work and its lineage are set aside. The Neo Geo Development Wiki (`wiki.neogeodev.org`) is in that lineage: he is its main author and many chip pages restate his SiliconRE traces (`emulator-lineage/docs/sources.md`, rows "Neo Geo Development Wiki" and "Excluded", d9b8ce2). **History.** The wiki was a tier-3 source from the first Phase 0 session (2026-11-11: 224 pages pinned as raw wikitext by `scripts/pin_wiki.py` from `scripts/wiki_pages.txt`) and the second (2026-11-12: about 90 pages read, cited `[wiki: Page]` across eleven documents, about 126 tags and 100 prose mentions). On 2026-11-12 Aubrey kept it as a source when he excluded SiliconRE and its author's HDL (his objection named the repository; the wiki's own rule is about contributions). On 2026-11-26 he reversed that. This audit and the swap below were done on branch `author-respect` without opening a single wiki page: every finding comes from our own documents, MacDonald's `mvstech.txt`, SNK's `NG.pdf` (its OCR text layer, searched) and MAME 0.285's BSD-3-Clause files. **What was done (no behaviour change; there is no code).** - Facts that MacDonald, SNK or MAME state as well: the wiki citation was dropped and the other citation kept, or added with its line or page. - Facts only the wiki gave: the statement is kept, tagged `[HYPOTHESIS: was wiki Page]` (defined in [README.md](README.md) and at the head of each document), and listed below with what would settle it. - Conflict decisions that said "follow the wiki" are **provisional, open**; no new answer was picked from another source (that is Aubrey's call: proposals below). - Pins: the 224 wiki entries left `scripts/pinned_files.json`; `scripts/pin_wiki.py` and `scripts/wiki_pages.txt` were copied to `/data/backup/neogeo-python-furrtek-lineage-2026-11-26/scripts/` (with the removed pin entries as `pinned_files-wiki-entries.json`) and `git rm`-ed; the fetched pages, `reference/docs/wiki/` in the main checkout (227 files: the 224 pinned pages and 3 unpinned ones), were moved unopened with `mv` to `/data/backup/neogeo-python-furrtek-lineage-2026-11-26/reference/docs/wiki/`. `fetch_references.py` needed no code change (it never named the wiki's scripts; its docstring now says no live-document pin remains). `--verify` does no network work: on the branch's pins it finds 0 problems over 3 files and 7 repositories against the main checkout's `reference/`. **Lineage check of the remaining sources** (grep for "furrtek", "neogeodev", "wiki" over the pinned MAME files, MacDonald and Geolith; the wiki pages themselves were not opened): | Source | Finding | Consequence | | --- | --- | --- | | MacDonald `mvstech.txt` (2007) | no mention; his credits are Razoola, Jan Klassen, MAME's contributors | clean evidence | | MAME `neogeo/neogeo_spr.h:11` | `NEOGEO_HBEND ... // verified from https://wiki.neogeodev.org/index.php?title=Display_timing` | MAME's HBEND/HBSTART (C8) is not independent of the wiki; MacDonald's figures stand | | MAME `neogeo/neogeo.cpp:189-212` | "Custom chip detail information (modified) from: http://wiki.neogeodev.org": the CHA/PROG chip list (NEO-ZMC, ZMC2, PRO-CT0, SNK-9201, the Metal Slug X EPM7128 + QFP144, PCM, PCM2, PVC, SMA roles) | not clean evidence for chip roles (memory-map.md, cartridges.md, C37); the "Known PCBs" list that follows (216-370) is not credited but sits beside it: treat with care | | MAME `neogeo.cpp:60` | "Source (modified): http://en.wikipedia.org/wiki/Neo_Geo" | Wikipedia, not the wiki | | other pinned MAME files (`neogeo_v.cpp`, `neogeo_spr.cpp`, `neogeocd.cpp`, `bus/neogeo/*`, `bus/neogeo_ctrl/*`) | no mention | clean (tier 5, a detector) | | Geolith | README: "could not have been written without the amazing documentation available at The NeoGeo Development Wiki"; `geo_lspc.c:75` "Horizontal Shrink LUT -- from neogeodev"; `geo_sma.h:31` values "available at neogeodev"; `geo_z80.c:248` and `geo_lc8951.c:62` cite wiki pages | **possibly in the lineage**: never a clean replacement for a wiki fact. Its two-line sprite parse (C23), shrink table and Z80 banking are not independent of the wiki. NONBUGS claims (source unstated) stay tier-3 claims | | SNK `NG.pdf` | SNK's own manual, but the pin's URL is `https://www.neogeodev.org/NG.pdf` (the wiki's site) and the "leaked 2011" date was the wiki's | the content is SNK's; was open for Aubrey. **Settled later the same day** (follow-up below): the same bytes were hosted elsewhere years earlier and the file is not the wiki's work; re-pinned, every `[SNK pN]` citation stands | ### The facts, by document Line numbers are those of `e6c7cc0` (before this change). Status: **O** other evidence states it (wiki citation dropped); **H** kept as `[HYPOTHESIS: was wiki ...]`, needs new evidence; **O+H** the main fact has other evidence and a named part is a hypothesis; **D** a decision that followed the wiki, now provisional and open; **W** wording only (key definition, a sentence about the wiki). **video.md** | # | Line | Fact | Wiki page | Other evidence today | Status; what would settle it | | --- | --- | --- | --- | --- | --- | | V1 | 6-7 | NEO-B1 holds the line buffers, palette addressing and arbitration, the watchdog | NEO-B1 (uncited) | MacDonald puts the line buffers in "the sprite chip" [CM:844-845] | H; nothing in the board depends on which chip; leave | | V2 | 8-9 | early boards: LSPC-A0 + PRO-B0 + PRO-C0 do the same work | PRO-B0, PRO-C0, Rendering logic | MAME's board table names the chips [NG:70-88] | O+H ("same work"; U9) | | V3 | 32-33 | the wiki's 112/112/1280/32 rounding | Display timing | MacDonald 111/118/27 [CM:84-101]; MAME's HBEND credits the wiki | O (C8 unchanged: MacDonald) | | V4 | 34-35 | hblank shows entry 0, vblank DAC latches held at 0; signal names CHBL, BNKB | Display timing | CM:118-121, 217-222 | O (signal names dropped) | | V5 | 37-38 | line counter ranges | (unnamed) | CM:381-391, SNK p9 | O | | V6 | 51-52 | PAL: 16 more lines top and bottom | Display timing, Frame size | SNK p4 | O | | V7 | 53-55 | status bit 3 = 1 for 50 Hz (C4) | Display timing | MAME game evidence [neogeo_v.cpp:184-195]; Geolith; SNK p9 says 0 = PAL | D (C4) | | V8 | 84-85 | VRAM read buffer refreshed by the CPU slot (C20) | Rendering logic | MacDonald and MAME: loaded once | H (C20 unchanged: MacDonald); a hardware read-latency probe | | V9 | 88-94 | the VRAM slot schedule (4 slow, 10 fast slots per 16 mclk; 480 parse slots) | Rendering logic | 381 = 4 clocks per sprite + 12 setup, 96 x 16 mclk [CM:821-831] | O+H (the slot schedule); the 56-mclk rule the board implements is MacDonald's | | V10 | 109-110 | sprite lists 128 words each | VRAM | MacDonald 96 + unused [CM:775-777]; Geolith 128 | O | | V11 | 114 | SCB attribute formats | Sprites | SNK p19, CM:788-946 | O | | V12 | 135-139 | chained X = previous + shrink + 1, "no LD pulse" (C12) | Rendering logic, Sticky bit | MAME neogeo_spr.cpp:320-326, Geolith | O+H (the mechanism); C12 now MAME, provisional; a shrunk chained layer in a game's attract mode compared with a hardware capture | | V13 | 141 | vertical shrink through L0 | L0 ROM | MAME 344-371, Geolith | O | | V14 | 147 | past 16 tiles the `$FF` padding repeats tile 15's last row | Sprite shrinking | none | H; read the table in the user's `000-lo.lo` in place (BYOR) and compare a MAME closed-box picture | | V15 | 150-152 | the 16 horizontal shrink patterns "match the real hardware" | Sprite shrinking | MAME neogeo_spr.cpp:273-274 (tier 5); Geolith's table "from neogeodev" | O at tier 5; the hardware claim is lost (no capture on hand) | | V16 | 153 | shrinking never saves time | Sprites per line limit | CM:826-831 | O | | V17 | 155 | the 96-per-line limit and sprite-0 fill | Rendering logic | CM:833-886, MAME 460-500 | O | | V18 | 169-170 | later list entries in front | Line buffers | SNK p20 ("by low priority"), MAME 298-330 | O | | V19 | 177-178 | C ROM tile format; the wiki's own pseudocode note; the CD's 1/0/3/2 byte order | Sprite graphics format | MAME 673-692, Geolith 762-776; MAME's CD swizzle [neogeocd.cpp:420-421] | O (format); H (CD order, for `neogeocd-python`'s Phase 0) | | V20 | 180 | auto-animation counters | Auto animation | CM:393-417, MAME 131-143 | O | | V21 | 191, 196-200 | the two-line sprite pipeline (C23, U4) | Rendering logic (draft) | Geolith (credits the wiki), MacDonald "next scanline", MAME 0 | D (C23); mosyougi's reflection in M4 against the NONBUGS claim | | V22 | 197-198 | lists alternate `$8600`/`$8680` by line bit 0 | VRAM, Rendering logic | CM:775-777, MAME neogeo_spr.cpp:293-297 | O | | V23 | 206-208 | S ROM format | Fix graphics format | MAME neogeo_spr.cpp:262 | O | | V24 | 209 | the fix is drawn in real time | Line buffers | CM:731-732 | O | | V25 | 222 | how the CMC gets the bank bits is "the wiki's own to-do" | (to-do) | none | W (U10: no source) | | V26 | 233-234 | timer reload above 4 or the CPU floods | Timer interrupt | SNK p8 (never 0) | H; nothing rests on it (the board's counter floods by itself if it would) | | V27 | 236-237 | C3's "beginning of hblank of the first vblank line" | (with SNK) | SNK p8 | O (C3 unchanged) | | V28 | 242-244 | PAL timer stop: first and last 16 lines (C18) | Timer interrupt | SNK p9 (disagrees with itself) | H (C18 already open, U3); a PAL console probe | | V29 | 252-253 | palette byte writes store both halves (C25) | Palettes | Geolith one lane; MAME's handler takes no byte mask [neogeo_v.cpp:95-98]; SNK p12 word only | D (C25); a MAME closed-box byte write shows MAME's view; hardware decides | | V30 | 255-256 | palette word format | Colors | CM:198-202, SNK p21, MAME 100-103 | O | | V31 | 257-258 | entry 0 in hblank, `$0FFF` backdrop | Palettes | CM:214-234 | O | | V32 | 260 | DAC resistors and dark/shadow pull-downs | Video DAC | CM:248-270 | O | | V33 | 265-266 | AES output divided by 4.1; MVS 0-3.5 V | Video DAC | MVS DAC unamplified to JAMMA [CM:262-264] | O+H; SNK's schematics (U14); no picture test depends on it | | V34 | 269-270 | CPU palette access shows on the pixel | NEO-B1, Palettes | CM:236-241 | O | | V35 | 275 | layer order | Layer | SNK p6, CM:232-234 | O | | V36 | 275-279 | line-buffer internals (pairs, 12 bits, pointer clocking, LD, clear) | Line buffers, Rendering logic | two buffers swapped per line [CM:844-848] | O+H (internals); picture tests of shrunk sprites with transparent pixels against MAME and hardware captures | **memory-map.md** | # | Line | Fact | Wiki page | Other evidence today | Status; what would settle it | | --- | --- | --- | --- | --- | --- | | M1 | 5-7 | citation key; "Decode masks aren't verified !" | Memory mapped registers | | W | | M2 | 14 | P1 ROM, vector swap; 0 or 1 wait by a ROMWAIT pin | 68k memory map, Wait cycle, Vector table swap | CM:179-180, 278, 294; MAME 1730 | O+H (the pin; U1) | | M3 | 15 | work RAM, `$10F300-` the system ROM's | 68k memory map | SNK p26, MAME 1731 | O | | M4 | 16 | work RAM mirror | (unnamed) | CM:295, MAME 1731 | O | | M5 | 17 | port zone 0-3 waits by PWAIT0/1, "until PDTACK" | Wait cycle | 0 measured on one cartridge [CM:280] | H (U1) | | M6-M10 | 18, 19, 21, 22, 24 | I/O zone, palette, card 2 waits, system ROM, backup RAM | (unnamed), Wait cycle | CM:281-283, 297-308, 29, 175; SNK p9-10; MAME | O | | M11 | 43-44 | "some games rely on wait cycles" | Wait cycle | none | H (U1); M8 sweep comparisons with waits 0 and 1; a per-game list needs cartridge inspection | | M12 | 50-51, 55-70 | register names, decode masks, the Chip column | Memory mapped registers | every row now cites SNK p11-12, CM:153-166, MAME 929-994, 1715-1740, 1849-1857 for address and meaning | O+H (names, masks, chip per register); masks need a hardware probe | | M13-M15 | 57, 58, 59 | `$300081`, `$320000`, `$320001` | (unnamed), 68k/Z80 communication | MAME 1734; SNK p12, MAME 1715; MAME 1849-1857 | O | | M16 | 75-77 | the 74HC259 system latch | Memory mapped registers | CM:164-166, MAME 1719 | O | | M17 | 92-93 | cartridge's first `$80` bytes at `$C00000` after the swap (C10) | Vector table swap | MAME and Geolith: no; MacDonald's "toggled" is ambiguous [CM:179-180] | D (C10); a test program on hardware, M1 | | M18 | 95-96 | reset vectors from the system ROM's copy | Vector table swap | CM:139-141, 179-180 | O | | M19 | 103-104 | Z80 fixed area and window 3 | Z80 bankswitching | MAME 1783-1784 | O | | M20 | 110 | Z80 banks undefined at power-on | Z80 bankswitching | MAME forces values (C32) | H | | M21 | 111-113 | the banking chip on the cartridge; `SDRD0`, `A3-A2 = 10` | Z80 bankswitching, Z80 port map | MAME's chip list (credits the wiki); MacDonald lists a NEO-ZMC2 on the MV2F [CM:53] | H | | M22 | 124-128 | Z80 port decode masks | Z80 port map | SNK p12 (port list), MAME 1799-1806 | O+H (masks) | | M23 | 130-133 | port `$C0` mirrors `$00` (C11) | Z80 port map | MAME: no mirror | D (C11); puzzledp's write to `$C0` in M2 | **interrupts.md** | # | Line | Fact | Wiki page | Other evidence today | Status; what would settle it | | --- | --- | --- | --- | --- | --- | | I1-I3 | 11-13 | the three levels and their acknowledge bits | 68k interrupts | CM:426-447, 515-527; SNK p8-9; MAME | O | | I4-I6 | 16-17, 22-23 | autovectored by /VPA; several bits at once; bit 0 for IRQ3 | 68k interrupts | CM:442-447, 542-544; MAME | O | | I7 | 25-26 | CD: three vectored interrupts, vblank and timer swapped | 68k interrupts | MAME: vectors 21-23, and the vblank and timer vectors swapped [neogeocd.cpp:862-863, 940-944, 1037-1063] | O+H (the level wording; for `neogeocd-python`) | | I8 | 35 | C3 is "the wiki's wording" | | SNK p8 | W | | I9 | 76-80 | reset held 8 more frames; RESETP; sync runs during reset | Reset | PST518B and watchdog held in reset [CM:127-130]; 8 frames matches the watchdog low time [CM:147-151] | H; MAME's reset length is only a detector; hardware | | I10 | 81-85 | C2's other side: RESET resets all but the 68000; NEO-B1 drives RESET and HALT together | Reset | CM:143-145 (measured) | H (C2 unchanged: MacDonald) | | I11 | 94 | the watchdog is a NEO-B1 frame counter clocked by CHBL | Watchdog | SNK p12 (kick at least every 100 ms), CM:147-158 | O+H (chip and clock) | | I12 | 98 | "quoted by the wiki as not verified" | Watchdog | CM:147-151 | W | | I13 | 101 | disabled by grounding DOGE | (unnamed) | MAME wonders about JP2 [1906] | H; no behaviour | | I14 | 102-104 | games use the watchdog as protection | Watchdog | none | H; the M8 sweep would show it; the watchdog is exact anyway (MacDonald) | **sound.md** | # | Line | Fact | Wiki page | Other evidence today | Status; what would settle it | | --- | --- | --- | --- | --- | --- | | S1 | 41 | ADPCM-A and -B share the V ROMs because of the PCM chip | PCM | MAME feeds ADPCM-B from ADPCM-A unless a set has its own [BUS slot.cpp:60-90] | O+H (the PCM chip's role) | | S2-S5 | 48-54 | command latch and NMI; port `$00` clears; reply `$0C`; NMI gate `$08/$18` | 68k/Z80 communication, Z80 port map, Z80 interrupts | SNK p12, MAME 885-889, 1666, 1715, 1801-1805 | O (that the latch is in NEO-C1: H) | | S6 | 56-57 | "the wiki does not say" (U13) | | | W | | S7 | 59 | the drivers use IM 1, `$0038` | Z80 interrupts | SNK p12 (YM2610 IRQ) | H; the puzzledp sound trace already run (closed box) shows the IM | | S8 | 62-65 | system ROM commands `$01/$02/$03`; "Z80 ERROR" | 68k/Z80 communication | SNK p78, p216 | O+H ("Z80 ERROR"); a MAME closed-box boot with a silent M1, or the board's M2 | | S9 | 69-73 | ZMC/ZMC2 on the cartridge; 4 MiB through window 3; CD has no banking | Z80 bankswitching | MAME's CD comments out the bank read [neogeocd.cpp:966-967] | O (CD); H (chips, 4 MiB: C31) | | S10 | 80-84 | 17/83 clocks from the data sheet; SNK's routines' 146 | Z80/YM2610 interface | `ym2610-python`'s C3 (die BUSY) | H; read Yamaha's YM2610 sheet itself (DOC) | | S11 | 93 | "the wiki's reading puts left on SH1" (`ym2610-python`'s C4) | | that core's die model | W (flag for `ym2610-python`'s own audit) | | S12 | 96-97 | the audio schematics to read in M5 | Audio path schematics | none | H; SNK's schematics from another copy, or Aubrey's word | **system-rom.md** | # | Line | Fact | Wiki page | Other evidence today | Status; what would settle it | | --- | --- | --- | --- | --- | --- | | R1 | 10 | citation key | | | W | | R2 | 16-17 | `$C00400` type, `$C00401` nationality | System ROM | SNK p50 (the RAM copies) | H; read the bytes of the user's system ROMs in place | | R3 | 29-31 | Universe BIOS on the AES from 1.3; its checksum from `$C00086` | Universe BIOS, Boot process | MAME 2196 | O+H (the checksum start; nothing depends on it) | | R4 | 35 | reset SSP and PC | 68k initialization | SNK p29, p34 | O | | R5 | 41-55 | the boot sequence, steps 1-9 | Boot process, System self-test | SNK p78 (step 8) | H; our own closed-box MAME trace of `sp-s2` (`scripts/mame_trace.py`, the M1 lockstep) | | R6 | 57-58 | the AES ROM tests only with no cartridge | System self-test | none | H; MAME closed-box `aes` with and without a cartridge | | R7 | 62-76 | the cartridge header; `$182` compared word by word | 68k program header | SNK p30-31 | O+H (the comparison) | | R8-R9 | 83-94 | entry points; system ROM variables | BIOS calls, BIOS RAM locations | SNK p44-56 | O | | R10 | 100-105 | eye-catcher details (58 tiles, fix banks, palette 15) | Eyecatcher, Boot music | SNK p28, p31, p78, p216 (the mechanism) | O+H (details); M3's MAME picture compare | | R11 | 109-112 | soft DIPs | Software DIPs | SNK p38-43 | O | | R12 | 118-123 | backup RAM layout (`sp-s2`) | Backup RAM | SNK p26 (reserved) | H; the NVRAM a MAME closed-box run saves | | R13 | 127 | uPD4990A in serial mode, C0-C2 and CS/OE high | UPD4990 | crystal [CM:60-62, 71]; MAME drives only DATA IN/CLK/STB [957-961] | O+H (the pin ties) | | R14 | 135-137 | calendar test 57-64 frames; "calendar freeze" | Boot process, Calendar freeze | none | H; **used by M1's exit and validation.md**: a closed-box MAME run with the calendar's TP slowed or stopped, or the board's own M1 run, finds the thresholds | | R15 | 137-138 | post-1998 games fail if the month is above 13 | Slot check security | none | H; M8 sweep | | R16 | 154-155 | the ROM handles 2-16 KiB cards | Memory card | 2 KiB official card [CM:328-329], [SNK p12] | O+H (2-16 KiB) | | R17 | 156-158 | the card format and `CARD` errors | Memory card | SNK p71-77, p124 | O | **inputs.md** | # | Line | Fact | Wiki page | Other evidence today | Status; what would settle it | | --- | --- | --- | --- | --- | --- | | N1 | 11 | hardware DIP meanings | Hardware DIPs | MAME 1818-1841, SNK p116 | O | | N2 | 12 | `$300081` bit 6: 2-slot vs 4/6-slot (C26) | (unnamed) | MAME 1859-1880 | H (C26 unchanged: MAME) | | N3 | 15 | MV1B/MV1C 8-pin header outputs not inverted | Output port | SNK p11, MAME 929-946 (the rest) | O+H | | N4 | 25 | the ROM detects a pad by OUT3 looped to D | Joypad | the loop itself [CTRL joystick.cpp:88-91] | O+H (detection by the ROM); a MAME closed-box run with no pad | | N5 | 26 | home ROM checks either port, MVS ROM only P1 with DIP 2 | Mahjong controller | the loop [CTRL mahjong.cpp:158-160] | O+H | | N6-N7 | 27-28 | 4-player adapter; trackball | NEO-FTC1B board, Trackball | CTRL kizuna4p.cpp, irrmaze.cpp; MAME 3003-3009 | O | | N8 | 34 | coin state in backup RAM `$D00020-25` | Backup RAM | none | H (R12) | | N9 | 36-39 | coin counters and lockouts by write address; polarity (C27) | Memory mapped registers | MAME 963-969, 966, 1681 | O (addresses); H (polarity: C27 unchanged, no claim) | | N10 | 42-43 | test button: menu; credits without counting | Test button | SNK p117 (menu) | O+H (credits) | **cartridges.md** | # | Line | Fact | Wiki page | Other evidence today | Status; what would settle it | | --- | --- | --- | --- | --- | --- | | K1 | 9, 14 | citation key; "where the wiki disagrees" | | | W | | K2-K3 | 26-31 | the plain cartridge; 2 MiB P halves | Bankswitching, PROGBK1, P ROM | NG:1141-1160, 1300-1311, 1404-1413; `ROM_CONTINUE` | O | | K4 | 32-35 | PROGBK1: 74LS74, any word or odd-byte port-zone write, 2 bits (C30) | Bankswitching, PROGBK1 | MAME decodes `$2FFFF0+`, 3 bits | D (C30) | | K5 | 36-37 | ROMWAIT/PWAIT values | Wait cycle | CM:278-280 (one cartridge) | H (U1) | | K6 | 39-43 | Z80 banks to 4 MiB, ZMC 512 KiB (C31); undefined at reset (C32) | Z80 bankswitching, NEO-ZMC | MAME 256 KiB mask, reset hack [NG:1329, 1339-1347] | D (C31); H (C32 unchanged) | | K7 | 45-50 | NEO-273, the C/S address latches, the serialiser on the MVS board vs the AES cartridge | NEO-273, P bus, PRO-CT0, NEO-ZMC2, MVS/AES cartridge | NEO-ZMC2 on the MV2F [CM:53]; MAME's chip list credits the wiki | H; `sprite_row` hides it | | K8-K9 | 55-56 | PCM multiplexes A/B; CHA42G halves swapped | PCM, CHA42G | none | H; the software list's load offsets (CC0 `hash/neogeo.xml`) for CHA42G | | K10 | 60-66 | which chip each PROG/CHA board carries | PROG board and each board's page | board names: MAME software list comments [census], Known PCBs [NG:216-370] | O+H (chips per board) | | K11 | 71 | every scheme is a live chip on hardware | NEO-CMC, NEO-PVC, PROGSF1 | physical (no load step exists on hardware) | H, harmless | | K12 | 80 | PRO-CT0 security | PRO-CT0 | BUS prot_fatfury2.cpp:38-73, NG:1429-1432 | O | | K13 | 88 | PCM2 1999 as live address inversion (C33) | NEO-PCM2 | MAME static swap [prot_pcm2.cpp:35-55] | H (C33 unchanged: MAME) | | K14 | 89 | PCM2 2002 | NEO-PCM2 | prot_pcm2.cpp:59-90 | O | | K15 | 103 | mslug3 RNG at `$2FFFF8/A` (C35) | NEO-SMA | MAME: none | D (C35); MAME closed-box run of mslug3 with a watch on `$2FFFF8` reads; hardware | | K16 | 144-150 | C34, C36, C37, C38, C39, C40 sides | NEO-PCM2, PROGEOP, PROG-G2, PROGV, NEO-PVC (C38, C40 unattributed in Phase 0) | MAME per row; C37's MAME side is the credited chip list | H (each decision unchanged: either, MAME, behaviour, MAME, open, MAME) | **aes-vs-mvs.md, sockets.md, start-here.md, validation.md** | # | Line | Fact | Wiki page | Other evidence today | Status; what would settle it | | --- | --- | --- | --- | --- | --- | | A1 | aes 12 | AES crystal 24.167829 MHz, 59.599 Hz, PAL 50.429 Hz (C1) | Clock, Framerate | MVS 24 MHz [CM:66, 114]; MAME 24 MHz for both | D (C1, decision 3); an AES board photo or schematic naming the crystal, or a console probe | | A2-A5 | aes 14, 16, 17, 18 | AES: no SFIX/SM1, no calendar, no DIPs/coins, soft-DIP defaults | SFIX ROM, AES hardware, BIOS calls, MMR, Software DIPs | MAME 2143, 1901, 1766-1771, 1898-1901; SNK p38-43 | O (calendar calls returning at once: H) | | A6-A8 | aes 20-22 | cartridge pins and serialiser; AES video output; self-test | AES/MVS cartridge, Video DAC, System self-test | CM:53, 262-264 | H (K7, V33, R6) | | A9 | aes 23 | the watchdog in NEO-B1 on both | Watchdog | CM:147-151, MAME 1990-2004 | O+H (the chip) | | A10 | aes 30 | slot-check games | Slot check security | MAME 1896 | O | | X1-X2 | sockets 8, 49 | where the CD facts came from; RAM replaces the ROMs | 68k memory map, MMR | MAME neogeocd.cpp:926-978 | W, O | | X3-X5 | sockets 55-57 | CD1 map, CD2 stores, CD3 Z80 RAM | 68k memory map, REG_UPMAPSPR/FIX, Z80 bankswitching | MAME neogeocd 418-476, 853-854, 926-935, 967 | O | | X6 | sockets 59 | CD5 interrupt map | 68k interrupts | MAME neogeocd 862-863, 940-944, 1037-1063 | O+H (level wording) | | X7-X12 | sockets 60-65 | CD6 layer enables; CD7 DMA holds the bus; CD8 clock domains; CD9 CD-DA; CD10 `$FF0183`; CD11 `$380000` on CD | NeoGeo CD registers, DMA, CD drive, CDDA, REG_Z80RST, REG_STATUS_B | MAME: DMA engine (`do_dma`), CD-DA (line 16), `$FF0183` resets Z80 and YM2610 [373-382] | O (CD9, CD10); O+H (CD7); H (CD6, CD8, CD11): `neogeocd-python`'s own Phase 0 | | T1-T3 | start-here 19, 26, 31 | glue chips' roles; the CD's IRQ map; the AES clock | MMR, 68k interrupts, Clock | CM:42-55, 66, 164; MAME (CD) | O+H; H (AES clock, C1) | | L1-L4 | validation 35, 36, 85, 89 | the wiki's ladder row; schematics found on the wiki; the test-ROM search; turfmast as a timer probe | Schematics, Timer interrupt | MAME neogeo_v.cpp:181-195 (the other probes) | W; H (turfmast; the schematics need another copy) | **handoff-brief.md** carries the same facts as its U and C rows (lines 47, 112-116, 126-135, 150-188, 222). Each row was rewritten to match the documents: the wiki's side reads "hypothesis (was wiki)" and the decisions listed next are provisional. ### Counts Rows above, groups counted by their members: **163 rows**, of which **11** are wording only (citation keys, sentences about the wiki). Of the **152 facts**: **66** are now backed by other evidence only (O); **31** are backed in their main part, with a named part kept as a hypothesis (O+H); **46** were the wiki's alone and need new evidence (H); **9** are decisions that followed the wiki and are now open (D; with C12, which keeps MAME, the open list below has 10). In all, **86** facts carry a hypothesis. The documents hold about 90 `[HYPOTHESIS: was wiki ...]` tags, and the brief's tables 27 "hypothesis (was wiki)" sides. ### Decisions that followed the wiki, now open (proposals for Aubrey) | Row | Was | Now | Proposal (not decided here) | | --- | --- | --- | --- | | C1 / decision 3 | AES at 24.167829 MHz | provisional | (a) AES row at 24 MHz like MAME until a crystal marking or schematic is found; (b) keep 24.167829 MHz flagged HYPOTHESIS. Either way compare AES runs by frame | | C4 | bit 3 = 1 means 50 Hz | provisional | follow MAME's game evidence (samsho3, trally) as tier 5, against SNK p9; PAL rows are deferred anyway (U3) | | C10 | P ROM `$00-$7F` at `$C00000` after the swap | provisional | follow MAME (no mirror) and log any game that reads there; a hardware test program decides | | C11 | port `$C0` mirrors `$00` | provisional | follow MAME (`$00` only) and keep puzzledp's `$C0` write as the named test; or keep the A3-A2 decode as a flagged hypothesis | | C12 | MAME/wiki | MAME, provisional | keep MAME (+ shrink + 1); only its tier changes | | C23 / U4 | two-line parse pipeline | provisional | design the scheduler so the lead is a parameter (0, 1 or 2 lines) and let mosyougi's reflection (NONBUGS) decide in M4 | | C25 | byte writes to palette store both halves | provisional | follow MAME's behaviour as seen in a closed-box byte write, tier 5 | | C30 | PROGBK1 decodes the whole port zone, 2 bits | provisional | follow MAME (`$2FFFF0+`, 3 bits) for every plain cartridge | | C31 | Z80 banks reach 4 MiB (ZMC 512 KiB) | provisional | follow MAME's 256 KiB mask and log out-of-range banks (mslug3, CMC50 M1s) as the test | | C35 | mslug3 RNG at `$2FFFF8/A` | provisional | follow MAME (none) and log any read there | ### Needs Aubrey - The 2026-11-12 line in the brief's decision 1 ("the wiki stays") is marked reversed in place; the new decision is recorded at the head of the open decisions. Decision 3 (AES clock) is reopened. - ~~`NG.pdf` comes from `www.neogeodev.org`~~: settled, see the follow-up below. - ~~SNK's schematics were found only on the wiki~~: searched, see the follow-up below. - ~~`ym2610-python`'s C3 and C4 cite the wiki~~: handled in that repository, see the follow-up. - ~~main still lists the 224 wiki pins~~: merged as `2b09273`. ### Follow-up of 2026-11-26 (Aubrey approved finishing the set-aside) **1. `NG.pdf`.** The pin pointed at `https://www.neogeodev.org/NG.pdf`, the wiki's own site. The copy fetched from there was moved, unopened, to `/data/backup/neogeo-python-furrtek-lineage-2026-11-26/reference/docs/manuals/NG.pdf`. Its history, found without opening it: - The manual was released to the public on the Neo-Geo.com forum on **2011-06-24** (thread 225987, poster TonK: "First time this has EVER been released to the public. Brought to you by Neo-Geo.com"; Game Developer reported it on 2011-07-22). Read from the Wayback Machine's copy of the thread. - hardmvs.com hosted `manuals/NeoGeoProgrammersGuide.pdf`, server date 2011-07-17, archived from **2012-01-22**; the Wayback Machine has no capture of `neogeodev.org/NG.pdf` before 2020-12-09. The archived hardmvs copy is **byte-identical** to the old pin (SHA-256 `910f0f02...`, 5,885,883 bytes; the archive's own SHA-1 digest is the same for both URLs). - That copy's own metadata (read from the new download, not the old one): Adobe Acrobat 7.08 Paper Capture Plug-in (the OCR layer), created 2007-03-03, time zone UTC-8. So neither the scan nor the OCR layer is the wiki's or furrtek's work: the wiki's site re-hosted a file made in 2007 and released by Neo-Geo.com in 2011. The pin now fetches the hardmvs copy from the Wayback Machine (`scripts/pinned_files.json`; same hash, so every `[SNK pN]` citation and page number stands). The "leaked 2011" date, once the wiki's, is now the forum thread's. Checked: `fetch_references.py --no-repos` fetched it and `--verify --no-repos` reports all pins satisfied. **2. SNK's AES and MV1F schematics.** Never pinned here (nothing to remove). Searched 2026-11-26 for a host other than the wiki: none found for the **AES** or **MV1F** drawings (retrosix.wiki lists AES schematic and MV-1 service manual files, shown as unavailable). For the **MV-4 and MV-4F** (four-slot MVS) an independent scan exists: lithy scanned his own paper copies, bought on eBay (arcade-projects.com post 445167, 2024-11-20 and 22, Google Drive folders); the wiki copied them afterwards (Rom1, 2024-11-23). Not fetched. U14 (the audio mix) stays open; the MV-4/MV-4F scan is a candidate for the MVS audio path in M5, not for the AES or MV1F. **3. `ym2610-python`.** The C3 and C4 this audit named were the archived first repository's numbering (`ed216d0`, which [sound.md](sound.md) still cites as the boundary it was matched to). In the restarted `ym2610-python`, C3 is the write wait and BUSY: the 17/83 rule is Yamaha's manual (DOC, its ยง9(a)), and only "a write made sooner is lost" was the wiki's (now HYPOTHESIS there, U1). The "left on SH1" reading is not in the restarted repository at all. That repository's own audit is in its `docs/provenance.md`, "Author respect". Here: S10 now cites the manual through that core and keeps the lost-write part as a hypothesis; S11's sentence says the reading is not carried. **4. The calendar window (R14, M1's exit).** "57-64 frames" rests on the wiki alone. It is marked **needs new evidence** in [system-rom.md](system-rom.md), [validation.md](validation.md) and the brief's M1 row, whose exit now asks only that the test passes at the nominal ratio. Proposal to settle it (not run tonight): a short closed-box MAME 0.285 trace of the `euro` system ROM through the calendar test, reading the frame count and the compare values from the executed instructions (OBSERVED); then the same run with the emulated TP period moved until "CALENDAR ERROR" appears. | Row | Was | Now | | --- | --- | --- | | S10 | 17/83 from the data sheet: H (wiki) | the 17/83 wait: DOC (Yamaha manual via `ym2610-python`); writes lost when too soon, SNK's 146: H | | S11 | the wiki's "left on SH1" | W: not carried by the restarted core | | S12 | audio schematics: H | AES/MV1F: no other copy found; MV-4/MV-4F: independent scan exists, not fetched | | R14 | calendar 57-64 frames: H | H, **needs new evidence**; M1's exit no longer uses the window |