# Provenance This crate is a transcription of [spc700-python](https://github.com/alewman/spc700-python) at `552b24a` (MIT, same author). Its core inherits the reference's verdicts (spc700-python `docs/provenance.md`, the Wave 2 rewrite: the core rests on anomie, fullsnes, SingleStepTests and ares (ISC); no GPL or LGPL code). This file covers only what this repository adds. No emulator source was opened while writing it: the only files read were the reference's (`src/`, `tests/`, `scripts/`, `docs/`, `NOTICE`) and the family's other Rust ports for the shape. | Part | From | Licence | Verdict | | --- | --- | --- | --- | | `src/*.rs` (the core) | spc700-python's `spc700_python/`, module by module, with its comments | MIT (same family) | clean (inherited) | | `src/dispatch.rs`, `src/opcodes.rs` tables | generated from the reference's `HANDLER_NAMES` and `OPCODES` (itself generated from anomie's SPC700 Doc, facts) by `scripts/gen_tables.py`, checked against them on every run | MIT | clean | | `src/harness.rs`, `src/replay.rs` | the reference's `harness.py` and `replay.py` | MIT | clean | | `src/bin/sst.rs`, `programs.rs`, `mame_replay.rs` | the reference's `tests/sst_runner.py`, `tests/test_spctest.py`, `tests/test_cpu_tests.py`, `tests/test_replay.py` | MIT | clean | | `src/bin/trace.rs`, `bench.rs`, `scripts/*` | own work; the Python scripts run the reference's own session, trace writer, reader, harness and replay | MIT | clean | | `tests/core_contract.rs` | the reference's `tests/test_core_contract.py` | MIT | clean | | `conformance/scenarios/*.json` | generated by `scripts/make_scenarios.py` (seeded random bytes and events) | MIT | clean | | `conformance/expected/` | the reference's measured output (counts and cycle numbers) | MIT | clean | | `NOTICE.md` | ares's ISC notice as the reference's NOTICE carries it | ISC notice | kept | Outside data, read in place from the reference's gitignored `reference/` and `tests/mame_traces/` by environment variable (`scripts/env.sh`), none committed: SingleStepTests spc700 and JSMoo (MIT), gilyon's snes-tests (MIT), PeterLemon's tests (no licence stated: run only), the IPL ROM (firmware, written by the reference's `scripts/build_referees.py`, never committed here), MAME 0.285's traces (MAME run as a program by the reference's `scripts/mame_trace.py`; the games are the user's own dumps). All are in emulator-lineage `docs/sources.md`. Every source file carries an SPDX header (`MIT`).