# Sources: terms, tiers, what each may decide Every outside source this Phase 0 met, checked against emulator-lineage `docs/sources.md` on 2026-11-26. Two questions per source, kept apart (methodology, "Author respect"): what its licence allows, and what its author wishes. Tiers are [validation.md](validation.md)'s: 1 hardware-captured, 2 manufacturer documents, 3 hardware-corrected community documents and tests, 4 HDL reimplementations, 5 emulators. A low tier is a detector, never a judge. Short names (used in every document here) in **bold**. ## Used: documents (pinned in `scripts/pinned_files.json`) | Source | Terms | Author's wishes | Tier | Verdict and use | | --- | --- | --- | --- | --- | | **CM16B** Charles MacDonald, "Sega System 16B hardware notes" (2001-2003, last entry 01/12/03) | "Unpublished work Copyright 2001, 2002, 2003 Charles MacDonald"; Disclaimer: credit him in the project's documentation; "you cannot put this document on another website, nor link directly to it" | credit; no re-hosting, no direct link. No AI objection found (his document index page and the five notes read 2026-11-26) | 3 ("Most everything within has been tested and verified on a System 16 board", with his caveat that his methods could be flawed) | facts only; credited in README; cited by title and section, never linked to the file | | **CMSND** MacDonald, "Sega System 16B sound hardware information" (2003-11-22) | as CM16B | as CM16B | 3 | facts only | | **CMP16** MacDonald, "Sega Pre-System 16 hardware notes" (2004-03-29) | as CM16B | as CM16B | 3 (tested on a Body Slam board) | facts only | | **CM18** MacDonald, "Sega System 18 hardware notes" (2003) | as CM16B | as CM16B | 3 | facts only; the System 18 row | | **CM5797** MacDonald, "171-5797 ROM board notes" (2007) | "(C) 2007 Charles MacDonald" | as CM16B | 3 (socket pinouts) | facts only | | **D7759** NEC Electronics (Europe), "uPD7759 ADPCM Speech Synthesis LSI, Product Description" v1.0 (12/85) | NEC's copyright; bitsavers scan | none stated | 2 | facts only, cited by page | | **DS7759** NEC, "uPD7759 ADPCM speech synthesizer LSIs" data sheet (a datasheet-site copy kept in jotego's jt7759 `doc/`) | NEC's copyright | none stated | 2 | facts only. Only this PDF is fetched from that GPL-3.0 repository, no HDL | | **DS775X** NEC uPD7755/56/57/58 data sheet (same host) | NEC's copyright | none stated | 2 | facts only | | **UM7756** NEC "uPD7755/uPD7756 User's Manual" (bitsavers) | NEC's copyright | none stated | 2 | facts only | | **NEC89** NEC 1989 DSP and Speech Products Data Book (bitsavers) | NEC's copyright | none stated | 2 | facts only | | **D7751** NEC Electronics (Europe) uPD7751 speech synthesizer data sheet (bitsavers) | NEC's copyright | none stated | 2 | facts only | | **MCS51** Intel, "MCS-51 Microcontroller Family User's Manual", February 1994 (bitsavers) | Intel's copyright | none stated | 2 | facts only; the new mcs51-python core's main document | | **AHFD** Eduardo Cruz (ArcadeHacker), "Sega Hitachi FD1089 / FD1094 Security Programming Guide" (2018-12-08), from github.com/ArcadeHacker/ArcadeHacker_Sega_Hitachi at `fb4520d` | **no licence stated** (no LICENSE file in the repository) | none stated | 3 (keys written into real modules, games verified running) | cite only, facts only; the two Arduino sketches (`.ino`, 1.1 MB and 4.4 MB, the key tables) are unlicensed code and are **not fetched** (cps1-python's 2026-11-24 ArcadeHacker ruling) | | **JT16**, **JT16B**, **JT18**, **JTOR** jotego's READMEs for jtcores `cores/s16`, `s16b`, `s18`, `outrun` at `428ef2f` | in a GPL-3.0 repository ("Contact the author for special licensing needs. Otherwise follow the GPLv3") | none found in the READMEs | 1 for his stated scope and analyser measurements (HSync by OSSC, VSync by Analog Discovery, vblank length, crystal positions); 4 for statements "derived from the schematics and ... not checked on a PCB" | facts and data only (sources.md's jotego row: documents and board captures are data); no HDL fetched | ## Used: run, never read (closed boxes) | Source | Terms | Tier | Use | | --- | --- | --- | --- | | **MAME 0.285** binary (`/usr/games/mame`, "0.285 (unknown)") | GPL-2.0+ as a whole; the System 16 family's files are BSD-3-Clause by their `license:` lines (table below) | 5 | `-listsource`, `-listxml`, `-listdevices` for the census; headless traces ([mame-oracle.md](mame-oracle.md)). Its source is not opened (brief: closed box); whether the BSD-3 files may be read is open decision 3 | ## MAME files: `license:` lines only (read 2026-11-26) Only the first two lines of each file were read, by an HTTP range request for its first 300 bytes at commit `f379cd060ac3b2bd567ebbd0957aed059d6895ff` (the commit tag `mame0285` points to; the tag object itself is `3bd358f`, the hash m68000-python's timing.md cites). Nothing else of any file was read, and nothing is kept. | File | `license:` | `copyright-holders:` | | --- | --- | --- | | `src/mame/sega/segas16a.cpp`, `segas16a_v.cpp`, `segas16b.cpp`, `segas16b_v.cpp`, `segas18.cpp`, `segas18_v.cpp`, `segaorun.cpp`, `segaorun_v.cpp` | BSD-3-Clause | Aaron Giles | | `src/mame/sega/segas16b_isgsm.cpp` | BSD-3-Clause | David Haywood | | `src/mame/sega/system16.cpp`, `system16_v.cpp` (the bootlegs) | BSD-3-Clause | Nicola Salmoria, Phil Stroffolino, Mirko Buffoni | | `src/mame/sega/fd1089.cpp`, `fd1094.cpp` | BSD-3-Clause | Nicola Salmoria, Andreas Naive, Charles MacDonald | | `src/mame/sega/315_5195.cpp`, `sega16sp.cpp`, `segaic16.cpp`, `segaic16_road.cpp`, `segaic16_m.cpp` | BSD-3-Clause | Aaron Giles | | `src/mame/sega/nl_segas16b.cpp` (the 16B analog output netlist) | **CC0-1.0** | Couriersud | | `src/devices/sound/upd7759.cpp` | BSD-3-Clause | Juergen Buchmueller, Mike Balfour, Howie Cohen, Olivier Galibert, Aaron Giles | | `src/devices/sound/segapcm.cpp` | BSD-3-Clause | Hiromitsu Shioya, Olivier Galibert | | `src/devices/sound/rf5c68.cpp` | BSD-3-Clause | Olivier Galibert, Aaron Giles | | `src/devices/cpu/mcs51/i8051.cpp`, `ds5002fp.cpp` | BSD-3-Clause | Steve Ellenoff, Manuel Abadia, Couriersud | | `src/devices/cpu/mcs51/mcs51ops.cpp`, `mcs51dasm.cpp` | BSD-3-Clause | Steve Ellenoff | | `src/devices/cpu/z80/mc8123.cpp` | BSD-3-Clause | Nicola Salmoria, David Widel | | `src/devices/cpu/mcs48/mcs48.cpp` | BSD-3-Clause | Dan Boris, Mirko Buffoni, Aaron Giles, Couriersud | | `src/devices/machine/i8243.cpp` | BSD-3-Clause | Aaron Giles | The `.h` files were not checked; a file without a `license:` header is GPL-2.0+ (sources.md's MAME row), so each header is checked again before anything is taken. ## Met and not used | Source | Terms | Why not used | | --- | --- | --- | | "315-5195_schematics.pdf" in jtcores `cores/s16b/doc/` at `428ef2f` (17 pages, Proteus, 2021-07-27): a gate-cell-level trace of the 315-5195 (cell names of a gate array) | in a GPL-3.0 repository; **author not stated** in the file, the README or the commit that added it ("Added s16/s16b/shanon/outrun/s18/sx cores", Jose Tejada) | **lineage unverified**: a die-level trace of a Sega custom chip whose author is not named, and furrtek publishes gate-level traces of custom chips, so the furrtek lineage cannot be ruled out from what is in hand. Downloaded once to read its first page, moved aside out of the repository, **not pinned, not used**; JT16B's DTACK paragraph, which cites it, is therefore not used either. A lineage check (asking jotego who traced it) is open decision 9 | | jotego's HDL (jtcores `s16`, `s16b`, `s18`, `outrun`; `jt7759`; `jt51`) | GPL-3.0 | closed box only; not fetched. A tier-4 detector if built in emu-tools-gpl | | MAME's own copies of `segas16b.cpp` and friends inside jtcores `doc/` | MAME files (BSD-3 by header) | not fetched: the brief keeps MAME closed | | jtcores `cores/s16b/doc/s16b.txt` (48,567 bytes) | appears to be a copy of CM16B (48,547 bytes) | MacDonald forbids re-hosting; use his own copy, never this one | | ArcadeHacker sketches `ArcadeHacker_Sega_FD1089.ino`, `ArcadeHacker_Sega_FD1094.ino` | unlicensed | not fetched (the key tables are data read from real chips; MAME's romsets already carry the keys) | | MacDonald's "loftech.txt" (X-Board), "s24tech.txt", "s32tech.txt" | as CM16B | other boards; X-Board shares the road chip family (not this board) | ## Author respect - No source used here is in the furrtek lineage, so docs/provenance.md would have nothing to list under "Author respect" yet. The one possible contact point is the unattributed 315-5195 gate trace above, which is set aside until its author is known. - No author of a used source states an objection to AI use (checked: MacDonald's Disclaimers and his document index; jotego's READMEs; ArcadeHacker's guide). ## Proposed rows for emulator-lineage `docs/sources.md` 1. Charles MacDonald, Sega System 16B / 16B sound / Pre-System 16 / System 18 / 171-5797 notes (2001-2007): "Unpublished work Copyright"; Disclaimer asks for credit and forbids re-hosting or direct links; facts only, credit him, cite by title and date; tested on real boards (tier 3). 2. NEC uPD7759 / uPD7755-58 / uPD7751 data sheets and the 1989 DSP and Speech Products Data Book: NEC's copyright, facts only, cited by page. 3. Intel MCS-51 User's Manual (1994, bitsavers): Intel's copyright, facts only. 4. Eduardo Cruz (ArcadeHacker), ArcadeHacker_Sega_Hitachi: no licence; the PDF guide is cited for facts; the sketches are unlicensed code, not fetched (extends the CPS-1 row). 5. MAME System 16 family files (the table above): BSD-3-Clause by their `license:` lines at `f379cd0`; `nl_segas16b.cpp` CC0-1.0; closed box under this Phase 0's brief. 6. jtcores `cores/s16b/doc/315-5195_schematics.pdf`: author not stated; not used until its lineage is known. 7. A refinement of the jotego row: a core's README prose and measurements are documents (data), as its `doc/` is; jtcores `cores/s16b/doc/s16b.txt` is a re-hosted copy of MacDonald's notes and is not used.