# Upstreams One row per upstream program a tool here builds against, as gathered on 2026-11-22 (the family's history clean-up, wave G). Licences were checked at the pinned trees: each upstream's licence file and the headers of the files the tool uses. The commit is the one the consuming repository pins. Tools regrouped by upstream fetch and build their upstream themselves (`build.sh`, from 2026-11-23: Mesen2 and the Nuked models; from 2026-11-24 lvd2's AY model and YM2203-LLE, and in `emu-tools-gpl2` YM2608-LLE); the others do not yet (the consuming repository's fetch script does). | Upstream | Licence (as checked) | Pinned commit | Patches | Used by tool | | --- | --- | --- | --- | --- | | Nuked-OPLL (Nuke.YKT) | GPL-2.0-or-later (LICENSE: GPL-2.0 text; header grants "or any later version") | `1269cf5a783b65583b50fa2464d08be75830aaa0`; fetched and built by `tools/nuked/build.sh` | none | `tools/nuked`; shim in `tools/ym2413-python` | | Nuked-OPN2 (Nuke.YKT) | LGPL-2.1-or-later | `335747d78cb0abbc3b55b004e62dad9763140115`; `tools/nuked/build.sh` | none | `tools/nuked`; shims in `tools/ym2612-python`, `tools/megadrive-python` | | Nuked-PSG (Nuke.YKT) | GPL-2.0-or-later (header: "GPLv2+") | `d15a168c676f4669e23660be9225b34ad7c1764e`; `tools/nuked/build.sh` | none | `tools/nuked`; shims in `tools/sn76489-python`, `tools/megadrive-python` | | Nuked-OPM (Nuke.YKT) | LGPL-2.1-or-later | `f209e6ed3712032b641d53ce8fb24824eae6adc3`; `tools/nuked/build.sh` | none | `tools/nuked`; shim in `tools/ym2151-python` | | YM2203-LLE (nukeykt) | GPL-2.0-or-later (header grant in both source files) | `817387fd89affd0db5331034d6ae04d919e25a5e`; fetched and built by `tools/ym2203-lle/build.sh` since 2026-11-24 | none | `tools/ym2203-lle`; link in `tools/ay8910-python` | | lvd2/ay-3-8910_reverse_engineered (deathsoft, lvd) | GPL-3.0-or-later (`ay_model.v` grant) | `cf8d14db0aec5ae86ed4f4e6e67bf14c40a42d77`; fetched (rtl/ only) and built by `tools/ay-die-model/build.sh` since 2026-11-24 | `tools/ay-die-model/patches/trireg-keepers.patch`: the six trireg nets given keepers, applied to a copy (the change ay8910-python's `icarus_port.py` made in a git-ignored copy) | `tools/ay-die-model`; link in `tools/ay8910-python` | | MiSTer-devel/SNES_MiSTer (srg320's P65C816) | GPL (LICENSE: GPL-3.0 text; top-level sources grant GPL-2.0-or-later; the P65C816 files carry no header) | `2302683` | none | `tools/65816-python` | | MiSTer-devel/TurboGrafx16_MiSTer (srg320's HUC6280) | **unlicensed, run only** (Aubrey, 2026-11-24): no LICENSE file at the pin and the HUC6280 files carry no notice; the top-level grant is not taken to cover them. Never redistributed: the testbenches fetch the pinned files and never commit them | `827d45f` | none | `tools/huc6280-python` | | snes_spc 0.9.0 (blargg) | LGPL-2.1-or-later (`license.txt`: LGPL-2.1 text; the eight `snes_spc/*.cpp` grant "or (at your option) any later version"; the nine headers carry no notice; re-read 2026-11-24) | archive SHA-256 `dbad8273973a26f1b0c2a07b61b68855b2d96526fbc2cdd237f9d4fb91083aed` (the Internet Archive's copy of blargg's `snes_spc-0.9.0.zip`); fetched and built by `tools/snes-spc/build.sh` since 2026-11-24 | none | `tools/snes-spc`; links in `tools/s-dsp-python`, `tools/snes-python` | | jgenesis (jsgroth) | GPL-3.0 | `d41e2d9` | `registers_mut()` accessor added to a copy of `sh2-emu` by `build_jgenesis_harness.py` | `tools/sh2-python` | | 6502Decoder (David Banks, hoglet67) | GPL-3.0 (`LICENSE.txt`) | `c32dd60091493558e06e1c682dbea50b904a9fdc` (2026-10-22); fetched and built by `tools/6502decoder/build.py` since 2026-11-25 (w65c02-python built it before) | none | `tools/6502decoder` | | mGBA (Jeffrey Pfau and contributors) | MPL-2.0 (file-level copyleft; here through its secondary-licence clause) | `fd9dc5c2cbf234365068855851107e762fc6211b` (2026-10-18); fetched and built by `tools/mgba/build.py` since 2026-11-25 (gba-python and arm7tdmi-python built it before); with Lua 5.4.7 (MIT, tarball SHA-256 `9fbf5e28...1e30`) for `gba` | none | `tools/mgba` | | NanoBoyAdvance (fleroviux) | GPL-3.0-or-later | `e8482c1efc6cde3f553e8170a51abea71cee426e` (arm7tdmi-sst), `8c3b159c649b027ea8fc87df3290bad4cdcdcf4b` (gba, v1.8.3); fetched and built by `tools/nanoboyadvance/build.py` since 2026-11-25 (the consumers built them before) | none | `tools/nanoboyadvance` (links in `tools/arm7tdmi-python`, `tools/gba-python`) | | Mesen2 (Sour) | GPL-3.0 (LICENSE: GPL-3.0 text) | `b9fa69ddc6d0a331fb103fdb5eef6904305703c2` (2.1.1); fetched and built by `tools/mesen2/build.sh` since 2026-11-23 | `tools/mesen2/patches/mesen2-detector-fixes.patch` (linked from `tools/famicom-python/`) | `tools/mesen2` (mesen2-runner); shims in `tools/famicom-python`, `tools/huc6280-python` (those of snes-, pcengine- and hg51b-python retired to `attic/`, 2026-11-24) | | MesenCE (the NESdev community; Mesen2's continuation) | GPL-3.0 (LICENSE: GPL-3.0 text). Its community bans AI contributions: run only, nothing contributed or posted | `4b8a196e299b3de297b204fd1208d2981562c89b` (2026-10-07); fetched and built by `tools/mesen2/build.sh --core mesence` since 2026-11-25 (decisions page T2; the commit famicom-python had built by hand) | none (built as published) | `tools/mesen2` (mesen2-runner 0.4.0, `--core mesence`) | | pce-devel/mednafenPceDev (Mednafen's `pce_psg.cpp`) | GPL-2.0-or-later | `55dba39` | none | `tools/pcengine-python` | | n6800 (Robert Baruch) | GPL-3.0-or-later | `f117162` | none (the harness subclasses at run time) | `tools/m6800-python` | ## The rule of 2026-11-24, and the verdicts Aubrey's decision of 2026-11-24: **a file with no "or later" grant, in a repository whose LICENSE is the GPL-2.0 text, is GPL-2.0-only**, and GPL-2.0-only code cannot sit in this GPL-3.0-or-later repository. Every upstream above whose licence file is the GPL-2.0 text was re-checked against it on 2026-11-24, file by file at the pinned tree (the consumers' checkouts, each at the commit or SHA-256 named, with no local changes): the licence file, and the licence statement or its absence in every file the tool compiles, links, loads into its own process, declares the API of, or patches. Those that fail moved to `emu-tools-gpl2` (GPL-2.0-only), whose `docs/upstreams.md` records the same verdicts; their old locations here keep a README and, where a consumer uses them, a relative link to the moved file. | Upstream (pin) | Verdict | Evidence | | --- | --- | --- | | YM2608-LLE (`7a2aca7`) | **fails: moved** (`emu-tools-gpl2/tools/ym2608-lle`: ym2610-python's probe, megadrive-python's `lle2612_ref.c` and its build step) | LICENSE: GPL-2.0 text. Only `fmopna_impl.c` and `fmopna_impl.h` grant "or any later version"; the YM2610 and YM2612 build wrappers the tools compile and include (`fmopna_2610.c/.h`, `fmopna_2612.c/.h`) carry no notice at all, nor do `fmopna_rom.h` and the README | | sim68xx (`d49c99a`) | **fails: moved** (`emu-tools-gpl2/tools/sim68xx`) | LICENSE: GPL-2.0 text; README states no licence. Every file of the MC6800 objects the harness links (`src/arch/m6800`, `src/arch/m68xx`, `src/base` callstac, command, cpu, fileio, error, fprinthe, symtab, tty, and the headers under `inc/`) carries a copyright line only or nothing; the "or later" grants are in `src/base/main.c` and the HD6303 files, which the harness does not use | | Atari800 (`98cc2dc`) | **fails: moved** (`emu-tools-gpl2/tools/atari800`) | COPYING: GPL-2.0 text; README.TXT: "released under the GPL (see COPYING)", no version. `src/netsio.c`, compiled into the library as a5200-python builds it, has no licence statement; nor do most headers, among them `src/libatari800/libatari800.h`, the API the driver declares and loads in its own process. The other compiled sources grant "or later" or are permissive (`ide.c`, `pokeyrec.c`, the Altirra ROM images; `votrax.c` is "under the terms of the GNU GPL license of Atari800") | | Mednafen 1.32.1 (tarball `de7eb94a...`) | **fails: moved** (`emu-tools-gpl2/tools/mednafen`: the trace patch) | COPYING: GPL-2.0 text. Of the three files the patch changes and quotes, `src/pce/huc6280.cpp` and `src/pce/pce.cpp` grant "or later"; `src/pce/huc6280.h` has no licence statement | | YM2203-LLE (`817387f`) | passes: stays (`tools/ym2203-lle`, from 2026-11-24) | LICENSE: GPL-2.0 text; both source files the harness compiles and includes, `fmopn.c` and `fmopn.h`, grant "or (at your option) any later version" (the README carries no notice and is not used) | | Nuked-PSG (`d15a168`) | passes: stays (`tools/nuked`) | LICENSE: GPL-2.0 text; `ympsg.c` and `ympsg.h` state "License: GPLv2+" (the `deprecated/` files grant "or later" too and are not used). sn76489-python's own copy is byte-identical to the pin | | Nuked-OPLL (`1269cf5`) | passes: stays (`tools/nuked`) | LICENSE: GPL-2.0 text; `opll.c` and `opll.h` grant "or (at your option) any later version". ym2413-python's own copy is byte-identical to the pin | | pce-devel/mednafenPceDev (`55dba39`) | passes: stays (`tools/pcengine-python`) | COPYING: GPL-2.0 text; the only upstream files compiled, `pce_psg.cpp` and `pce_psg.h`, grant "or later"; the two headers they include are our own stand-ins (GPL-2.0-or-later) | | SNES_MiSTer P65C816 (`2302683`) | outside the rule: stays (`tools/65816-python`) | LICENSE: GPL-3.0 text (the rule concerns a GPL-2.0 text); the P65C816 files carry no notice, so they take the repository's GPL-3.0 terms, which this repository can hold | | Nuked-MD (`594ca2a`), stand-alone | **fails: folded into `emu-tools-gpl2`** (`tools/nuked-md`, 2026-11-24) | LICENSE: GPL-2.0 text; several files the harness links (the cartridge, controller, save-state, audio and FJ3002 sources among them) carry no grant (re-scanned at the pin on 2026-11-24) | | WinUAE (`6e0d5ae`, was `1977af5`), stand-alone | **fails: folded into `emu-tools-gpl2`** (`tools/winuae`, 2026-11-24; repinned to `6e0d5ae` the same day, winuae-referee 0.2.0) | COPYING at the pin: the GPL-2.0 text (the pinned commit is the one that adds it; the old pin `1977af5` had no licence file). 41 of the 48 upstream files the tool compiles, includes or reproduces carry no licence statement (among them `cputest.cpp`, which the driver includes and partly reproduces), so they are GPL-2.0-only by the rule; `include/uae/types.h`, included by the driver and almost every unit, states "GNU General Public License version 2" with no "or later"; the rest grant "or later" or are permissive (SoftFloat, BSD). Full list: `emu-tools-gpl2/docs/upstreams.md` | | TurboGrafx16_MiSTer HUC6280 (`827d45f`) | **unlicensed, run only** (Aubrey, 2026-11-24); our testbenches stay here (`tools/huc6280-python`), the upstream files are fetched at the pin and never committed or shared | **no LICENSE file** at the pin (the tree and GitHub's licence API agree); the only licence statement is Sorgelig's GPL-2.0-or-later grant in the top-level `TurboGrafx16.sv`; srg320's HUC6280 files carry no notice at all. Aubrey's ruling (2026-11-24): treat such files as unlicensed, run only, like the POKEY VHDL | The other upstreams above (lvd2's AY model, n6800, NanoBoyAdvance, jgenesis, Mesen2: GPL-3.0 texts; Nuked-OPN2, Nuked-OPM, snes_spc: LGPL-2.1 texts) do not have a GPL-2.0 licence file, so the rule does not apply to them; they were not re-checked file by file in this wave. These are readings of licence text, not legal advice. ## The stand-alone tool repositories (folded 2026-11-24) The three GPL tools moved out of their emulator repositories on 2026-11-19 as repositories of their own are folded in, each with its history. `hg51b-mesen-harness` (Mesen2, GPL-3.0-or-later) was copied into `tools/mesen2` on 2026-11-23; its one commit was merged into this repository's history on 2026-11-24 (a merge that adds no files). `megadrive-nuked-md-harness` (Nuked-MD) and `m68000-winuae-referee` (WinUAE's CPU tester) fail the rule above (the two rows marked "stand-alone" in the verdicts table) and went to `emu-tools-gpl2` as `tools/nuked-md` and `tools/winuae`, whose `docs/upstreams.md` holds the evidence. The three stand-alone repositories are archived as `zzz-`, each with a note naming where its tool went.