# tools/ One folder per upstream program. The root is **`EMU_TOOLS_GPL2`** (a checkout of this repository); each tool's files sit at the fixed paths below. Each folder's README says what the tool measures, its command line and outputs, its upstream, licence and pin. | Tool's path | What it is | Upstream (pin) | Moved from (`emu-tools-gpl`, 2026-11-24) | Used by, through | | --- | --- | --- | --- | --- | | `$EMU_TOOLS_GPL2/tools/ym2608-lle/build/lle2610_probe` (build: `tools/ym2608-lle/build.sh`, which fetches the pin and applies `patches/ym2610-build-fix.patch` to a copy; contract: `run.py --machine ym2610`; smoke: `tests/smoke.py`) | the YM2610 closed-box probe, built (ym2608-lle 0.1.0); its source `lle2610_probe.c` stays at `$EMU_TOOLS_GPL2/tools/ym2608-lle/lle2610_probe.c` for consumers that still compile it | YM2608-LLE (`7a2aca7`) | `tools/ym2610-python/lle2610_probe.c` | ym2610-python, `EMU_TOOLS_GPL2` (compiles the source today) | | `$EMU_TOOLS_GPL2/tools/ym2608-lle/build/lle2612_ref` (the same `build.sh`; contract: `run.py --machine ym2612`) | the YM2612 event-file harness, built; source `lle2612_ref.c`, old one-binary build `build_lle2612_ref.sh` | YM2608-LLE (`7a2aca7`) | `tools/megadrive-python/validation/lle2612_ref.c` and that folder's `build_referees.sh` (its YM2608-LLE step) | nobody (megadrive-python's withdrawn sound cores) | | `$EMU_TOOLS_GPL2/tools/sim68xx/sim68xx_harness.c` | the MC6800 single-step harness (C source, compiled by the consumer) | sim68xx (`d49c99a`) | `tools/m6800-python/sim68xx_harness.c` | m6800-python, `M6800_GPL_TOOLS` | | `$EMU_TOOLS_GPL2/tools/atari800/atari800_run.py` (build: `tools/atari800/build.py`, which fetches the pin and builds `build/libatari800.so`, since 2026-11-25; smoke: `tools/atari800/tests/smoke.py`) | the libatari800 driver in 5200 mode, and atari800-build 0.1.0 | Atari800 (`98cc2dc`) | `tools/a5200-python/atari800_run.py`; the library was a5200-python's hand build | a5200-python, `EMU_TOOLS_GPL2` | | `$EMU_TOOLS_GPL2/tools/mednafen/build/pce/bin/mednafen` and `.../build/ss/bin/mednafen` (build: `tools/mednafen/build.py --machine pce` or `ss`, which fetches the pinned tarball and, for `pce`, applies `patches/mednafen-trace.patch`; smoke: `tools/mednafen/tests/smoke.py`) | mednafen-build 0.1.0 (2026-11-25): the PC Engine trace build and the Saturn build; the patch alone was here from 2026-11-24 | Mednafen 1.32.1 (tarball) | `tools/huc6280-python/mednafen-trace.patch` (the patch); the builds came from huc6280-python's and sh2-python's own `reference/build/` | huc6280-python and pcengine-python (`pce`), sh2-python (`ss`), `EMU_TOOLS_GPL2` | | `$EMU_TOOLS_GPL2/tools/nuked-md/build/nukedmd-headless` (build: `tools/nuked-md/build_nuked_md.sh`, which fetches the pin unless `NUKED_MD_SRC` names a tree; smoke: `tools/nuked-md/tests/smoke.py`) | nuked-md 0.2.0: the headless pin tracer around the whole-board model (ROM on the command line, the rest by `NMD_*` variables) | Nuked-MD (`594ca2a`) | not from `emu-tools-gpl`: the stand-alone repository `megadrive-nuked-md-harness`, folded with its history on 2026-11-24 | megadrive-python, `EMU_TOOLS_GPL2` (its `NUKED_MD_HARNESS` is retired) | | `$EMU_TOOLS_GPL2/tools/winuae/build/winuae_referee` (build: `tools/winuae/build_winuae.py`, which fetches the pin; smoke: `tools/winuae/tests/smoke.py`) | winuae-referee 0.2.0: one 68000 instruction per case on WinUAE's CPU-tester core (cases on standard input, results on standard output) | WinUAE (`6e0d5ae`, was `1977af5` until 0.2.0) | not from `emu-tools-gpl`: the stand-alone repository `m68000-winuae-referee`, folded with its history on 2026-11-24 | m68000-python, `EMU_TOOLS_GPL2` (its `WINUAE_REFEREE` is retired) | Each old location in `emu-tools-gpl` keeps a README saying where its tool went and, where a consumer still uses it, a relative link at the old file name pointing here (`../../../emu-tools-gpl2/tools/...`). The link works only while `emu-tools-gpl` and this repository are checked out side by side; the consumers' old variables reach the tools through it until they move (`emu-tools-gpl/docs/consumer-migration.md`). The files were moved, not rewritten: each kept its content except a missing SPDX line added (`lle2612_ref.c`, `sim68xx_harness.c`) and the Mednafen patch's licence preamble corrected (its README). `nuked-md` and `winuae` came from stand-alone repositories by subtree merge, so their history is here: the stand-alone commits are the second parents of the merges "Fold megadrive-nuked-md-harness into tools/nuked-md" and "Fold m68000-winuae-referee into tools/winuae" (`git log MERGE^2`, where the files sit at the root). What changed at the fold is in each `CHANGELOG.md`. The old directories are archived beside the checkouts as `zzz-`, each with an `ARCHIVED.md` naming its new folder.