# arm7tdmi-python's NanoBoyAdvance referee **Moved (2026-11-25):** the driver is now `../nanoboyadvance/nba_sst/` (`nba` here is a link to it), built with NanoBoyAdvance by `../nanoboyadvance/build.py --machine arm7tdmi-sst`; see `../nanoboyadvance/README.md`. What follows describes the folder as parked on 2026-11-22. From the emulator family's arm7tdmi-python repository: `referees/nba/`, parked on 2026-11-22 at arm7tdmi-python's history reset (wave E) as it stood at `198a837` (old history). ## What it measures Per-instruction state and per-cycle bus agreement of NanoBoyAdvance's ARM7TDMI with the SingleStepTests corpus. OBSERVED (NanoBoyAdvance e8482c1). ## Who uses it arm7tdmi-python, which finds this folder through `ARM7TDMI_GPL_TOOLS`. `scripts/build_referees.py` builds `reference/build/nba_sst` from `nba/` against the pinned NanoBoyAdvance tree; `scripts/referee_sst.py` and `scripts/referee_icycles.py` run it. Without the variable the NBA referee is skipped. ## Contents - `nba/nba_sst.cc`: Runs NanoBoyAdvance's ARM7TDMI on SingleStepTests ARM7TDMI cases and reports state and bus agreement with every internal cycle. Upstream: NanoBoyAdvance (fleroviux), GPL-3.0-or-later, `e8482c1`. - `nba/shim/`: Stand-in headers that re-declare NanoBoyAdvance's bus, save-state and scheduler interfaces so its ARM core links alone; GPL-3.0-or-later, as their SPDX lines say. Upstream: the same. ## Licence and notices Our code (alewman); the files carry GPL-3.0-or-later SPDX lines. Upstream code is not committed here, except where a file above says it carries upstream lines; each tool fetches and builds its upstream at the pin from the consuming repository. This repository is GPL-3.0-or-later (`../../LICENSE`). ## Outputs Every value these tools give is a closed-box measurement: tag it OBSERVED with the upstream and its pin, and let any document or hardware measurement overrule it (`emu-tools/docs/wall.md`). Nothing here has been refactored onto the shared contract yet (`emu-tools/docs/contract.md`); that is the next job.