# Referees: closed-box tools, not part of the core The programs here run other implementations as **closed boxes** (measuring instruments and detectors) for `scripts/`. They are tools, outside the shipped package (`src/arm7tdmi_python/`), built locally by `scripts/build_referees.py` and never distributed. Each keeps the licence of what it links: | Directory | Links | Licence of the tool | | --- | --- | --- | | `mgba/` | mGBA's ARM and Thumb decoder (Jeffrey Pfau) | MPL-2.0 (file-level copyleft) | | `multiply/` | zaydlang's `multiplication-algorithm` | Zlib | The NanoBoyAdvance referee (`nba/`: a driver linking NanoBoyAdvance's ARM core by fleroviux, pinned in `scripts/pinned_repos.json`, and shim headers that re-declare its interfaces so the core links) is GPL-3.0-or-later and so is kept outside this MIT repository (moved out 2026-11-22; docs/provenance.md "History reset"), at `$EMU_TOOLS_GPL/tools/arm7tdmi-python/nba/`. Set `EMU_TOOLS_GPL` to a checkout of emu-tools-gpl and `scripts/build_referees.py` builds it as before. The upstream sources are fetched into `reference/src/` and are **built, never read**: no rule in the core was taken from NanoBoyAdvance's or mGBA's source (the family charter, "Licences and provenance"; docs/provenance.md). Results measured with these tools are tagged OBSERVED in the core and its documents.