# Upstreams One row per upstream program a tool here builds against. Each was checked on 2026-11-24 against Aubrey's rule of that day (a file with no "or later" grant, in a repository whose LICENSE is the GPL-2.0 text, is GPL-2.0-only), file by file at the pinned tree: the licence file, and the licence statement (or its absence) in every file the tool compiles, links, loads or patches. The same verdicts, and those of the upstreams that passed and stay in `emu-tools-gpl`, are in `emu-tools-gpl/docs/upstreams.md`. | Upstream | Licence file at the pin | Files that fail the rule (used by the tool) | Pinned commit | Patches | Tool | | --- | --- | --- | --- | --- | --- | | YM2608-LLE (nukeykt) | GPL-2.0 text | `fmopna_2610.c`, `fmopna_2612.c` and their headers `fmopna_2610.h`, `fmopna_2612.h`: the files the tools compile and include, each a two- to four-line wrapper with no notice at all. Only `fmopna_impl.c` and `fmopna_impl.h` grant "version 2 or (at your option) any later version"; `fmopna_rom.h` (YM2608 build only) and the README carry none | `7a2aca7b6830b96e48e3a4e1a40d15525993fa60`; fetched and built by `tools/ym2608-lle/build.sh` since 2026-11-24 | `tools/ym2608-lle/patches/ym2610-build-fix.patch` (ours, GPL-2.0-only: drops the two lines that stop the YM2610 build, in a copy used for that build only; the same two lines ym2610-python's build dropped by the compiler's errors) | `tools/ym2608-lle` | | sim68xx (Arne Riiber, Felix Erckenbrecht) | GPL-2.0 text | every MC6800 object the harness links: `src/arch/m6800/{instr,ireg,optab,sci}.c`, `src/arch/m68xx/{alu,io,memory,opfunc,reg}.c`, `src/base/{callstac,command,cpu,fileio,error,fprinthe,symtab,tty}.c` and the headers under `inc/` carry a copyright line only (Arne Riiber, 1994-1996) or nothing. The "version 2 or any later version" grants are in Felix Erckenbrecht's `src/base/main.c` and the HD6303 files, which the harness does not use. The README states no licence | `d49c99a61e6437d84ec313b91511db23e02efb54` | none | `tools/sim68xx` | | Atari800 (Atari800 Development Team) | GPL-2.0 text (`COPYING`); `README.TXT` says only "released under the GPL (see COPYING)" | `src/netsio.c` (compiled into the library: the a5200-python build defines `NETSIO`) has no licence statement at all; so do most headers, among them `src/libatari800/libatari800.h`, the public API the driver declares, and `src/atari.h`. The other compiled sources grant "version 2 or any later version", except `ide.c` and `pokeyrec.c` (MIT-style permission), the Altirra ROM images under `src/roms/` (all-permissive) and `votrax.c` (permission to distribute "under the terms of the GNU GPL license of Atari800") | `98cc2dc749867c9c7317a0271ba062a6c797f886` (shallow); fetched and built as a shared library by `tools/atari800/build.py` since 2026-11-25 (by hand in a5200-python before, by its docs' recipe) | none | `tools/atari800` | | Mednafen 1.32.1 | GPL-2.0 text (`COPYING`); its README lists GPLv3-incompatible code (Cygne's WonderSwan code, an old QuickLZ), not in the files patched | `src/pce/huc6280.h`, one of the three files the trace patch changes and quotes, has no licence statement. `src/pce/huc6280.cpp` and `src/pce/pce.cpp` grant "version 2 or any later version" | release tarball, SHA-256 `de7eb94ab66212ae7758376524368a8ab208234b33796625ca630547dbc83832`; fetched and built by `tools/mednafen/build.py` since 2026-11-25 (machines `pce` and `ss`; huc6280-python and sh2-python built it themselves before) | `tools/mednafen/patches/mednafen-trace.patch` (ours, GPL-2.0-only: it carries the three files' context lines), `pce` only; `ss` is built as published | `tools/mednafen` | | Nuked-MD (nukeykt, ogamespec, andkorzh) | GPL-2.0 text | `cartridge.c`, `controller.c`, `savestate.c`, `fj3002_fm.c`, their headers, `md.h`, `audio.h` and `68k_ucode.h`: no licence statement (below) | `594ca2a494104df559a907db7c8f5602a93b2078`; fetched by `tools/nuked-md/build_nuked_md.sh` when `NUKED_MD_SRC` is unset | none (`savestate.c` is compiled with its load function renamed by a define; no upstream file is changed) | `tools/nuked-md` | | WinUAE (Toni Wilen and the UAE authors) | GPL-2.0 text (`COPYING`, added by the pinned commit itself; the old pin `1977af5` had none) | every file the tool compiles and includes that carries no licence statement, `cputest.cpp` among them (41 of the 48 used), and `include/uae/types.h`, which grants "GNU General Public License version 2" with no "or later" in its own words (below) | `6e0d5ae15a9e7ae071d64fa052a34429ed787476` (2026-10-27) since 2026-11-24, was `1977af501f6c3389c2eefe119ecb10c82d6582f3`; fetched by `tools/winuae/build_winuae.py` | none (two adjustments to build copies: `gencpu.cpp`'s tester switch, `od-unix/machdep/m68k.h`'s `cctrue()`) | `tools/winuae` | How the check was made: the trees the consumers pin (ym2610-python's and megadrive-python's YM2608-LLE checkouts, m6800-python's sim68xx checkout, a5200-python's Atari800 checkout and the member list of its built library, huc6280-python's pinned Mednafen tarball, each at the commit or SHA-256 above, with no local changes) were searched file by file for a licence statement and an "or later" grant, and each statement found was read. These are readings of licence text, not legal advice; where a project's intent may be broader than its files say (Atari800's other sources all grant "or later"), the files decide, by the rule. ## The stand-alone repositories folded in (2026-11-24) Two of the three GPL tools that left their emulator repositories on 2026-11-19 as repositories of their own came here, with their history (subtree merges), on 2026-11-24: Nuked-MD's harness (`megadrive-nuked-md-harness`, now `tools/nuked-md`) and WinUAE's CPU-tester referee (`m68000-winuae-referee`, now `tools/winuae`). The stand-alone repositories are archived as `zzz-`. Their rows are in the table above; the evidence for each: **Nuked-MD at `594ca2a`** (re-scanned 2026-11-24 in megadrive-python's checkout, the same commit, no local changes): LICENSE is the GPL-2.0 text. Of the files the harness compiles and includes, `68k.c`, `arbiter.c`, `fc1004.c`, `fm.c`, `iochip.c`, `md.c`, `tmss.c`, `vdp.c`, `vram.c`, `z80.c` and their headers, `common.h` and `video.h` grant "or later"; `cartridge.c`, `controller.c`, `savestate.c`, `fj3002_fm.c`, their headers, `md.h`, `audio.h` and `68k_ucode.h` carry no licence statement at all, so they are GPL-2.0-only by the rule. **WinUAE at `6e0d5ae`, the pin since 2026-11-24** (Aubrey's decision of that day; checked the same day in the tree `build_winuae.py` fetches, GitHub's archive of the commit; the files are those the compiler's dependency lists (`g++ -MM`, the build's own flags) name for every unit the build compiles, 45 upstream files, plus `gencpu.cpp`, whose output the build compiles, `cputest/main.c`, which the driver partly reproduces, and `od-unix/machdep/m68k.h`, of which the build compiles an adjusted copy: 48 in all): - **Licence file: `COPYING`, the GPL-2.0 text.** It is byte-identical to this repository's `LICENSE`. The pinned commit is the one that adds it (its only change; message "Add COPYING file"), and GitHub's licence API reports GPL-2.0 at the commit, from `COPYING`. The README states no licence. - **So the rule decides the tree:** each of the 41 used files that carries no licence statement at all (copyright lines at most) is GPL-2.0-only: `cputest.cpp` (included by the driver), `cputest_support.cpp`, `cpudefs.cpp`, `readcpu.cpp`, `disasm.cpp`, `fpp.cpp`, `fpp_softfloat.cpp`, `ini.cpp`, `gencpu.cpp`, `cputest/main.c`, `cputest/cputest_defines.h`, the `od-unix/` headers used (`sysconfig.h`, `target.h`, `tchar.h`, `machdep/maccess.h`, `machdep/rpt.h`, and `machdep/m68k.h`, of which the build compiles an adjusted copy), the headers under `include/` other than `cpummu.h` and `uae/types.h` (among them the new `winuae_version.h`, which `options.h` now includes), and `softfloat/softfloat_decimal.cpp`, `softfloat_fpsp.cpp` and `softfloat_fpsp_tables.h`. - **GPL-2.0-only by its own words:** `include/uae/types.h` (Frode Solheim, 2014), unchanged: "Licensed under the terms of the GNU General Public License version 2. See the file 'COPYING' for full license text", the file that now exists. - **"Or later" or permissive, compatible with GPL-2.0-only:** `include/cpummu.h` (ARAnyM) and the DIVU/DIVS cycle section of `newcpu_common.cpp` (Jorge Cwik) grant "version 2 or any later version" (the rest of `newcpu_common.cpp` has no statement, so it is GPL-2.0-only); `softfloat/softfloat.cpp`, `softfloat.h`, `softfloat-macros.h` and `softfloat-specialize.h` state the SoftFloat-2a and BSD licences and GPL-2.0-or-later for some QEMU contributions. - No used file states terms incompatible with GPL-2.0-only. **Verdict: every file the tool compiles and links is under GPL-2.0 (only, where it grants nothing more); the tool as built is GPL-2.0-only**, as it was taken to be at the old pin, now on the tree's own licence file rather than on `types.h` alone. What changed between the pins in what the tool uses (380 upstream commits; most of the 227 changed files are emulator, debugger and GUI code the tool does not build): of the 48 files, `cputest.cpp`, `gencpu.cpp`, `include/{cpummu030.h, cpummu.h, debug.h, mmu_common.h, newcpu.h, options.h, savestate.h, sysdeps.h, traps.h}` and `od-unix/{sysconfig.h, target.h}` changed and `include/winuae_version.h` is new. In `cputest.cpp` the changes touch only the generator's test-file writing, its mnemonic look-up loops, an options null check, and a rename of its private trim helper (which removed the clash the driver had worked around: the driver's rename was dropped); the two pieces the driver reproduces (the handler-table set-up and `cputest/main.c`'s 68000 exception-cycle count) are unchanged. `gencpu.cpp`'s one change is in the 68030 MMU core's set-up; the 68000 tester cores it generates (`cpuemu_90_test.cpp` to `_95_test.cpp`, the table) are byte-identical at both pins. **WinUAE at `1977af5`, the pin until 2026-11-24** (checked 2026-11-24 in the tree the tool fetches; the files listed are those the compiler's dependency lists name for every unit the build compiles, plus `gencpu.cpp`, whose output the build compiles, and `cputest/main.c`, which the driver partly reproduces): - **No licence file at the pin.** The tree has no LICENSE or COPYING; GitHub's licence API finds none at the commit. Upstream added `COPYING`, the GPL-2.0 text, on 2026-10-27 (`6e0d5ae`), after the pin. So the rule of 2026-11-24 does not decide this tree by itself. - **A GPL-2.0-only file by its own words:** `include/uae/types.h` (Frode Solheim, 2014): "Licensed under the terms of the GNU General Public License version 2", no "or later". The driver includes it, and so does every WinUAE unit the build compiles except `ini.cpp` and the three softfloat units (and gencpu). That alone keeps the tool out of `emu-tools-gpl`. - **"Or later" grants:** `include/cpummu.h` (ARAnyM) and the DIVU/DIVS cycle section of `newcpu_common.cpp` (Jorge Cwik). The softfloat files (`softfloat/*.cpp`, `*.h`) state the SoftFloat-2a and BSD licences and GPL-2.0-or-later for some QEMU contributions. - **No licence statement at all** (copyright lines at most): `cputest.cpp` (included by the driver), `cputest_support.cpp`, `cpudefs.cpp`, `readcpu.cpp`, `disasm.cpp`, `fpp.cpp`, `fpp_softfloat.cpp`, `ini.cpp`, the rest of `newcpu_common.cpp`, `gencpu.cpp`, `cputest/main.c`, `cputest/cputest_defines.h`, the `od-unix/` headers used, and the headers under `include/` other than the two above. With the pin's tree having no licence file, these have no stated terms; with upstream's later `COPYING`, the rule would make them GPL-2.0-only. Neither reading lets the tool into a GPL-3.0-or-later repository, so it is here. The tool's own source commits none of WinUAE's files (the stand-alone repository's history held only our seven files); the driver reproduces two short pieces of cputest code (the handler-table set-up and the 68000 exception-cycle table), which is why its header is GPL-2.0-only.