diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml
index 70f1cf063..acc80e88e 100644
--- a/.github/workflows/android.yml
+++ b/.github/workflows/android.yml
@@ -49,6 +49,10 @@ on:
- 'Cargo.lock'
- 'rust-toolchain.toml'
- '.cargo/**'
+ # Packaged into the app's assets (app/build.gradle.kts, LicenseAssets.kt)
+ # and compared byte for byte by LicenseAssetsTest.
+ - 'LICENSE'
+ - 'NOTICE'
pull_request:
branches: [main]
# `ready_for_review` starts the build on a PR opened as a draft; see the
@@ -129,6 +133,8 @@ jobs:
- 'android/**'
- 'crates/rustynes-mobile/**'
- '.github/workflows/android.yml'
+ - 'LICENSE'
+ - 'NOTICE'
# The project toolchain (rust-toolchain.toml = 1.100) plus the two shipped
# Android targets (arm64 ships; x86_64 is the emulator/CI ABI), through
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5da5ab38b..a8d30fdc2 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1353,10 +1353,30 @@ jobs:
env:
RUSTYNES_DAP_FIXTURES: ${{ runner.temp }}/dap-fixtures
+ # REUSE 3.3 compliance (2026-11-15): every tracked file must state its
+ # copyright holder and licence, in its own SPDX header or in REUSE.toml, and
+ # every licence named must have its text under LICENSES/. Deliberately NOT
+ # gated on `changes`: a docs-only PR (a new .md, a screenshot) is exactly the
+ # change that can add an unlabelled file, so this runs on every event.
+ # The action runs `reuse lint` in the `fsfe/reuse:6` image; the local
+ # equivalent is `uvx reuse lint` (6.3.0 when this job was added).
+ reuse:
+ name: reuse lint (REUSE 3.3)
+ runs-on: ubuntu-26.04
+ # Typical: ~30 s (image pull + lint of ~4,100 files). Bounded so a hung
+ # job cannot hold the concurrency group -- see the block comment above
+ # `concurrency`.
+ timeout-minutes: 20
+ steps:
+ - uses: actions/checkout@v7
+ with:
+ persist-credentials: false
+ - uses: fsfe/reuse-action@v6
+
ci-success:
name: CI success
if: ${{ always() }}
- needs: [changes, setup, lint, test, full-build, test-roms, no_std, wasm, libretro-cross, bench, fuzz, coverage, dap-fixtures]
+ needs: [changes, setup, lint, test, full-build, test-roms, no_std, wasm, libretro-cross, bench, fuzz, coverage, dap-fixtures, reuse]
runs-on: ubuntu-26.04
# Typical: instant. Bounded so a hung job cannot hold the
# concurrency group -- see the block comment above `concurrency`.
diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml
index 89f64a079..19d0a3e46 100644
--- a/.github/workflows/ios.yml
+++ b/.github/workflows/ios.yml
@@ -190,6 +190,25 @@ jobs:
CODE_SIGNING_ALLOWED=NO \
| tee xcodebuild.log
+ # The app must carry the repository-root LICENSE and NOTICE (the GPL text
+ # and the MIT / ISC notices of the code the core derives from), which
+ # project.yml lists as resources by `../` path with an explicit
+ # `buildPhase` (XcodeGen maps no phase to an extensionless file). Checked
+ # in the built bundle, so a resource-phase regression fails here, as
+ # Android's LicenseAssetsTest and web.yml's check do for theirs
+ # (Antigravity on PR #664).
+ - name: The app bundle carries LICENSE and NOTICE
+ working-directory: ios
+ run: |
+ set -euo pipefail
+ app=$(find build/DerivedData/Build/Products -maxdepth 2 -type d -name '*.app' | head -n 1)
+ test -n "$app" || { echo "::error::no .app under build/DerivedData/Build/Products"; exit 1; }
+ for f in LICENSE NOTICE; do
+ test -s "$app/$f" || { echo "::error::$app/$f is missing or empty"; exit 1; }
+ cmp "$app/$f" "../$f" || { echo "::error::$app/$f differs from the repository's $f"; exit 1; }
+ done
+ echo "ok: $app carries LICENSE and NOTICE, identical to the repository's"
+
- name: Upload the xcodebuild log
if: ${{ failure() }}
uses: actions/upload-artifact@v7
diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml
index e1a39a2e0..4b70eccad 100644
--- a/.github/workflows/web.yml
+++ b/.github/workflows/web.yml
@@ -40,6 +40,8 @@ on:
- "mkdocs.yml"
- "PRIVACY.md"
- "scripts/render_privacy.py"
+ - "LICENSE"
+ - "NOTICE"
pull_request:
branches: [main]
# `ready_for_review` runs the build on a PR opened as a draft; see the
@@ -57,6 +59,8 @@ on:
- "mkdocs.yml"
- "PRIVACY.md"
- "scripts/render_privacy.py"
+ - "LICENSE"
+ - "NOTICE"
workflow_dispatch:
# Read-only by default. `pages: write` and `id-token: write` are granted per
@@ -217,7 +221,16 @@ jobs:
# Python-Markdown, installed above as a dependency of MkDocs.
run: python3 scripts/render_privacy.py PRIVACY.md privacy-site/privacy/index.html
- - name: Assemble the Pages site (demo at /, rustdoc at /api/, handbook at /docs/, policy at /privacy/)
+ # Runs on PRs too, unlike the assembly below: a PR that touches LICENSE or
+ # NOTICE (both are trigger paths) must fail here if it empties or removes
+ # one, not only after it merges (Antigravity on PR #664).
+ - name: LICENSE and NOTICE are present and non-empty
+ run: |
+ for f in LICENSE NOTICE; do
+ test -s "$f" || { echo "::error::$f is missing or empty"; exit 1; }
+ done
+
+ - name: Assemble the Pages site (demo at /, rustdoc at /api/, handbook at /docs/, policy at /privacy/, LICENSE.txt + NOTICE.txt at /)
if: env.IS_PR != 'true'
run: |
set -euo pipefail
@@ -227,6 +240,18 @@ jobs:
cp -r target/doc/. _site/api/
cp -r mkdocs-site/. _site/docs/
cp -r privacy-site/. _site/
+ # The repository-root LICENSE (GPL-3.0 text) and NOTICE (third-party
+ # attributions, including the MIT and ISC notices of the code the
+ # core derives from), copied at build time so the site that serves
+ # the wasm build of that core carries them, as the desktop archives
+ # do (release.yml). The `.txt` names make Pages serve them as
+ # text/plain, which a browser displays; an extensionless file is
+ # served as a download. The privacy page and the handbook footer
+ # link to them; an empty or missing file fails the deploy.
+ for f in LICENSE NOTICE; do
+ test -s "$f" || { echo "::error::$f is missing or empty"; exit 1; }
+ cp "$f" "_site/$f.txt"
+ done
# rustdoc emits no root index for a multi-crate workspace; add a
# redirect to the main library facade so /api/ lands somewhere useful.
cat > _site/api/index.html <<'HTML'
diff --git a/.gitignore b/.gitignore
index fd2b1fc29..177da142f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -155,7 +155,8 @@ artifacts/
# --- ROMs & media (copyright) ---
# The broad `*.nes`/`*.fds` rules ignore ALL ROMs; re-include the committable
-# CC0 / public-domain suites under tests/roms/, then HARD-exclude the commercial
+# test-ROM suites under tests/roms/ (licences per file in REUSE.toml and
+# tests/roms/LICENSES.md), then HARD-exclude the commercial
# dumps + the large fetched clone (NEVER committed — Nintendo copyright).
*.nes
*.fds
@@ -416,3 +417,6 @@ tests/roms/**/*.nl
# MkDocs Material's social-card and privacy plugins write their download/render
# cache here on every local `mkdocs build` (web.yml builds the handbook in CI).
/.cache/
+
+# Third-party Alliance Memory SDRAM datasheets, marked "Confidential": kept on disk only, never redistributed (see ref-docs/2026-11-15-sdram-datasheet-sources.md).
+/ref-docs/Datasheets/*.pdf
diff --git a/AGENTS.md b/AGENTS.md
index 920aabeae..506276c64 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -136,7 +136,7 @@ These cross-cutting decisions span multiple files. Reading individual chip docs
- `docs/` — implementation specs. These are the **spec**, not history: update them in the same PR as the code change. Per-subsystem files (`cpu-6502.md`, `ppu-2c02.md`, `apu-2a03.md`, `mappers.md`, `cartridge-format.md`, `scheduler.md`) + cross-cutting (`architecture.md`, `testing-strategy.md`, `performance.md`, `frontend.md`, `compatibility.md`). `docs/STATUS.md` is the **single source of truth** for per-suite pass counts, the mapper matrix, and version policy. `docs/adr/` holds Michael-Nygard-format ADRs.
- `ref-docs/` — immutable hardware + emulation reference (60+ source research report). Updates go in dated supplemental files.
- `to-dos/ROADMAP.md` → phase/sprint files — tickets with stable IDs `T-PS-NNN`. Reference in commits.
-- `tests/roms/` — CC0 / public-domain test ROMs (committed). `tests/roms/external/` — your own commercial dumps (gitignored).
+- `tests/roms/` — third-party test ROMs (committed; per-file licences in `REUSE.toml` and `tests/roms/LICENSES.md`, many with no licence stated). `tests/roms/external/` — your own commercial dumps (gitignored).
- `tests/golden/` / `screenshots/` — reference framebuffers, audio, and the visual baseline corpus (committed). `tests/captures/` — current-run output (gitignored).
**Never commit commercial Nintendo ROMs.**
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 61125acf5..eb4a25563 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -28,6 +28,38 @@ cycle-accurate core later replaced.
### Changed
+- **The Android and iOS apps and the web site carry the licence and the
+ third-party notices.** The desktop archives always shipped `LICENSE` and
+ `NOTICE`; the apps and the site did not, although they run the same core,
+ whose MIT- and ISC-licensed derived code requires its notices in every
+ copy. Android packs both files into the APK at build time (a Gradle task
+ copies them from the repository root, so no second copy can drift, and a
+ JVM test checks the merged assets) and shows them from About ("Open-source
+ licenses"); iOS bundles them as resources from the root and shows them from
+ About; the web site publishes `LICENSE.txt` and `NOTICE.txt`, linked from
+ the demo page, the privacy page and every handbook page. ares is now
+ recorded as ISC (it was misnamed BSD-2-Clause / Apache-2.0), with its notice
+ in `NOTICE`, and Bisqwit's NTSC filter names its author, Joel Yliluoma.
+ The libretro core, built by the libretro buildbot, still ships without
+ them (`T-LIBRETRO-NOTICES`).
+- **The tree is REUSE 3.3 compliant** ().
+ A root `REUSE.toml` states the copyright holder and licence of every file
+ (first-party work: `2025-2026 DoubleGate`, GPL-3.0-or-later), adds the
+ upstream holders NOTICE names to the 37 `// Provenance:` files and the
+ vendored code, and `LICENSES/` holds every licence text used, including
+ three `LicenseRef-` texts: `NoStatedLicense` (blargg, kevtris and the
+ `christopherpow/nes-test-roms` ROMs, the "Nes Controller" font),
+ `ThirdPartyGameImagery` (screenshots of commercial games) and
+ `bbbradsmith-permissive`. A new `reuse` CI job runs `reuse lint` on every
+ event; check locally with `uvx reuse lint`. The claim that blargg's and
+ kevtris's suites and the aggregator ROMs are public domain is corrected in
+ `tests/roms/LICENSES.md`, `NOTICE`, the per-directory READMEs and
+ `docs/originality-and-provenance.md` section 7: no dedication or licence was
+ found. The three Alliance Memory SDRAM datasheets (marked "Confidential")
+ are no longer tracked; `ref-docs/2026-11-15-sdram-datasheet-sources.md`
+ gives their public download locations. The iOS store copyright line no
+ longer says "MIT OR Apache-2.0".
+
- **Rust 1.100.0** (from 1.99.1), with the libretro buildbot on the same
release (`.gitlab-ci.yml`), the workspace `rust-version`, the two
standalone manifests, the Worker image's base and the comments that name
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 4dad111a5..b4f93df3d 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -224,7 +224,7 @@ Maintainers aim to review within 3–14 days; at least one approval and green CI
## Test ROM Legalities
-The repository ships test ROMs (`tests/roms/`) that are individually CC0 or public-domain; do not add ROMs unless their license is explicitly documented in `tests/roms/LICENSES.md`. **Never commit commercial Nintendo ROMs.** Place them in `tests/roms/external/` (gitignored) for local oracle testing.
+The repository ships third-party test ROMs (`tests/roms/`); their licences, or the fact that their authors stated none, are recorded per file in `REUSE.toml` and `tests/roms/LICENSES.md`. Do not add a ROM unless its author and license are documented in `tests/roms/LICENSES.md` and given a `REUSE.toml` annotation (the `reuse` CI job fails on an unlabelled file there). **Never commit commercial Nintendo ROMs.** Place them in `tests/roms/external/` (gitignored) for local oracle testing.
## Getting Help
diff --git a/Cargo.lock b/Cargo.lock
index 0f5c68ff2..04492c5df 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4876,6 +4876,7 @@ dependencies = [
"rustynes-gamedb",
"sha2 0.11.1",
"thiserror 2.0.21",
+ "toml",
"zip",
]
diff --git a/LICENSES/Apache-2.0.txt b/LICENSES/Apache-2.0.txt
new file mode 100644
index 000000000..137069b82
--- /dev/null
+++ b/LICENSES/Apache-2.0.txt
@@ -0,0 +1,73 @@
+Apache License
+Version 2.0, January 2004
+http://www.apache.org/licenses/
+
+TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+1. Definitions.
+
+"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
+
+"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
+
+"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
+
+"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
+
+"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
+
+"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
+
+"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
+
+"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
+
+"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
+
+"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
+
+2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
+
+3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
+
+4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
+
+ (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
+
+5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
+
+6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
+
+7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
+
+8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
+
+9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
+
+END OF TERMS AND CONDITIONS
+
+APPENDIX: How to apply the Apache License to your work.
+
+To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
+
+Copyright [yyyy] [name of copyright owner]
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
diff --git a/LICENSES/CC-BY-4.0.txt b/LICENSES/CC-BY-4.0.txt
new file mode 100644
index 000000000..13ca539f3
--- /dev/null
+++ b/LICENSES/CC-BY-4.0.txt
@@ -0,0 +1,156 @@
+Creative Commons Attribution 4.0 International
+
+ Creative Commons Corporation (“Creative Commons”) is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an “as-is” basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible.
+
+Using Creative Commons Public Licenses
+
+Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses.
+
+Considerations for licensors: Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. More considerations for licensors.
+
+Considerations for the public: By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensor’s permission is not necessary for any reason–for example, because of any applicable exception or limitation to copyright–then that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. More considerations for the public.
+
+Creative Commons Attribution 4.0 International Public License
+
+By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.
+
+Section 1 – Definitions.
+
+ a. Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image.
+
+ b. Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.
+
+ c. Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
+
+ d. Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements.
+
+ e. Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.
+
+ f. Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License.
+
+ g. Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.
+
+ h. Licensor means the individual(s) or entity(ies) granting rights under this Public License.
+
+ i. Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.
+
+ j. Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.
+
+ k. You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning.
+
+Section 2 – Scope.
+
+ a. License grant.
+
+ 1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:
+
+ A. reproduce and Share the Licensed Material, in whole or in part; and
+
+ B. produce, reproduce, and Share Adapted Material.
+
+ 2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.
+
+ 3. Term. The term of this Public License is specified in Section 6(a).
+
+ 4. Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.
+
+ 5. Downstream recipients.
+
+ A. Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.
+
+ B. No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.
+
+ 6. No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i).
+
+b. Other rights.
+
+ 1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.
+
+ 2. Patent and trademark rights are not licensed under this Public License.
+
+ 3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties.
+
+Section 3 – License Conditions.
+
+Your exercise of the Licensed Rights is expressly made subject to the following conditions.
+
+ a. Attribution.
+
+ 1. If You Share the Licensed Material (including in modified form), You must:
+
+ A. retain the following if it is supplied by the Licensor with the Licensed Material:
+
+ i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
+
+ ii. a copyright notice;
+
+ iii. a notice that refers to this Public License;
+
+ iv. a notice that refers to the disclaimer of warranties;
+
+ v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
+
+ B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and
+
+ C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.
+
+ 2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.
+
+ 3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable.
+
+ 4. If You Share Adapted Material You produce, the Adapter's License You apply must not prevent recipients of the Adapted Material from complying with this Public License.
+
+Section 4 – Sui Generis Database Rights.
+
+Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:
+
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database;
+
+ b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material; and
+
+ c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.
+For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights.
+
+Section 5 – Disclaimer of Warranties and Limitation of Liability.
+
+ a. Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.
+
+ b. To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.
+
+ c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.
+
+Section 6 – Term and Termination.
+
+ a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.
+
+ b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:
+
+ 1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or
+
+ 2. upon express reinstatement by the Licensor.
+
+ c. For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.
+
+ d. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.
+
+ e. Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
+
+Section 7 – Other Terms and Conditions.
+
+ a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.
+
+ b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.
+
+Section 8 – Interpretation.
+
+ a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.
+
+ b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.
+
+ c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.
+
+ d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.
+
+Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses.
+
+Creative Commons may be contacted at creativecommons.org.
diff --git a/LICENSES/CC0-1.0.txt b/LICENSES/CC0-1.0.txt
new file mode 100644
index 000000000..0e259d42c
--- /dev/null
+++ b/LICENSES/CC0-1.0.txt
@@ -0,0 +1,121 @@
+Creative Commons Legal Code
+
+CC0 1.0 Universal
+
+ CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
+ LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
+ ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
+ INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
+ REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
+ PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
+ THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
+ HEREUNDER.
+
+Statement of Purpose
+
+The laws of most jurisdictions throughout the world automatically confer
+exclusive Copyright and Related Rights (defined below) upon the creator
+and subsequent owner(s) (each and all, an "owner") of an original work of
+authorship and/or a database (each, a "Work").
+
+Certain owners wish to permanently relinquish those rights to a Work for
+the purpose of contributing to a commons of creative, cultural and
+scientific works ("Commons") that the public can reliably and without fear
+of later claims of infringement build upon, modify, incorporate in other
+works, reuse and redistribute as freely as possible in any form whatsoever
+and for any purposes, including without limitation commercial purposes.
+These owners may contribute to the Commons to promote the ideal of a free
+culture and the further production of creative, cultural and scientific
+works, or to gain reputation or greater distribution for their Work in
+part through the use and efforts of others.
+
+For these and/or other purposes and motivations, and without any
+expectation of additional consideration or compensation, the person
+associating CC0 with a Work (the "Affirmer"), to the extent that he or she
+is an owner of Copyright and Related Rights in the Work, voluntarily
+elects to apply CC0 to the Work and publicly distribute the Work under its
+terms, with knowledge of his or her Copyright and Related Rights in the
+Work and the meaning and intended legal effect of CC0 on those rights.
+
+1. Copyright and Related Rights. A Work made available under CC0 may be
+protected by copyright and related or neighboring rights ("Copyright and
+Related Rights"). Copyright and Related Rights include, but are not
+limited to, the following:
+
+ i. the right to reproduce, adapt, distribute, perform, display,
+ communicate, and translate a Work;
+ ii. moral rights retained by the original author(s) and/or performer(s);
+iii. publicity and privacy rights pertaining to a person's image or
+ likeness depicted in a Work;
+ iv. rights protecting against unfair competition in regards to a Work,
+ subject to the limitations in paragraph 4(a), below;
+ v. rights protecting the extraction, dissemination, use and reuse of data
+ in a Work;
+ vi. database rights (such as those arising under Directive 96/9/EC of the
+ European Parliament and of the Council of 11 March 1996 on the legal
+ protection of databases, and under any national implementation
+ thereof, including any amended or successor version of such
+ directive); and
+vii. other similar, equivalent or corresponding rights throughout the
+ world based on applicable law or treaty, and any national
+ implementations thereof.
+
+2. Waiver. To the greatest extent permitted by, but not in contravention
+of, applicable law, Affirmer hereby overtly, fully, permanently,
+irrevocably and unconditionally waives, abandons, and surrenders all of
+Affirmer's Copyright and Related Rights and associated claims and causes
+of action, whether now known or unknown (including existing as well as
+future claims and causes of action), in the Work (i) in all territories
+worldwide, (ii) for the maximum duration provided by applicable law or
+treaty (including future time extensions), (iii) in any current or future
+medium and for any number of copies, and (iv) for any purpose whatsoever,
+including without limitation commercial, advertising or promotional
+purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
+member of the public at large and to the detriment of Affirmer's heirs and
+successors, fully intending that such Waiver shall not be subject to
+revocation, rescission, cancellation, termination, or any other legal or
+equitable action to disrupt the quiet enjoyment of the Work by the public
+as contemplated by Affirmer's express Statement of Purpose.
+
+3. Public License Fallback. Should any part of the Waiver for any reason
+be judged legally invalid or ineffective under applicable law, then the
+Waiver shall be preserved to the maximum extent permitted taking into
+account Affirmer's express Statement of Purpose. In addition, to the
+extent the Waiver is so judged Affirmer hereby grants to each affected
+person a royalty-free, non transferable, non sublicensable, non exclusive,
+irrevocable and unconditional license to exercise Affirmer's Copyright and
+Related Rights in the Work (i) in all territories worldwide, (ii) for the
+maximum duration provided by applicable law or treaty (including future
+time extensions), (iii) in any current or future medium and for any number
+of copies, and (iv) for any purpose whatsoever, including without
+limitation commercial, advertising or promotional purposes (the
+"License"). The License shall be deemed effective as of the date CC0 was
+applied by Affirmer to the Work. Should any part of the License for any
+reason be judged legally invalid or ineffective under applicable law, such
+partial invalidity or ineffectiveness shall not invalidate the remainder
+of the License, and in such case Affirmer hereby affirms that he or she
+will not (i) exercise any of his or her remaining Copyright and Related
+Rights in the Work or (ii) assert any associated claims and causes of
+action with respect to the Work, in either case contrary to Affirmer's
+express Statement of Purpose.
+
+4. Limitations and Disclaimers.
+
+ a. No trademark or patent rights held by Affirmer are waived, abandoned,
+ surrendered, licensed or otherwise affected by this document.
+ b. Affirmer offers the Work as-is and makes no representations or
+ warranties of any kind concerning the Work, express, implied,
+ statutory or otherwise, including without limitation warranties of
+ title, merchantability, fitness for a particular purpose, non
+ infringement, or the absence of latent or other defects, accuracy, or
+ the present or absence of errors, whether or not discoverable, all to
+ the greatest extent permissible under applicable law.
+ c. Affirmer disclaims responsibility for clearing rights of other persons
+ that may apply to the Work or any use thereof, including without
+ limitation any person's Copyright and Related Rights in the Work.
+ Further, Affirmer disclaims responsibility for obtaining any necessary
+ consents, permissions or other rights required for any use of the
+ Work.
+ d. Affirmer understands and acknowledges that Creative Commons is not a
+ party to this document and has no duty or obligation with respect to
+ this CC0 or use of the Work.
diff --git a/LICENSES/FSFAP.txt b/LICENSES/FSFAP.txt
new file mode 100644
index 000000000..32bc8a889
--- /dev/null
+++ b/LICENSES/FSFAP.txt
@@ -0,0 +1 @@
+Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.
diff --git a/LICENSES/GPL-3.0-or-later.txt b/LICENSES/GPL-3.0-or-later.txt
new file mode 100644
index 000000000..f6cdd22a6
--- /dev/null
+++ b/LICENSES/GPL-3.0-or-later.txt
@@ -0,0 +1,232 @@
+GNU GENERAL PUBLIC LICENSE
+Version 3, 29 June 2007
+
+Copyright © 2007 Free Software Foundation, Inc.
+
+Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
+
+Preamble
+
+The GNU General Public License is a free, copyleft license for software and other kinds of works.
+
+The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.
+
+When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
+
+To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.
+
+For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
+
+Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.
+
+For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.
+
+Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.
+
+Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.
+
+The precise terms and conditions for copying, distribution and modification follow.
+
+TERMS AND CONDITIONS
+
+0. Definitions.
+
+“This License” refers to version 3 of the GNU General Public License.
+
+“Copyright” also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.
+
+“The Program” refers to any copyrightable work licensed under this License. Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals or organizations.
+
+To “modify” a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work.
+
+A “covered work” means either the unmodified Program or a work based on the Program.
+
+To “propagate” a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.
+
+To “convey” a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.
+
+An interactive user interface displays “Appropriate Legal Notices” to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.
+
+1. Source Code.
+The “source code” for a work means the preferred form of the work for making modifications to it. “Object code” means any non-source form of a work.
+
+A “Standard Interface” means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.
+
+The “System Libraries” of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A “Major Component”, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.
+
+The “Corresponding Source” for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.
+
+The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.
+
+The Corresponding Source for a work in source code form is that same work.
+
+2. Basic Permissions.
+All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.
+
+You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.
+
+Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
+
+3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.
+
+When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.
+
+4. Conveying Verbatim Copies.
+You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.
+
+You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.
+
+5. Conveying Modified Source Versions.
+You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to “keep intact all notices”.
+
+ c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.
+
+A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an “aggregate” if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
+
+6. Conveying Non-Source Forms.
+You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.
+
+ d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.
+
+A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.
+
+A “User Product” is either (1) a “consumer product”, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, “normally used” refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.
+
+“Installation Information” for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.
+
+If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).
+
+The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.
+
+Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.
+
+7. Additional Terms.
+“Additional permissions” are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.
+
+When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.
+
+Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.
+
+All other non-permissive additional terms are considered “further restrictions” within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.
+
+If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.
+
+Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.
+
+8. Termination.
+You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).
+
+However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.
+
+Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.
+
+Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.
+
+9. Acceptance Not Required for Having Copies.
+You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
+
+10. Automatic Licensing of Downstream Recipients.
+Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.
+
+An “entity transaction” is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.
+
+You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.
+
+11. Patents.
+A “contributor” is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's “contributor version”.
+
+A contributor's “essential patent claims” are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, “control” includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.
+
+Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.
+
+In the following three paragraphs, a “patent license” is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To “grant” such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.
+
+If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. “Knowingly relying” means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.
+
+If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.
+
+A patent license is “discriminatory” if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.
+
+Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.
+
+12. No Surrender of Others' Freedom.
+If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.
+
+13. Use with the GNU Affero General Public License.
+Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.
+
+14. Revised Versions of this License.
+The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.
+
+If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.
+
+Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.
+
+15. Disclaimer of Warranty.
+THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+16. Limitation of Liability.
+IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+17. Interpretation of Sections 15 and 16.
+If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.
+
+END OF TERMS AND CONDITIONS
+
+How to Apply These Terms to Your New Programs
+
+If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
+
+To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along with this program. If not, see .
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode:
+
+ Copyright (C)
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an “about box”.
+
+You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see .
+
+The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read .
diff --git a/LICENSES/ISC.txt b/LICENSES/ISC.txt
new file mode 100644
index 000000000..205eb790a
--- /dev/null
+++ b/LICENSES/ISC.txt
@@ -0,0 +1,7 @@
+ISC License
+
+Copyright
+
+Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/LICENSES/LLVM-exception.txt b/LICENSES/LLVM-exception.txt
new file mode 100644
index 000000000..fa4b725a0
--- /dev/null
+++ b/LICENSES/LLVM-exception.txt
@@ -0,0 +1,15 @@
+---- LLVM Exceptions to the Apache 2.0 License ----
+
+ As an exception, if, as a result of your compiling your source code, portions
+ of this Software are embedded into an Object form of such source code, you
+ may redistribute such embedded portions in such Object form without complying
+ with the conditions of Sections 4(a), 4(b) and 4(d) of the License.
+
+ In addition, if you combine or link compiled forms of this Software with
+ software that is licensed under the GPLv2 ("Combined Software") and if a
+ court of competent jurisdiction determines that the patent provision (Section
+ 3), the indemnity provision (Section 9) or other Section of the License
+ conflicts with the conditions of the GPLv2, you may retroactively and
+ prospectively choose to deem waived or otherwise exclude such Section(s) of
+ the License, but only in their entirety and only with respect to the Combined
+ Software.
diff --git a/LICENSES/LicenseRef-NoStatedLicense.txt b/LICENSES/LicenseRef-NoStatedLicense.txt
new file mode 100644
index 000000000..9998d767b
--- /dev/null
+++ b/LICENSES/LicenseRef-NoStatedLicense.txt
@@ -0,0 +1,19 @@
+No stated licence (LicenseRef-NoStatedLicense)
+
+A file marked with this identifier is redistributed in the RustyNES repository
+as widely mirrored test or reference material for which its author(s) stated
+no licence. No licence grant and no public-domain dedication by the author(s)
+was found (checked 2026-11-15; the sources checked are recorded in
+tests/roms/LICENSES.md and in the REUSE.toml comment for each file).
+
+Copyright in the file remains with its author(s). The SPDX-FileCopyrightText
+for that file names them where they are known; where they are not (an
+aggregated collection that does not record per-file authors, a font whose
+author is unidentified), it says so instead.
+
+RustyNES grants no licence to the file. The GNU General Public License under
+which RustyNES is distributed does not cover it.
+
+If you are the author of such a file and want it credited differently,
+licensed, or removed, please open an issue at
+https://github.com/doublegate/RustyNES/issues.
diff --git a/LICENSES/LicenseRef-ThirdPartyGameImagery.txt b/LICENSES/LicenseRef-ThirdPartyGameImagery.txt
new file mode 100644
index 000000000..ab07182ce
--- /dev/null
+++ b/LICENSES/LicenseRef-ThirdPartyGameImagery.txt
@@ -0,0 +1,16 @@
+Third-party game imagery (LicenseRef-ThirdPartyGameImagery)
+
+A file marked with this identifier is an image rendered by the RustyNES
+emulator from a commercial (or otherwise third-party) game, or a composite of
+such renders. These images are kept in the repository as emulator test
+baselines and compatibility documentation.
+
+The copyright in the game artwork shown belongs to the game's publisher(s) and
+other rights holders, named collectively in the SPDX-FileCopyrightText for
+that file as "Their respective game publishers".
+
+The GNU General Public License under which RustyNES is distributed does not
+cover the game artwork, and RustyNES grants no licence to it.
+
+If you hold rights in an image marked this way and want it removed, please
+open an issue at https://github.com/doublegate/RustyNES/issues.
diff --git a/LICENSES/LicenseRef-bbbradsmith-permissive.txt b/LICENSES/LicenseRef-bbbradsmith-permissive.txt
new file mode 100644
index 000000000..86a06c76e
--- /dev/null
+++ b/LICENSES/LicenseRef-bbbradsmith-permissive.txt
@@ -0,0 +1,11 @@
+Brad Smith (bbbradsmith) nes-audio-tests grant (LicenseRef-bbbradsmith-permissive)
+
+Upstream: https://github.com/bbbradsmith/nes-audio-tests
+
+The grant below is quoted verbatim from the "License:" section of the
+upstream readme.md, which is vendored in this repository as
+tests/roms/audio-tests/UPSTREAM_README.md (line 55):
+
+ These files may be freely redistributed and modified for any purpose.
+ Credit to the original author and/or a link to the original source would
+ be appreciated, but is not required.
diff --git a/LICENSES/MIT.txt b/LICENSES/MIT.txt
new file mode 100644
index 000000000..d817195da
--- /dev/null
+++ b/LICENSES/MIT.txt
@@ -0,0 +1,18 @@
+MIT License
+
+Copyright (c)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
+associated documentation files (the "Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
+following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial
+portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
+LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
+EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
+USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/LICENSES/OFL-1.1.txt b/LICENSES/OFL-1.1.txt
new file mode 100644
index 000000000..6fe84ee21
--- /dev/null
+++ b/LICENSES/OFL-1.1.txt
@@ -0,0 +1,43 @@
+SIL OPEN FONT LICENSE
+
+Version 1.1 - 26 February 2007
+
+PREAMBLE
+
+The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+
+"Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting, or substituting — in part or in whole — any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
+
+"Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
+
+5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
+
+TERMINATION
+
+This license becomes null and void if any of the above conditions are not met.
+
+DISCLAIMER
+
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/LICENSES/Zlib.txt b/LICENSES/Zlib.txt
new file mode 100644
index 000000000..e0e3605ba
--- /dev/null
+++ b/LICENSES/Zlib.txt
@@ -0,0 +1,11 @@
+zlib License
+
+This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
+
+Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
+
+ 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
+
+ 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
+
+ 3. This notice may not be removed or altered from any source distribution.
diff --git a/NOTICE b/NOTICE
index d6da1dc30..aa092f295 100644
--- a/NOTICE
+++ b/NOTICE
@@ -90,7 +90,11 @@ cross-check documented hardware behavior (no code incorporated):
docs/originality-and-provenance.md sec. 3 for the evidence and the residual
uncertainties.
* higan -- GPL-3.0-or-later -- scheduler-structure reference / oracle.
-* ares -- BSD-2-Clause / Apache-2.0 -- palette-integration reference and oracle.
+* ares -- ISC -- palette-integration reference and oracle; code derived from it is
+ listed, with its notice, under "Incorporated third-party components" below.
+ (Corrected 2026-11-15: this said BSD-2-Clause / Apache-2.0, a misreading of
+ ares's LICENSE, whose own section has been ISC since 2021-07-05; its BSD-2 and
+ Apache-2.0 sections cover components ares bundles, not ares itself.)
(Mesen2, puNES, FCEUX, and Nestopia were used as oracles too, but because code
was also derived from them they are listed above under derivation.)
@@ -173,9 +177,10 @@ Incorporated third-party components (permissively licensed, GPL-compatible)
Khronos Vulkan headers, read by bindgen at build time only:
https://github.com/KhronosGroup/Vulkan-Headers
Copyright (c) 2014-2018 The Khronos Group Inc. -- Apache-2.0
- (GPLv3-compatible; the licence text is at
- https://www.apache.org/licenses/LICENSE-2.0, and each header carries
- its notice)
+ (GPLv3-compatible; a copy of the licence text, which Apache-2.0
+ section 4(a) requires be given with the files, is LICENSES/Apache-2.0.txt
+ since 2026-11-15, and https://www.apache.org/licenses/LICENSE-2.0; each
+ header carries its notice)
* libretro.h (upstream, newer than the vendored copy) -- the
RETRO_ENVIRONMENT_GET_AUDIO_SAMPLE_BATCH_FLOAT command number and the two
@@ -196,6 +201,26 @@ Incorporated third-party components (permissively licensed, GPL-compatible)
https://www.lua.org/
Copyright (C) 1994-2026 Lua.org, PUC-Rio -- MIT
+* ares -- the colour integration in crates/rustynes-ppu/src/palette_gen.rs
+ follows ares's fc/ppu/color.cpp (with Bisqwit's documented palette method;
+ docs/originality-and-provenance.md section 1). Added here 2026-11-15: until
+ then the ISC notice below, which the licence requires in all copies, was
+ not reproduced.
+ https://github.com/ares-emulator/ares
+ Copyright (c) 2004-2025 ares team, Near et al -- ISC
+
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
The MIT License text (for emu2413, TriCNES, rcheevos, rust-libretro-sys,
libretro.h, Lua):
@@ -238,7 +263,12 @@ generated copy of the Bisqwit pass in crates/rustynes-gfx-shaders/src/bisqwit.wg
* The Bisqwit NTSC filter's numeric coefficient tables were ported verbatim (via
Mesen2's implementation) and are therefore GPL-derived (listed above and in
- docs/originality-and-provenance.md Section 1). The two-level NES composite
+ docs/originality-and-provenance.md Section 1).
+ Copyright Joel Yliluoma (Bisqwit) -- the filter's author; the name his
+ homepage gives (https://bisqwit.iki.fi/, read 2026-11-15). Received
+ through Mesen2's BisqwitNtscFilter, GPL-3.0-or-later. His palette
+ method, which crates/rustynes-ppu/src/palette_gen.rs follows, is the
+ same author's. (Added 2026-11-15: until then no holder was named.) The two-level NES composite
signal shape is documented at the NESdev wiki ("NTSC video").
* The CRT shaders (CRT-Royale -- TroggleMonkey, GPL-2.0-or-later;
crt-guest-advanced -- guest.r; Sony Megatron -- MajorPainInTheCactus) are
@@ -253,14 +283,43 @@ generated copy of the Bisqwit pass in crates/rustynes-gfx-shaders/src/bisqwit.wg
Bundled test ROMs
--------------------------------------------------------------------------------
-The ROMs committed under tests/roms/ are public-domain or permissively-licensed
-homebrew test programs, catalogued per-author in tests/roms/LICENSES.md. No
-commercial Nintendo software is bundled. Notices that must be preserved include:
+The ROMs committed under tests/roms/ are homebrew test programs, catalogued
+per-author in tests/roms/LICENSES.md. Some are permissively licensed; for others
+no licence was found (see below). No commercial Nintendo software is bundled.
+Notices that must be preserved include:
* AccuracyCoin -- Chris Siebert (100thCoin) -- MIT -- upstream LICENSE vendored at
tests/roms/accuracycoin/LICENSE.
* Holy Mapperel and other Damian Yerrick test ROMs -- zlib -- notices preserved
with the ROMs (see tests/roms/LICENSES.md).
-blargg's and kevtris's suites are public domain. See tests/roms/LICENSES.md for
-the full per-ROM provenance.
+* Brad Smith (bbbradsmith) nes-audio-tests -- his own permissive grant, quoted
+ in LICENSES/LicenseRef-bbbradsmith-permissive.txt.
+
+Correction, 2026-11-15: this file said until 2026-11-15 that "blargg's and
+kevtris's suites are public domain". No public-domain dedication or licence was
+found for them, nor for the other ROMs mirrored from christopherpow/nes-test-roms
+(nes-test-roms/, mmc5/, m22/, mmc1_a12/). Checked: the suites' own readme files,
+the NESdev wiki page Emulator_tests (https://www.nesdev.org/wiki/Emulator_tests),
+and christopherpow/nes-test-roms, which has no LICENSE and no README. These ROMs
+are redistributed as widely mirrored test material under the label
+LicenseRef-NoStatedLicense (LICENSES/LicenseRef-NoStatedLicense.txt): copyright
+remains with their authors (Shay Green "blargg", Kevin Horton "kevtris",
+NewRisingSun, Bregalad, Quietust and others), RustyNES grants no licence to them,
+and the GPL does not cover them. See tests/roms/LICENSES.md for the full per-ROM
+provenance.
+
+--------------------------------------------------------------------------------
+Other third-party files
+--------------------------------------------------------------------------------
+
+* The "Nes Controller" font (ios/RustyNES/Fonts/NESController.ttf,
+ android/app/src/main/res/font/nes_controller.ttf) -- author not identified,
+ no licence found -- LicenseRef-NoStatedLicense.
+* Screenshots rendered from commercial games (screenshots/external/,
+ screenshots/besteffort/, the montages, and two README images) -- the game
+ artwork is copyright of its publishers, is not covered by the GPL, and no
+ licence to it is granted -- LicenseRef-ThirdPartyGameImagery.
+
+The tree follows REUSE 3.3: REUSE.toml and the LICENSES/ directory state the
+holder and licence of every file. Run `reuse lint` to check.
diff --git a/README.md b/README.md
index 44e87a68c..bc0d8f915 100644
--- a/README.md
+++ b/README.md
@@ -486,9 +486,18 @@ Reference emulators are black-box oracles: their output may be compared, and the
source is never read.
Permissive components (emu2413, TriCNES, `rcheevos`, blip_buf and the bundled
-fonts) are credited in `NOTICE`. The test ROMs under `tests/roms/` are CC0, MIT or
-zlib. **No commercial ROMs are included**: dumps for the commercial-ROM oracle must
-come from cartridges you own.
+fonts) are credited in `NOTICE`. The test ROMs under `tests/roms/` are CC0, MIT,
+zlib or similarly permissive where their authors licensed them; blargg's and
+kevtris's suites and the ROMs mirrored from `christopherpow/nes-test-roms` state no
+licence and are redistributed as test material that the GPL does not cover
+([`tests/roms/LICENSES.md`](tests/roms/LICENSES.md)). **No commercial ROMs are
+included**: dumps for the commercial-ROM oracle must come from cartridges you own.
+
+The tree follows the [REUSE 3.3](https://reuse.software/spec-3.3/) specification:
+every file's copyright and licence are stated in its own SPDX header or in
+[`REUSE.toml`](REUSE.toml), with every licence text under [`LICENSES/`](LICENSES/).
+Run `uvx reuse lint` (or `pipx run reuse lint`) to check; CI runs it on every
+pull request.
---
diff --git a/REUSE.toml b/REUSE.toml
new file mode 100644
index 000000000..2c8af9865
--- /dev/null
+++ b/REUSE.toml
@@ -0,0 +1,517 @@
+# SPDX-FileCopyrightText: 2025-2026 DoubleGate
+# SPDX-License-Identifier: GPL-3.0-or-later
+#
+# REUSE 3.3 licensing map for the RustyNES tree (https://reuse.software/spec-3.3/).
+# Check it with `reuse lint` (CI runs the `reuse` job in .github/workflows/ci.yml).
+#
+# How to read this file:
+# - Within one file's matches, the LAST matching [[annotations]] table wins, so
+# the order is general -> specific. The first table covers the whole tree.
+# - `precedence = "closest"` (the default) lets a file's own SPDX header win
+# over this file; a part the header lacks (copyright or licence) comes from
+# here.
+# - `precedence = "aggregate"` ADDS the holders below to whatever the file's
+# own header declares. It is used where a file carries upstream-derived code
+# (the `// Provenance:` files) or an outside contribution, so the upstream or
+# contributor holder is credited next to DoubleGate.
+# - `precedence = "override"` ignores the file's own text. It is used only on
+# frozen archive files and NOTICE / licence texts, whose prose quotes other
+# parties' copyright lines that are not notices of the file itself.
+#
+# Provenance and evidence: NOTICE, tests/roms/LICENSES.md,
+# docs/originality-and-provenance.md, and the per-class comments below.
+
+version = 1
+
+# ---------------------------------------------------------------------------
+# 1. Default: first-party work.
+#
+# NOT "**" (2026-11-15, after review): a catch-all over the whole tree would
+# label any file added later as DoubleGate's GPL work, so a third-party ROM,
+# screenshot or vendored file dropped in without its own annotation would
+# pass `reuse lint` with a wrong label. The default therefore names the
+# first-party roots and leaves out the four directories where outside
+# material lands -- tests/roms/, screenshots/, vendor/, and ref-docs/
+# (Markdown excepted). A file added there without an annotation of its own
+# has no license information, and the `reuse` CI job fails until someone
+# writes one that names its real author and license. First-party files
+# already inside those directories are listed explicitly in section 1b.
+# Not guarded: third-party files inside a first-party root (a font under
+# crates/, rcheevos under crates/rustynes-cheevos/vendor/); those still need
+# the care this cannot enforce.
+# LICENSES/ is not listed (sibling review, PR #79): REUSE ignores it, and
+# labelling the licence texts there as DoubleGate's work would be false.
+# ---------------------------------------------------------------------------
+
+[[annotations]]
+path = [
+ "*",
+ ".cargo/**",
+ ".config/**",
+ ".github/**",
+ "android/**",
+ "assets/**",
+ "crates/**",
+ "deploy/**",
+ "docs/**",
+ "examples/**",
+ "fastlane/**",
+ "fuzz/**",
+ "images/**",
+ "ios/**",
+ "scripts/**",
+ "services/**",
+ "to-dos/**",
+ "tests/*",
+ "tests/framework/**",
+ "ref-docs/**/*.md",
+]
+SPDX-FileCopyrightText = "2025-2026 DoubleGate"
+SPDX-License-Identifier = "GPL-3.0-or-later"
+SPDX-FileComment = "RustyNES is GPL-3.0-or-later (ADR 0036). This default also covers project-generated data: insta .snap hashes, goldens, irq_trace CSVs, epoch fingerprints, synthetic fixtures, the RustyNES icons and artwork, and the fastlane store text."
+
+# 1b. First-party files inside the guarded directories (section 1), listed so
+# the guard does not catch them: the project's own Markdown there (third-party
+# READMEs, such as audio-tests/UPSTREAM_README.md, are overridden by their own
+# annotations further down, since the last match wins), the two ref-docs PDFs
+# (renderings of docs/ai-emulator-provenance-guardrails.md and
+# docs/provenance-failure-postmortem.md), and the dap fixture sources, whose
+# CC0 headers name no holder. Add a file here only if it is the project's own.
+[[annotations]]
+path = [
+ "tests/roms/**/*.md",
+ "screenshots/**/*.md",
+ "ref-docs/AI-Emulator-Provenance-Guardrails.pdf",
+ "ref-docs/RustyNES_Provenance-Failure-Postmortem.pdf",
+ "tests/roms/dap/build.py",
+ "tests/roms/dap/dapdemo.c",
+]
+SPDX-FileCopyrightText = "2025-2026 DoubleGate"
+SPDX-License-Identifier = "GPL-3.0-or-later"
+
+# ---------------------------------------------------------------------------
+# 2. First-party files with outside holders added (aggregate).
+# ---------------------------------------------------------------------------
+
+[[annotations]]
+path = [".gitlab-ci.yml", ".github/workflows/ci.yml", "CHANGELOG.md", "docs/agents/libretro.md"]
+precedence = "aggregate"
+SPDX-FileCopyrightText = ["2025-2026 DoubleGate", "2026 WizzardSK"]
+SPDX-License-Identifier = "GPL-3.0-or-later"
+SPDX-FileComment = "WizzardSK contributed the libretro buildbot jobs: #331 (71d48efa) and #554 (0eb48bc3)."
+
+[[annotations]]
+path = "crates/rustynes-libretro/src/lib.rs"
+precedence = "aggregate"
+SPDX-FileCopyrightText = ["2025-2026 DoubleGate", "2010-2024 The RetroArch team"]
+SPDX-License-Identifier = "GPL-3.0-or-later"
+SPDX-FileComment = "Contains the RETRO_ENVIRONMENT_GET_AUDIO_SAMPLE_BATCH_FLOAT declarations transcribed from libretro.h (RetroArch 28f4c9c6a361, MIT); see NOTICE."
+
+[[annotations]]
+path = "crates/rustynes-gfx-shaders/src/bisqwit.wgsl"
+SPDX-FileCopyrightText = ["2025-2026 DoubleGate", "Sour et al. (Mesen2 / MesenCE)", "Joel Yliluoma (Bisqwit)"]
+SPDX-License-Identifier = "GPL-3.0-or-later"
+SPDX-FileComment = "Generated copy of the desktop Bisqwit composite-NTSC pass; its coefficient tables were ported verbatim from Bisqwit's C via Mesen2's BisqwitNtscFilter (see the Provenance header of crates/rustynes-gfx-shaders/src/lib.rs and NOTICE). Bisqwit holder: Joel Yliluoma, per his homepage (read 2026-11-15)."
+
+[[annotations]]
+path = "NOTICE"
+precedence = "override"
+SPDX-FileCopyrightText = "2025-2026 DoubleGate"
+SPDX-License-Identifier = "GPL-3.0-or-later"
+SPDX-FileComment = "NOTICE quotes the copyright lines of every upstream it credits; those are not notices of this file."
+
+[[annotations]]
+path = [
+ "docs/archive/legacy-v0.8-docs/formats/NSF_FORMAT.md",
+ "to-dos/archive/v1.0.1-compat-hygiene/sprint-1-compat-fixes.md",
+ "to-dos/archive/legacy-v0.8-todos/phase-1-mvp/milestone-6-gui/M6-S4-settings-persistence.md",
+ "to-dos/archive/legacy-v0.8-todos/phase-1-mvp/milestone-6-gui/M6-S5-configuration-polish.md",
+]
+precedence = "override"
+SPDX-FileCopyrightText = "2025-2026 DoubleGate"
+SPDX-License-Identifier = "GPL-3.0-or-later"
+SPDX-FileComment = "Frozen archive file. Its text mentions 'Copyright' as an NSF header field, a game's title screen or a UI string; those are not notices of this file."
+
+[[annotations]]
+path = "crates/rustynes-test-harness/golden/irq_trace/mesen2/**"
+SPDX-FileCopyrightText = "2025-2026 DoubleGate"
+SPDX-License-Identifier = "GPL-3.0-or-later"
+SPDX-FileComment = "black-box output captured from Mesen2 runs (scripts/mesen2_*.lua driving test ROMs); oracle output, no Mesen2 source."
+
+[[annotations]]
+path = "ref-docs/Emulator_TechReports/**"
+SPDX-FileCopyrightText = "2025-2026 DoubleGate"
+SPDX-License-Identifier = "GPL-3.0-or-later"
+SPDX-FileComment = "Project-written reports about third-party emulators. The maintainer, who helped write them, confirmed on 2026-11-15 that their code fences quote no reference-emulator source; the agents labelling this tree did not read them (provenance firewall)."
+
+[[annotations]]
+path = "CODE_OF_CONDUCT.md"
+SPDX-FileCopyrightText = ["2014 Coraline Ada Ehmke and the Contributor Covenant contributors", "2025-2026 DoubleGate"]
+SPDX-License-Identifier = "CC-BY-4.0"
+SPDX-FileComment = "Adapted from the Contributor Covenant 2.0 (https://www.contributor-covenant.org/version/2/0/code_of_conduct.html), which is published under CC BY 4.0."
+
+# ---------------------------------------------------------------------------
+# 3. The `// Provenance:` files: upstream holders added to the file's own
+# `SPDX-License-Identifier: GPL-3.0-or-later` header (aggregate). The
+# files themselves are not edited. Holder strings are NOTICE's.
+# crates/rustynes-ppu/src/palette_gen.rs IS listed (ares, ISC, and
+# Bisqwit), since 2026-11-15; before that it was left out as oracle-only,
+# which its own header and section 1 row contradicted. The test
+# `every_provenance_header_keeps_its_upstream_holder_in_reuse_toml`
+# (provenance_record_audit.rs) now fails on any header file left out.
+# ---------------------------------------------------------------------------
+
+[[annotations]]
+path = [
+ "crates/rustynes-apu/src/frame_counter.rs",
+ "crates/rustynes-core/src/input_device.rs",
+ "crates/rustynes-core/src/vs_dualsystem.rs",
+ "crates/rustynes-cpu/src/cpu.rs",
+ "crates/rustynes-dap/src/debuginfo/cc65.rs",
+ "crates/rustynes-frontend/src/debugger/source_map.rs",
+ "crates/rustynes-mappers/src/kaiser.rs",
+ "crates/rustynes-mappers/src/m016_bandai_fcg.rs",
+ "crates/rustynes-mappers/src/m019_namco163.rs",
+ "crates/rustynes-mappers/src/m035_jy_asic.rs",
+ "crates/rustynes-mappers/src/m085_vrc7.rs",
+ "crates/rustynes-mappers/src/m099_vs_system.rs",
+ "crates/rustynes-mappers/src/m176_bmc_fk23c.rs",
+ "crates/rustynes-mappers/src/m250_nitra250.rs",
+ "crates/rustynes-mappers/src/m513_sachen_9602.rs",
+ "crates/rustynes-mappers/src/mmc3_clones.rs",
+ "crates/rustynes-mappers/src/multicart_discrete.rs",
+ "crates/rustynes-mappers/src/ntdec.rs",
+ "crates/rustynes-mappers/src/sachen_discrete.rs",
+ "crates/rustynes-ppu/src/raw_signal.rs",
+ "crates/rustynes-test-harness/src/bin/pgo_trainer.rs",
+]
+precedence = "aggregate"
+SPDX-FileCopyrightText = ["2025-2026 DoubleGate", "Sour et al. (Mesen2 / MesenCE)"]
+SPDX-License-Identifier = "GPL-3.0-or-later"
+SPDX-FileComment = "Contains code derived from Mesen2 (GPL-3.0-or-later), as the file's Provenance header states; see docs/originality-and-provenance.md section 1 and NOTICE."
+
+# The Bisqwit NTSC filter: its coefficient tables were ported verbatim from
+# Bisqwit's C by way of Mesen2's BisqwitNtscFilter, so both are holders. A
+# separate table, not a second one on top of the Mesen2 list: when several
+# annotations match a file only the last applies, so the holders must be
+# listed together. "Joel Yliluoma (Bisqwit)": the name his homepage gives
+# (https://bisqwit.iki.fi/, read 2026-11-15) and the handle the work is known by.
+[[annotations]]
+path = ["crates/rustynes-frontend/src/ntsc_bisqwit.rs", "crates/rustynes-gfx-shaders/src/lib.rs"]
+precedence = "aggregate"
+SPDX-FileCopyrightText = ["2025-2026 DoubleGate", "Sour et al. (Mesen2 / MesenCE)", "Joel Yliluoma (Bisqwit)"]
+SPDX-License-Identifier = "GPL-3.0-or-later"
+SPDX-FileComment = "Bisqwit composite-NTSC filter; coefficient tables ported verbatim from Bisqwit's C via Mesen2's BisqwitNtscFilter (GPL-3.0-or-later), as the Provenance headers state (lib.rs carries the generated BISQWIT_WGSL copy). See NOTICE and docs/originality-and-provenance.md section 1."
+
+[[annotations]]
+path = ["crates/rustynes-apu/src/apu.rs", "crates/rustynes-ppu/src/ppu.rs"]
+precedence = "aggregate"
+SPDX-FileCopyrightText = ["2025-2026 DoubleGate", "Sour et al. (Mesen2 / MesenCE)", "2025 Chris Siebert (TriCNES)"]
+SPDX-License-Identifier = "GPL-3.0-or-later"
+SPDX-FileComment = "Contains code derived from Mesen2 (GPL-3.0-or-later) and models ported from TriCNES (MIT), as the file's Provenance header states; the MIT notice is reproduced in NOTICE."
+
+[[annotations]]
+path = "crates/rustynes-core/src/bus.rs"
+precedence = "aggregate"
+SPDX-FileCopyrightText = ["2025-2026 DoubleGate", "2025 Chris Siebert (TriCNES)"]
+SPDX-License-Identifier = "GPL-3.0-or-later"
+SPDX-FileComment = "Contains models ported from TriCNES (MIT), as the file's Provenance header states; the MIT notice is reproduced in NOTICE."
+
+[[annotations]]
+path = "crates/rustynes-ppu/src/palette_gen.rs"
+precedence = "aggregate"
+SPDX-FileCopyrightText = ["2025-2026 DoubleGate", "2004-2025 ares team, Near et al (ares)", "Joel Yliluoma (Bisqwit)"]
+SPDX-License-Identifier = "GPL-3.0-or-later AND ISC"
+SPDX-FileComment = "The generated palette follows Bisqwit's documented method and ares's fc/ppu/color.cpp colour integration, as the file's Provenance header and docs/originality-and-provenance.md section 1 record. ares holder from its LICENSE (https://github.com/ares-emulator/ares, read 2026-11-15), whose own section has been ISC since it was added on 2021-07-05 (the BSD-2 and Apache-2.0 texts in it cover bundled third-party components). NOTICE and the header said BSD-2-Clause / Apache-2.0 until 2026-11-15 (corrected, maintainer-approved); NOTICE now reproduces the ISC notice. Bisqwit's method: Joel Yliluoma (Bisqwit), per his homepage (read 2026-11-15)."
+
+[[annotations]]
+path = "crates/rustynes-apu/src/blip.rs"
+precedence = "aggregate"
+SPDX-FileCopyrightText = ["2025-2026 DoubleGate", "Shay Green (Blargg) (blip_buf)"]
+SPDX-License-Identifier = "GPL-3.0-or-later"
+SPDX-FileComment = "Band-limited synthesis derived from blip_buf (LGPL-2.1-or-later, GPLv3-compatible), as the file's Provenance header states."
+
+[[annotations]]
+path = "crates/rustynes-apu/src/opll.rs"
+precedence = "aggregate"
+SPDX-FileCopyrightText = ["2025-2026 DoubleGate", "2020 Mitsutaka Okazaki (emu2413)"]
+SPDX-License-Identifier = "GPL-3.0-or-later"
+SPDX-FileComment = "Rust port of emu2413 v1.5.9 (MIT), as the file's Provenance header states; the MIT notice is reproduced in NOTICE."
+
+[[annotations]]
+path = "crates/rustynes-script/src/lua_pattern.rs"
+precedence = "aggregate"
+SPDX-FileCopyrightText = ["2025-2026 DoubleGate", "1994-2026 Lua.org, PUC-Rio"]
+SPDX-License-Identifier = "GPL-3.0-or-later"
+SPDX-FileComment = "Derived from Lua 5.4.9 lstrlib.c (MIT), as the file's Provenance header states; the MIT notice is reproduced in NOTICE."
+
+[[annotations]]
+path = "crates/rustynes-mappers/src/fds.rs"
+precedence = "aggregate"
+SPDX-FileCopyrightText = ["2025-2026 DoubleGate", "FHorse (puNES)"]
+SPDX-License-Identifier = "GPL-3.0-or-later"
+SPDX-FileComment = "Contains a table derived from puNES (GPL-2.0-or-later), as the file's Provenance header states."
+
+[[annotations]]
+path = "crates/rustynes-mappers/src/lib.rs"
+precedence = "aggregate"
+SPDX-FileCopyrightText = ["2025-2026 DoubleGate", "FHorse (puNES)", "The FCEUX team", "Sour et al. (Mesen2 / MesenCE)"]
+SPDX-License-Identifier = "GPL-3.0-or-later"
+SPDX-FileComment = "Contains code derived from puNES (GPL-2.0-or-later) and, for UNIF dispatch, FCEUX (GPL-2.0-or-later) / Mesen2 (GPL-3.0-or-later), as the file's Provenance header states."
+
+[[annotations]]
+path = "crates/rustynes-mappers/src/m069_sunsoft_fme7.rs"
+precedence = "aggregate"
+SPDX-FileCopyrightText = ["2025-2026 DoubleGate", "Sour et al. (Mesen2 / MesenCE)", "Martin Freij et al. (Nestopia UE)"]
+SPDX-License-Identifier = "GPL-3.0-or-later"
+SPDX-FileComment = "Contains code derived from Mesen2 (GPL-3.0-or-later), cross-referenced with Nestopia UE (GPL-2.0-or-later), as the file's Provenance header states."
+
+[[annotations]]
+path = "crates/rustynes-mappers/src/m244_cne_decathlon.rs"
+precedence = "aggregate"
+SPDX-FileCopyrightText = ["2025-2026 DoubleGate", "Sour et al. (Mesen2 / MesenCE)", "FHorse (puNES)"]
+SPDX-License-Identifier = "GPL-3.0-or-later"
+SPDX-FileComment = "Contains tables treated as derived from Mesen2 (GPL-3.0-or-later) and puNES (GPL-2.0-or-later), as the file's Provenance header states."
+
+[[annotations]]
+path = ["crates/rustynes-mappers/src/m268_bmc_coolboy.rs", "crates/rustynes-mappers/src/unif.rs"]
+precedence = "aggregate"
+SPDX-FileCopyrightText = ["2025-2026 DoubleGate", "Sour et al. (Mesen2 / MesenCE)", "The FCEUX team"]
+SPDX-License-Identifier = "GPL-3.0-or-later"
+SPDX-FileComment = "Contains code derived from Mesen2 (GPL-3.0-or-later) and FCEUX (GPL-2.0-or-later), as the file's Provenance header states."
+
+[[annotations]]
+path = "crates/rustynes-gfx-shaders/src/crt_stack.rs"
+precedence = "aggregate"
+SPDX-FileCopyrightText = ["2025-2026 DoubleGate", "TroggleMonkey (CRT-Royale)", "guest.r (crt-guest-advanced)", "MajorPainInTheCactus (Sony Megatron)"]
+SPDX-License-Identifier = "GPL-3.0-or-later"
+SPDX-FileComment = "Single-pass WGSL reimplementations of the CRT-Royale (GPL-2.0-or-later), crt-guest-advanced and Sony Megatron looks, as the file's Provenance header states. NOTICE leaves open whether this is a derivative work of the shader code; the authors are credited as the looks reproduced."
+
+# ---------------------------------------------------------------------------
+# 4. Vendored third-party code.
+# ---------------------------------------------------------------------------
+
+[[annotations]]
+path = "vendor/rust-libretro-sys/**"
+SPDX-FileCopyrightText = ["2022 Maximilian Mader", "2026 DoubleGate"]
+SPDX-License-Identifier = "MIT"
+SPDX-FileComment = "rust-libretro-sys 0.3.2 (https://github.com/max-m/rust-libretro), MIT; upstream LICENSE vendored alongside. DoubleGate holds the retro_game_info patch described in VENDORED.md."
+
+[[annotations]]
+path = "vendor/rust-libretro-sys/VENDORED.md"
+SPDX-FileCopyrightText = "2025-2026 DoubleGate"
+SPDX-License-Identifier = "GPL-3.0-or-later"
+SPDX-FileComment = "Project-written description of the vendored copy and its patch."
+
+[[annotations]]
+path = ["vendor/rust-libretro-sys/libretro.h", "vendor/rust-libretro-sys/libretro_vulkan.h"]
+SPDX-FileCopyrightText = "2010-2020 The RetroArch team"
+SPDX-License-Identifier = "MIT"
+SPDX-FileComment = "libretro API headers (libretro/RetroArch), MIT notice in-file."
+
+[[annotations]]
+path = "vendor/rust-libretro-sys/vulkan/**"
+SPDX-FileCopyrightText = "2014-2018 The Khronos Group Inc."
+SPDX-License-Identifier = "Apache-2.0"
+SPDX-FileComment = "Khronos Vulkan-Headers (https://github.com/KhronosGroup/Vulkan-Headers), notice in-file; read by bindgen at build time only."
+
+[[annotations]]
+path = "crates/rustynes-cheevos/vendor/rcheevos/**"
+SPDX-FileCopyrightText = "2018 RetroAchievements.org"
+SPDX-License-Identifier = "MIT"
+SPDX-FileComment = "rcheevos v12.5.0 (https://github.com/RetroAchievements/rcheevos), MIT; upstream LICENSE vendored alongside."
+
+[[annotations]]
+path = ["crates/rustynes-cheevos/vendor/rcheevos/src/rhash/md5.c", "crates/rustynes-cheevos/vendor/rcheevos/src/rhash/md5.h"]
+SPDX-FileCopyrightText = "1999, 2000, 2002 Aladdin Enterprises"
+SPDX-License-Identifier = "Zlib"
+SPDX-FileComment = "L. Peter Deutsch's MD5; the in-file licence text is the zlib licence."
+
+[[annotations]]
+path = "android/gradle/wrapper/gradle-wrapper.jar"
+SPDX-FileCopyrightText = "2015 the original author or authors (Gradle)"
+SPDX-License-Identifier = "Apache-2.0"
+SPDX-FileComment = "Gradle wrapper, as android/gradlew and gradlew.bat state in their headers."
+
+# ---------------------------------------------------------------------------
+# 5. Fonts.
+# ---------------------------------------------------------------------------
+
+[[annotations]]
+path = [
+ "assets/RustyNES_Icon/PressStart2P.ttf",
+ "ios/RustyNES/Fonts/PressStart2P.ttf",
+ "android/app/src/main/res/font/press_start_2p.ttf",
+]
+SPDX-FileCopyrightText = "2012 The Press Start 2P Project Authors"
+SPDX-License-Identifier = "OFL-1.1"
+SPDX-FileComment = "Press Start 2P (CodeMan38), Reserved Font Name \"Press Start 2P\"; holder string from the font's name table. The OFL text ships beside each copy."
+
+[[annotations]]
+path = [
+ "assets/RustyNES_Icon/OFL.txt",
+ "ios/RustyNES/Fonts/PressStart2P-OFL.txt",
+ "android/app/src/main/assets/PressStart2P-OFL.txt",
+]
+precedence = "override"
+SPDX-FileCopyrightText = "2012 The Press Start 2P Project Authors"
+SPDX-License-Identifier = "OFL-1.1"
+SPDX-FileComment = "The OFL-1.1 text shipped with Press Start 2P. Override: the licence body's 'Copyright Holder' wording is not a notice."
+
+[[annotations]]
+path = "crates/rustynes-frontend/assets/fonts/fa-solid-900.ttf"
+SPDX-FileCopyrightText = "2022 Fonticons, Inc."
+SPDX-License-Identifier = "OFL-1.1"
+SPDX-FileComment = "Font Awesome 6 Free Solid 6.5.2; see LICENSE-FontAwesome.txt beside it."
+
+[[annotations]]
+path = ["ios/RustyNES/Fonts/NESController.ttf", "android/app/src/main/res/font/nes_controller.ttf"]
+SPDX-FileCopyrightText = "2009 The author of the \"Nes Controller\" font (not identified)"
+SPDX-License-Identifier = "LicenseRef-NoStatedLicense"
+SPDX-FileComment = "Third-party font, \"Nes Controller\" Version 1.00, October 24, 2009 (FontCreator 6.0). No licence found anywhere; its name table carried only a template copyright placeholder, which an earlier change stripped (CHANGELOG-FULL.md). cufonfonts.com lists the uploader as Max Sigrist, who is not confirmed as the author."
+
+# ---------------------------------------------------------------------------
+# 6. Test ROMs and their upstream documentation (tests/roms/LICENSES.md).
+# Project-written READMEs in these directories keep the default.
+# ---------------------------------------------------------------------------
+
+[[annotations]]
+path = ["tests/roms/accuracycoin/AccuracyCoin.nes"]
+SPDX-FileCopyrightText = "2025 Chris Siebert"
+SPDX-License-Identifier = "MIT"
+SPDX-FileComment = "AccuracyCoin (https://github.com/100thCoin/AccuracyCoin); upstream MIT LICENSE vendored at tests/roms/accuracycoin/LICENSE."
+
+[[annotations]]
+path = [
+ "tests/roms/AccuracyCoin/sub-tests/*.nes",
+ "tests/roms/AccuracyCoin/sub-tests/BUILD-PROVENANCE.tsv",
+ "tests/roms/AccuracyCoin/mirror/AccuracyCoin-mirror.nes",
+ "tests/roms/AccuracyCoin/SOURCE_CATALOG.tsv",
+]
+SPDX-FileCopyrightText = ["2025 Chris Siebert", "2026 DoubleGate"]
+SPDX-License-Identifier = "MIT"
+SPDX-FileComment = "Built from the MIT AccuracyCoin source by RustyNES scripts (scripts/accuracycoin-build/); the patches are DoubleGate's and inherit MIT."
+
+[[annotations]]
+path = ["tests/roms/holy_mapperel/**", "tests/roms/extra/mappers/mapper_holymapperel_*"]
+SPDX-FileCopyrightText = "2013-2017 Damian Yerrick"
+SPDX-License-Identifier = "Zlib"
+SPDX-FileComment = "Holy Mapperel (https://github.com/pinobatch/holy-mapperel): README 'Legal': \"Copyright 2013-2017 Damian Yerrick / Available under zlib License.\""
+
+[[annotations]]
+path = "tests/roms/dpcmletterbox/**"
+SPDX-FileCopyrightText = "2010 Damian Yerrick"
+SPDX-License-Identifier = "FSFAP"
+SPDX-FileComment = "DPCM Letterbox; the vendored README.txt 'Legal' section is the FSF all-permissive licence verbatim."
+
+[[annotations]]
+path = ["tests/roms/audio-tests/*.nes", "tests/roms/audio-tests/UPSTREAM_README.md"]
+SPDX-FileCopyrightText = "Brad Smith (bbbradsmith)"
+SPDX-License-Identifier = "LicenseRef-bbbradsmith-permissive"
+SPDX-FileComment = "nes-audio-tests (https://github.com/bbbradsmith/nes-audio-tests); grant quoted in LICENSES/LicenseRef-bbbradsmith-permissive.txt from the upstream readme (vendored as UPSTREAM_README.md)."
+
+[[annotations]]
+path = [
+ "tests/roms/blargg/**/*.nes",
+ "tests/roms/blargg/**/*.txt",
+ "tests/roms/assorted/*.nes",
+ "tests/roms/extra/apu/*.nes",
+ "tests/roms/extra/cpu/*.nes",
+ "tests/roms/extra/ppu/*.nes",
+]
+SPDX-FileCopyrightText = "Shay Green (blargg)"
+SPDX-License-Identifier = "LicenseRef-NoStatedLicense"
+SPDX-FileComment = "blargg's NES test ROMs, mirrored from christopherpow/nes-test-roms. No licence or public-domain dedication found (checked 2026-11-15: the suites' readme files, the NESdev wiki page Emulator_tests, and christopherpow/nes-test-roms, which has no LICENSE or README). tests/roms/extra/{apu,cpu,ppu} are recorded as blargg's in tests/roms/LICENSES.md; per-file authorship there is not individually verified."
+
+[[annotations]]
+path = ["tests/roms/blargg/mmc3_test/**", "tests/roms/blargg/mmc3_irq_tests/**"]
+SPDX-FileCopyrightText = ["Shay Green (blargg)", "Kevin Horton (kevtris)"]
+SPDX-License-Identifier = "LicenseRef-NoStatedLicense"
+SPDX-FileComment = "MMC3 IRQ test suites credited to blargg / kevtris in tests/roms/LICENSES.md. No licence found (checked 2026-11-15: mmc3_test/readme.txt, the NESdev wiki, christopherpow/nes-test-roms)."
+
+[[annotations]]
+path = ["tests/roms/nestest/nestest.nes", "tests/roms/nestest/nestest.log", "tests/roms/assorted/nestest.nes"]
+SPDX-FileCopyrightText = "2004 Kevin Horton (kevtris)"
+SPDX-License-Identifier = "LicenseRef-NoStatedLicense"
+SPDX-FileComment = "nestest (https://www.qmtpro.com/~nes/misc/nestest.txt: 'By: Kevin Horton', V1.00 09/06/04, no licence stated). nestest.log is the matching Nintendulator-generated trace; no source names its author or a licence, so it is credited to the nestest distribution (kevtris) on that basis alone."
+
+[[annotations]]
+path = "tests/roms/nes-test-roms/**"
+SPDX-FileCopyrightText = "The authors of the ROMs collected at https://github.com/christopherpow/nes-test-roms (not recorded per file)"
+SPDX-License-Identifier = "LicenseRef-NoStatedLicense"
+SPDX-FileComment = "Committed subset of christopherpow/nes-test-roms, which has no LICENSE or README (checked 2026-11-15). No licence found for these ROMs."
+
+[[annotations]]
+path = [
+ "tests/roms/nes-test-roms/apu_reset/**",
+ "tests/roms/nes-test-roms/blargg_*/**",
+ "tests/roms/nes-test-roms/instr_test-v3/**",
+ "tests/roms/nes-test-roms/nes_instr_test/**",
+ "tests/roms/nes-test-roms/oam_read/**",
+ "tests/roms/nes-test-roms/pal_apu_tests/**",
+ "tests/roms/nes-test-roms/sprdma_and_dmc_dma/**",
+ "tests/roms/nes-test-roms/vbl_nmi_timing/**",
+]
+SPDX-FileCopyrightText = "Shay Green (blargg)"
+SPDX-License-Identifier = "LicenseRef-NoStatedLicense"
+SPDX-FileComment = "blargg suites in the christopherpow/nes-test-roms subset (named for blargg by directory, by tests/roms/LICENSES.md, or by blargg's devcart shell in the ROM). No licence found (checked 2026-11-15)."
+
+[[annotations]]
+path = ["tests/roms/mmc5/mapper_mmc5test_v1.nes", "tests/roms/mmc5/mapper_mmc5test_v2.nes"]
+SPDX-FileCopyrightText = "The authors of the mmc5test ROMs in christopherpow/nes-test-roms (not recorded)"
+SPDX-License-Identifier = "LicenseRef-NoStatedLicense"
+SPDX-FileComment = "From christopherpow/nes-test-roms mmc5test/. No licence found (checked 2026-11-15); the aggregator has no README."
+
+[[annotations]]
+path = "tests/roms/mmc5/mapper_mmc5exram.nes"
+SPDX-FileCopyrightText = "Quietust"
+SPDX-License-Identifier = "LicenseRef-NoStatedLicense"
+SPDX-FileComment = "The ROM's own text screen reads 'Written by Quietust'. From christopherpow/nes-test-roms mmc5test/. No licence found (checked 2026-11-15)."
+
+[[annotations]]
+path = ["tests/roms/m22/0-127.nes", "screenshots/m22/0_127_f240.png"]
+SPDX-FileCopyrightText = "NewRisingSun"
+SPDX-License-Identifier = "LicenseRef-NoStatedLicense"
+SPDX-FileComment = "VRC2 CHR-banking test (and a frame rendered from it), from christopherpow/nes-test-roms m22chrbankingtest/. No licence found (checked 2026-11-15)."
+
+[[annotations]]
+path = ["tests/roms/mmc1_a12/mmc1_a12.nes", "screenshots/mmc1_a12/mmc1_a12_f240.png"]
+SPDX-FileCopyrightText = "2010 Bregalad"
+SPDX-License-Identifier = "LicenseRef-NoStatedLicense"
+SPDX-FileComment = "MMC1 A12 test (and a frame rendered from it); its title screen reads '(C) 2010 BREGALAD'. From christopherpow/nes-test-roms MMC1_A12/. No licence found (checked 2026-11-15)."
+
+[[annotations]]
+path = ["tests/roms/dap/dapdemo_cc65.nes", "tests/roms/dap/dapdemo_cc65.dbg"]
+SPDX-FileCopyrightText = ["2026 DoubleGate", "The cc65 authors"]
+SPDX-License-Identifier = "CC0-1.0 AND Zlib"
+SPDX-FileComment = "Built from dapdemo.c (CC0-1.0) with cc65 034f73a9e1; links the cc65 NES runtime library and CHR font (zlib)."
+
+[[annotations]]
+path = ["tests/roms/dap/dapdemo_llvm_mos.nes", "tests/roms/dap/dapdemo_llvm_mos.elf"]
+SPDX-FileCopyrightText = ["2026 DoubleGate", "The llvm-mos SDK authors"]
+SPDX-License-Identifier = "CC0-1.0 AND Apache-2.0 WITH LLVM-exception"
+SPDX-FileComment = "Built from dapdemo.c (CC0-1.0) with the llvm-mos SDK v23.3.0; links the SDK's NES-NROM startup and runtime (Apache-2.0 WITH LLVM-exception)."
+
+[[annotations]]
+path = "docs/archive/legacy-v0.8-test-roms-src-2026-06-13.tar.gz"
+SPDX-FileCopyrightText = ["2025-2026 DoubleGate", "Shay Green (blargg)", "Kevin Horton (kevtris)"]
+SPDX-License-Identifier = "GPL-3.0-or-later AND LicenseRef-NoStatedLicense"
+SPDX-FileComment = "Mixed archive: blargg test-ROM sources and readmes and nestest.log (no licence stated) plus DoubleGate READMEs (GPL-3.0-or-later)."
+
+# ---------------------------------------------------------------------------
+# 7. Commercial-game imagery.
+# ---------------------------------------------------------------------------
+
+[[annotations]]
+path = [
+ "screenshots/external/**",
+ "screenshots/besteffort/**/*.png",
+ "screenshots/showcase.png",
+ "screenshots/montage.png",
+ "screenshots/mister-montage.png",
+ "images/RustyNES-Screen_SMB_FirstLight.png",
+ "tests/Screenshot_GUI-Output.png",
+]
+SPDX-FileCopyrightText = "Their respective game publishers"
+SPDX-License-Identifier = "LicenseRef-ThirdPartyGameImagery"
+SPDX-FileComment = "Frames rendered by RustyNES from commercial, unlicensed or hacked game dumps (and composites of them), kept as emulator test baselines. Two homebrew renders tagged '(PD)' only by their dump names are included here too."
diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts
index 0e82e6927..533cc0ccb 100644
--- a/android/app/build.gradle.kts
+++ b/android/app/build.gradle.kts
@@ -289,6 +289,12 @@ android {
// androidx classes like `AtomicFile` run under the tests unchanged.
testOptions {
unitTests.isReturnDefaultValues = true
+ // The merged assets on the test classpath (AGP names their directory in
+ // `com/android/tools/test_config.properties`), so LicenseAssetsTest can
+ // check that the APK's assets really carry LICENSE and NOTICE -- the
+ // copy task below, its registration as a generated asset source, and
+ // the merge -- rather than only the copy task's own output.
+ unitTests.isIncludeAndroidResources = true
}
// 16 KB page alignment (Play requirement for Android 15+). NDK r27+ aligns
@@ -449,6 +455,59 @@ val usePrebuiltRust = prebuiltRustDir?.let { dir ->
// be run by hand), but with the property set nothing depends on them.
tasks.named("preBuild") { dependsOn(usePrebuiltRust ?: uniffiBindgen) }
+// --- License notices --------------------------------------------------------
+
+// The repository-root LICENSE (the GPL-3.0 text) and NOTICE (the third-party
+// attributions, including the MIT and ISC notices of the code the core derives
+// from) packaged into every variant's assets at `licenses/` (LicenseAssets.kt),
+// where the About dialog shows them. The GPL requires that a recipient of the
+// binary gets its text, and the MIT and ISC licenses require their notices in
+// all copies; the desktop archives already ship both files (release.yml).
+// Copied at build time rather than checked in under src/main/assets/, so the
+// APK always carries the files at the root and no second copy can drift.
+//
+// A typed task with a declared output directory, registered per variant with
+// `addGeneratedSourceDirectory`, so AGP wires the asset merge to depend on it
+// (unlike the Exec tasks above, whose undeclared outputs keep them out of
+// Gradle's implicit-dependency validation). A missing or empty file fails the
+// build rather than shipping an app without its notices.
+abstract class CopyLicenseAssets : DefaultTask() {
+ @get:InputFiles
+ @get:PathSensitive(PathSensitivity.NAME_ONLY)
+ abstract val licenseFiles: ConfigurableFileCollection
+
+ @get:OutputDirectory
+ abstract val outputDir: DirectoryProperty
+
+ @TaskAction
+ fun copy() {
+ val dest = outputDir.get().asFile.resolve("licenses")
+ dest.deleteRecursively()
+ dest.mkdirs()
+ for (f in licenseFiles.files) {
+ if (!f.isFile || f.length() == 0L) {
+ throw GradleException("$f is missing or empty; the app must ship it (see LicenseAssets.kt)")
+ }
+ f.copyTo(dest.resolve(f.name))
+ }
+ }
+}
+
+val licenseSources = listOf(workspaceRoot.resolve("LICENSE"), workspaceRoot.resolve("NOTICE"))
+
+androidComponents {
+ onVariants { variant ->
+ val copy = tasks.register(
+ "copy${variant.name.replaceFirstChar { it.uppercase() }}LicenseAssets",
+ ) {
+ group = "build"
+ description = "Copy the repository-root LICENSE and NOTICE into the ${variant.name} assets."
+ licenseFiles.from(licenseSources)
+ }
+ variant.sources.assets?.addGeneratedSourceDirectory(copy, CopyLicenseAssets::outputDir)
+ }
+}
+
dependencies {
// v1.8.8 "Atlas": the Compose BOM is tracked on its stable line, for the
// adaptive APIs (Window Size Classes, ListDetailPaneScaffold) and a current
@@ -575,6 +634,8 @@ tasks.withType().configureEach {
inputs.file(layout.projectDirectory.file("src/main/AndroidManifest.xml"))
inputs.file(layout.projectDirectory.file("build.gradle.kts"))
inputs.dir(layout.projectDirectory.dir("src/main/java"))
+ // LicenseAssetsTest compares the packaged copies with these.
+ inputs.files(licenseSources)
}
// v1.8.8 "Atlas" (Workstream J): how :app consumes the generated profile.
diff --git a/android/app/src/main/java/com/doublegate/rustynes/Dialogs.kt b/android/app/src/main/java/com/doublegate/rustynes/Dialogs.kt
index 55144d81e..29d8b1710 100644
--- a/android/app/src/main/java/com/doublegate/rustynes/Dialogs.kt
+++ b/android/app/src/main/java/com/doublegate/rustynes/Dialogs.kt
@@ -11,6 +11,7 @@ import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.heightIn
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.rememberScrollState
+import androidx.compose.foundation.text.selection.SelectionContainer
import androidx.compose.foundation.verticalScroll
import androidx.compose.material3.AlertDialog
import androidx.compose.material3.Checkbox
@@ -20,6 +21,7 @@ import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableIntStateOf
import androidx.compose.runtime.mutableStateOf
+import androidx.compose.runtime.produceState
import androidx.compose.runtime.remember
import androidx.compose.runtime.setValue
import androidx.compose.ui.Alignment
@@ -28,19 +30,32 @@ import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.asImageBitmap
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.res.stringResource
+import androidx.compose.ui.text.font.FontFamily
+import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.text.style.TextDecoration
import androidx.core.net.toUri
import androidx.core.graphics.drawable.toBitmap
import androidx.compose.ui.unit.dp
+import androidx.compose.ui.unit.sp
+import kotlinx.coroutines.Dispatchers
+import kotlinx.coroutines.withContext
/**
* About + first-run onboarding dialogs (v1.8.3, items 8-9). Pure UI; nothing here
* touches emulation.
*/
-/** The About dialog: the RustyNES icon + the desktop project's About text. */
+/** The About dialog: the RustyNES icon + the desktop project's About text, and
+ * the bundled license texts ([LicenseAssets]). */
@Composable
fun AboutDialog(onDismiss: () -> Unit) {
+ // Which bundled license text is open, if any. It replaces the About dialog
+ // while it is shown, and Close returns to About rather than dismissing both.
+ var openLicense by remember { mutableStateOf?>(null) }
+ openLicense?.let { (asset, title) ->
+ LicenseTextDialog(asset = asset, title = title, onDismiss = { openLicense = null })
+ return
+ }
AlertDialog(
onDismissRequest = onDismiss,
confirmButton = { TextButton(onClick = onDismiss) { Text(stringResource(R.string.about_close)) } },
@@ -91,6 +106,56 @@ fun AboutDialog(onDismiss: () -> Unit) {
}
},
)
+ // The license text and the third-party notices, packaged into the
+ // APK from the repository root at build time (LicenseAssets.kt).
+ Spacer(Modifier.height(10.dp))
+ Text(stringResource(R.string.about_licenses_heading), fontWeight = FontWeight.Bold)
+ Spacer(Modifier.height(6.dp))
+ Text(
+ stringResource(R.string.about_license_gpl),
+ color = Color(0xFF4FC3F7),
+ textDecoration = TextDecoration.Underline,
+ modifier = Modifier.clickable {
+ openLicense = LicenseAssets.LICENSE to R.string.about_license_gpl
+ },
+ )
+ Spacer(Modifier.height(6.dp))
+ Text(
+ stringResource(R.string.about_license_notices),
+ color = Color(0xFF4FC3F7),
+ textDecoration = TextDecoration.Underline,
+ modifier = Modifier.clickable {
+ openLicense = LicenseAssets.NOTICE to R.string.about_license_notices
+ },
+ )
+ }
+ },
+ )
+}
+
+/**
+ * One license text bundled in the APK's assets ([LicenseAssets]), shown in full:
+ * read once off the main thread, monospaced so the text's own line layout
+ * survives, and selectable so it can be copied.
+ */
+@Composable
+private fun LicenseTextDialog(asset: String, title: Int, onDismiss: () -> Unit) {
+ val ctx = LocalContext.current
+ val text by produceState(initialValue = "", asset) {
+ value = withContext(Dispatchers.IO) {
+ runCatching { ctx.assets.open(asset).bufferedReader().use { it.readText() } }
+ .getOrElse { ctx.getString(R.string.about_license_unreadable) }
+ }
+ }
+ AlertDialog(
+ onDismissRequest = onDismiss,
+ confirmButton = { TextButton(onClick = onDismiss) { Text(stringResource(R.string.about_close)) } },
+ title = { Text(stringResource(title)) },
+ text = {
+ SelectionContainer {
+ Column(modifier = Modifier.heightIn(max = 480.dp).verticalScroll(rememberScrollState())) {
+ Text(text, fontFamily = FontFamily.Monospace, fontSize = 11.sp)
+ }
}
},
)
diff --git a/android/app/src/main/java/com/doublegate/rustynes/LicenseAssets.kt b/android/app/src/main/java/com/doublegate/rustynes/LicenseAssets.kt
new file mode 100644
index 000000000..be48344cf
--- /dev/null
+++ b/android/app/src/main/java/com/doublegate/rustynes/LicenseAssets.kt
@@ -0,0 +1,27 @@
+package com.doublegate.rustynes
+
+/**
+ * Where the repository-root `LICENSE` (the GPL-3.0 text) and `NOTICE` (the
+ * third-party attributions, including the MIT and ISC notices of the code the
+ * core derives from) sit inside the APK's assets.
+ *
+ * They are not checked in under `src/main/assets/`: `app/build.gradle.kts`
+ * copies them from the repository root into a generated asset directory for
+ * every variant (`copyLicenseAssets`, wired with
+ * `addGeneratedSourceDirectory`), so the app always ships exactly the files at
+ * the root and no second copy can drift. The GPL requires that a recipient of
+ * the binary gets its text, and the MIT and ISC licenses require their notices
+ * in all copies; the desktop archives already ship both files (release.yml).
+ * The About dialog shows them ([AboutDialog]), and `LicenseAssetsTest` checks
+ * the merged assets hold both, byte-identical to the root.
+ */
+object LicenseAssets {
+ /** The asset subdirectory the Gradle copy task writes. */
+ const val DIR = "licenses"
+
+ /** The GNU General Public License, version 3. */
+ const val LICENSE = "$DIR/LICENSE"
+
+ /** The project's NOTICE: copyright, provenance and third-party notices. */
+ const val NOTICE = "$DIR/NOTICE"
+}
diff --git a/android/app/src/main/res/values-es/strings.xml b/android/app/src/main/res/values-es/strings.xml
index 05c2b8ffd..f9d38ed65 100644
--- a/android/app/src/main/res/values-es/strings.xml
+++ b/android/app/src/main/res/values-es/strings.xml
@@ -173,6 +173,10 @@
Cerrar
RustyNES — un emulador de Nintendo Entertainment System de precisión de ciclo escrito en Rust puro.\n\nLicencia: GPL-3.0-or-later\nAutor: DoubleGate\nPrecisión: AccuracyCoin 100%% (141/141); nestest sin diferencias; suites blargg / kevtris en verde.\n\nCaracterísticas: 172 familias de mappers, el Famicom Disk System, Vs. System / PlayChoice-10, juego en red con rollback, RetroAchievements, películas TAS + el editor TAStudio, estados guardados, rebobinado, run-ahead, scripting Lua + automatización, paquetes HD y grabación de A/V — todo bajo un estricto contrato de determinismo de bits.
+ Licencias de código abierto
+ Licencia (GPL-3.0-or-later)
+ Avisos de terceros
+ (ilegible)
Continuar…
diff --git a/android/app/src/main/res/values/strings.xml b/android/app/src/main/res/values/strings.xml
index c0d3c5dcc..9bf26df98 100644
--- a/android/app/src/main/res/values/strings.xml
+++ b/android/app/src/main/res/values/strings.xml
@@ -195,6 +195,10 @@
Close
RustyNES — a cycle-accurate Nintendo Entertainment System emulator written in pure Rust.\n\nLicense: GPL-3.0-or-later\nAuthor: DoubleGate\nAccuracy: AccuracyCoin 100%% (141/141); nestest 0-diff; blargg / kevtris suites green.\n\nFeatures: 172 mapper families, the Famicom Disk System, Vs. System / PlayChoice-10, rollback netplay, RetroAchievements, TAS movies + the TAStudio editor, save-states, rewind, run-ahead, Lua scripting + automation, HD packs, and A/V recording — all on a strict bit-determinism contract.
+ Open-source licenses
+ License (GPL-3.0-or-later)
+ Third-party notices
+ (unreadable)
Continue…
diff --git a/android/app/src/test/java/com/doublegate/rustynes/LicenseAssetsTest.kt b/android/app/src/test/java/com/doublegate/rustynes/LicenseAssetsTest.kt
new file mode 100644
index 000000000..88ca3f774
--- /dev/null
+++ b/android/app/src/test/java/com/doublegate/rustynes/LicenseAssetsTest.kt
@@ -0,0 +1,59 @@
+package com.doublegate.rustynes
+
+import org.junit.Assert.assertArrayEquals
+import org.junit.Assert.assertTrue
+import org.junit.Test
+import java.io.File
+import java.util.Properties
+
+/**
+ * The APK carries the repository-root LICENSE and NOTICE (see [LicenseAssets]).
+ *
+ * `unitTests.isIncludeAndroidResources` (app/build.gradle.kts) makes AGP merge
+ * this variant's assets before the tests run and name the merged directory in
+ * `com/android/tools/test_config.properties` on the test classpath. Reading
+ * that directory checks the whole path a release takes -- the copy task, its
+ * registration as a generated asset source, and the asset merge -- rather than
+ * only the copy task's own output.
+ */
+class LicenseAssetsTest {
+ private fun mergedAssets(): File {
+ val stream = javaClass.classLoader!!.getResourceAsStream("com/android/tools/test_config.properties")
+ ?: error("test_config.properties is not on the test classpath; is unitTests.isIncludeAndroidResources on?")
+ val props = Properties().apply { stream.use { load(it) } }
+ val dir = props.getProperty("android_merged_assets")
+ ?: error("test_config.properties names no android_merged_assets: $props")
+ return File(dir).also { assertTrue("merged assets dir $it does not exist", it.isDirectory) }
+ }
+
+ /** A repository-root file, from the module directory Gradle runs tests in. */
+ private fun rootFile(name: String): File =
+ listOf(File("../../$name"), File("../$name"), File(name)).firstOrNull { it.isFile }
+ ?: error("$name not found from ${File(".").absolutePath}")
+
+ @Test
+ fun the_apk_assets_carry_license_and_notice_unchanged() {
+ val assets = mergedAssets()
+ for ((asset, root) in listOf(LicenseAssets.LICENSE to "LICENSE", LicenseAssets.NOTICE to "NOTICE")) {
+ val packaged = assets.resolve(asset)
+ assertTrue("$asset is not in the merged assets ($assets)", packaged.isFile)
+ val expected = rootFile(root).readBytes()
+ assertTrue("$root is empty", expected.isNotEmpty())
+ assertArrayEquals("$asset differs from the repository-root $root", expected, packaged.readBytes())
+ }
+ }
+
+ /** The About dialog offers both texts (a source check: Compose UI does not
+ * run on the JVM here). */
+ @Test
+ fun the_about_dialog_opens_both() {
+ val src = listOf(
+ File("src/main/java/com/doublegate/rustynes/Dialogs.kt"),
+ File("app/src/main/java/com/doublegate/rustynes/Dialogs.kt"),
+ ).firstOrNull { it.isFile }?.readText() ?: error("Dialogs.kt not found")
+ val about = src.substringAfter("fun AboutDialog(").substringBefore("\n}\n")
+ assertTrue("AboutDialog opens LICENSE", about.contains("LicenseAssets.LICENSE"))
+ assertTrue("AboutDialog opens NOTICE", about.contains("LicenseAssets.NOTICE"))
+ assertTrue("the text is read from the APK's assets", src.contains("assets.open(asset)"))
+ }
+}
diff --git a/crates/rustynes-core/benches/full_frame.rs b/crates/rustynes-core/benches/full_frame.rs
index cfdbeefc2..209719260 100644
--- a/crates/rustynes-core/benches/full_frame.rs
+++ b/crates/rustynes-core/benches/full_frame.rs
@@ -5,7 +5,7 @@
//! bench produces is the headline "ms/frame headless" claim in
//! `docs/performance.md` (formerly un-evidenced ≤ 2 ms/frame).
//!
-//! Methodology: load `nestest.nes` (kevtris, NROM, public domain),
+//! Methodology: load `nestest.nes` (kevtris, NROM, committed; no licence stated),
//! reset, then iterate `run_frame()` N times. The bench captures the
//! whole lockstep stack: CPU per-cycle bus interleaving + PPU dot
//! scheduler + APU sample emit + mapper dispatch + framebuffer write.
diff --git a/crates/rustynes-cosim/src/lib.rs b/crates/rustynes-cosim/src/lib.rs
index 9d9f4729a..36c790a52 100644
--- a/crates/rustynes-cosim/src/lib.rs
+++ b/crates/rustynes-cosim/src/lib.rs
@@ -1480,7 +1480,8 @@ mod tests {
// as an external consumer would. If they ever need to be a separate binary
// again, the crate-type is what has to change first.
- /// A committed, public-domain test ROM. Not a commercial dump.
+ /// A committed homebrew test ROM (Bregalad; no licence stated, see
+ /// `tests/roms/LICENSES.md`). Not a commercial dump.
const ROM: &str = "../../tests/roms/mmc1_a12/mmc1_a12.nes";
const SEED: u64 = 12345;
diff --git a/crates/rustynes-frontend/src/debugger/nsf_panel.rs b/crates/rustynes-frontend/src/debugger/nsf_panel.rs
index 31a6bd49c..403664295 100644
--- a/crates/rustynes-frontend/src/debugger/nsf_panel.rs
+++ b/crates/rustynes-frontend/src/debugger/nsf_panel.rs
@@ -40,7 +40,9 @@ pub struct NsfPanelState {
pub title: String,
/// Artist (NSF header `$2E`).
pub artist: String,
+ // REUSE-IgnoreStart (an NSF header field, not a notice of this file)
/// Copyright holder (NSF header `$4E`).
+ // REUSE-IgnoreEnd
pub copyright: String,
/// v1.5.0 C3 — per-channel scope ring buffers (pulse1/2, triangle, noise,
/// DMC). Output-only display state.
diff --git a/crates/rustynes-frontend/web/index.html b/crates/rustynes-frontend/web/index.html
index d2795a112..b6bb10678 100644
--- a/crates/rustynes-frontend/web/index.html
+++ b/crates/rustynes-frontend/web/index.html
@@ -317,6 +317,10 @@ RustyNES — wasm32 (wgpu + egui)
github.com/doublegate/RustyNES
·
API documentation
+ ·
+ License
+ ·
+ Third-party notices
+ `SPDX-License-Identifier: GPL-3.0-or-later` header and a specific provenance note
naming its upstream file/function (e.g. Mesen2 `NesPpu.cpp`, puNES `JV001.c`) and
pointing to the §1 table. The old scattered, imprecise per-line "port of" comments
are not restored verbatim — the SPDX + provenance headers plus the centralized
diff --git a/docs/adr/0039-sdram-clock-domain.md b/docs/adr/0039-sdram-clock-domain.md
index 616871fb8..38abb3cf5 100644
--- a/docs/adr/0039-sdram-clock-domain.md
+++ b/docs/adr/0039-sdram-clock-domain.md
@@ -39,7 +39,8 @@ recurring every 8, shared with the CPU.
### What an access costs
-At the -7 grade (`ref-docs/Datasheets/...Rev1.4...pdf`, Table 16): tRCD 21 ns,
+At the -7 grade (datasheet revision 1.4, Table 16; where to download it:
+[`ref-docs/2026-11-15-sdram-datasheet-sources.md`](../../ref-docs/2026-11-15-sdram-datasheet-sources.md)): tRCD 21 ns,
tRP 21 ns, tRAS 42 ns min, CL2 needs tCK >= 10 ns.
Run at `clk_sys` (21.477272 MHz, 46.6 ns period) an activate/read/auto-precharge
diff --git a/docs/ai-emulator-provenance-guardrails.md b/docs/ai-emulator-provenance-guardrails.md
index b66904ab0..be20a788e 100644
--- a/docs/ai-emulator-provenance-guardrails.md
+++ b/docs/ai-emulator-provenance-guardrails.md
@@ -150,7 +150,7 @@ enough; a reader, a packager, and a court each look in a different place.
1. **At the site.** A comment on the derived function/table/block naming the **upstream project,
the specific file/function**, and its **license** — e.g.
`// Provenance: derived from 's (), .`
-2. **A file-level SPDX tag.** `// SPDX-License-Identifier: ` at the top of
+2. **A file-level SPDX tag.** `// SPDX-License-Identifier: ` at the top of
every derived file (ideally every file).
3. **A central derivation table.** One document (a `PROVENANCE.md` / derivation table, or similar)
with a row per derived file: *your file → upstream project → upstream file/function → upstream
@@ -265,6 +265,16 @@ short and imperative so it survives in a loaded context and an agent cannot "rea
from." Attribute real ports; leave genuinely-independent code independent.
- TEST ROMS. Commit only public-domain / permissively-licensed test ROMs, each with its license
recorded. NEVER commit commercial/copyrighted ROMs.
+ [2026-11-15, maintainer decision, recorded here so this rule and the tree agree] The REUSE 3.3
+ audit (PRs #664 and sibling #79) found that about 240 committed test ROMs, blargg's suites,
+ kevtris's nestest and the ROMs mirrored from christopherpow/nes-test-roms among them, carry no
+ stated license and no public-domain dedication; the repository had called them public domain
+ without a source. The maintainer chose to KEEP them, labelled honestly as
+ `LicenseRef-NoStatedLicense` with their real authors in REUSE.toml and tests/roms/LICENSES.md,
+ rather than remove them. That is a deliberate, recorded exception for the ROMs already present:
+ do not remove them under this rule, and do not relabel them as public domain. A NEW test ROM
+ still meets the rule as written (a stated public-domain or permissive license, recorded), and
+ the `reuse` CI job fails on an unlabelled file under tests/roms/.
- DO NOT SELF-CERTIFY. Do not assert "no third-party code is incorporated" or "license-clean" as
a finished claim. Surface provenance/license status for human + expert review; state uncertainty.
```
diff --git a/docs/audits/rtl-audit-report.md b/docs/audits/rtl-audit-report.md
index f350aaf53..9ca6539ff 100644
--- a/docs/audits/rtl-audit-report.md
+++ b/docs/audits/rtl-audit-report.md
@@ -1119,5 +1119,5 @@ In accordance with the 2026-08-26 provenance audit, 21 files within the RustyNES
### 8.3 Provenance & Attribution Facts
- **Licensing Metadata**: The `RustyNES_MiSTer` hardware RTL implementation metadata records the license as **GPL-3.0-or-later**.
-- **Notice Compliance**: All source files carry SPDX license headers (`SPDX-License-Identifier: GPL-3.0-or-later`) and copyright attributions.
+- **Notice Compliance**: All source files carry SPDX license headers (`SPDX-License-Identifier: GPL-3.0-or-later`) and copyright attributions.
- **Provenance Fact**: All findings and proposed fixes in this report were developed observing the clean-room constraints. Final determination of license compatibility and code provenance is subject to the project's established maintainer and legal review processes.
diff --git a/docs/originality-and-provenance.md b/docs/originality-and-provenance.md
index 57004707c..dbb708568 100644
--- a/docs/originality-and-provenance.md
+++ b/docs/originality-and-provenance.md
@@ -52,7 +52,7 @@ project + file so the record stands without the local clone). Each
row is code in RustyNES that was ported, adapted, or closely modeled from the named
upstream — not merely behavior observed and reimplemented from documentation. Most
upstreams here are GPL emulators; some are permissively licensed (emu2413 and
-TriCNES under MIT, ares under BSD-2-Clause / Apache-2.0) and one is LGPL
+TriCNES under MIT, ares under ISC) and one is LGPL
(blip_buf). "Upstream license" is the license the upstream file carries. Every one
is compatible with distributing the combined work under GPL-3.0-or-later: the GPL
upstreams are GPL-2.0-**or-later** or GPL-3.0-**or-later**, and the permissive and
@@ -64,7 +64,7 @@ LGPL-2.1-or-later ones may be incorporated into a GPL-3.0-or-later work.
| `crates/rustynes-ppu/src/ppu.rs` | Mesen2 | `ProcessSpriteEvaluation` (`NesPpu.cpp:1015-1141`), `ReadSpriteRam`, the OAM-data-bus / sprite-evaluation read paths; the optional OAM-decay model (`ReadSpriteRam` / `WriteSpriteRam`, `OamDecayCycleCount`), written at v2.1.4 and recorded here only at v2.9.4 | GPL-3.0-or-later |
| `crates/rustynes-core/src/bus.rs` | TriCNES | the `Fetch` address-bus-window block (`oam_dma_read_reg_active`, a direct port); the DMA flags the unified DMA engine models (`dmc_halt`, `uni_oam_*`) | MIT |
| `crates/rustynes-ppu/src/raw_signal.rs` | Bisqwit; Mesen2 | The raw composite-signal model, which `docs/ppu-2c02.md` has called "the canonical Bisqwit `nes_ntsc` / Mesen2 'raw palette' generator" since v2.1.9 (recorded v2.9.8 at the maintainer's direction; found while the v2.9.8 emphasis model was written, which does not use it) | Bisqwit (see §6); GPL-3.0-or-later (Mesen2) |
-| `crates/rustynes-ppu/src/palette_gen.rs` | Bisqwit; ares | Bisqwit NES palette method; ares `fc/ppu/color.cpp` integration | Bisqwit (see §6); ares BSD-2/Apache-2.0 |
+| `crates/rustynes-ppu/src/palette_gen.rs` | Bisqwit; ares | Bisqwit NES palette method; ares `fc/ppu/color.cpp` integration | Bisqwit (see §6); ares ISC (until 2026-11-15 this said BSD-2/Apache-2.0, a misreading of ares's LICENSE, whose BSD-2 and Apache-2.0 sections cover bundled third-party components) |
| `crates/rustynes-apu/src/apu.rs` | TriCNES; Mesen2 | the DMC-DMA state model (`Emulator.cs` fields, cited by name and line in the field docs); `_needHalt` / `_needDummyRead` (`NesCpu`) (recorded v2.9.9, NC-17) | MIT / GPL-3.0-or-later |
| `crates/rustynes-apu/src/frame_counter.rs` | Mesen2 | `ApuFrameCounter::GetIrqFlag` lazy `$4015` clear; `stepCyclesPal` (recorded v2.9.9, NC-17) | GPL-3.0-or-later |
| `crates/rustynes-apu/src/blip.rs` | blip_buf (Blargg) | band-limited synthesis (`blip_buf`) | LGPL-2.1-or-later |
@@ -150,7 +150,7 @@ this project previously mislabeled the second as the first.
| Nestopia UE | GPL-2.0-or-later | Derivation (§1, FME-7/5B) **and** oracle |
| GeraNES | GPL-3.0-only | Reference / cross-check: source consulted to confirm publicly-documented behavior; no code copied (see note) |
| higan | GPL-3.0-or-later | Scheduler-structure reference / oracle |
-| ares | BSD-2-Clause / Apache-2.0 | Palette-integration reference (§1) / oracle |
+| ares | ISC (corrected 2026-11-15 from BSD-2-Clause / Apache-2.0) | Palette-integration reference (§1) / oracle |
| TriCNES | MIT | Incorporated (§5) **and** timing-calibration reference (§4) |
**GeraNES specifically (honest note).** Some in-source comments previously cited
@@ -284,7 +284,7 @@ earlier document did.
Genuinely incorporated, each GPL-compatible and attributed in `NOTICE`:
-| Component | License | Copyright | Where |
+| Component | License | Copyright | Where |
| --- | --- | --- | --- |
| emu2413 v1.5.9 | MIT | 2020 Mitsutaka Okazaki | `crates/rustynes-apu/src/opll.rs` (Rust port; VRC7 audio, ADR 0006) |
| TriCNES | MIT | 2025 Chris Siebert | `crates/rustynes-{ppu,cpu,core}` (models ported from commit `9199870`) + vendored golden oracle (commit `94f1b117`, re-synced 2026-09-19) |
@@ -327,12 +327,57 @@ deterministic emulation core or its AccuracyCoin results.
## 7. Test ROMs
-Every ROM committed under `tests/roms/` is a public-domain work released for
+Every ROM committed under `tests/roms/` is a homebrew test program written for
validating NES emulators, catalogued per-author in `tests/roms/LICENSES.md`
(blargg's suites, kevtris/AccuracyCoin material, and others). **No commercial
Nintendo software is bundled**; users test commercial dumps they own from the
gitignored `tests/roms/external/`. The AccuracyCoin battery is MIT-licensed
-(Chris Siebert / 100thCoin).
+(Chris Siebert / 100thCoin); Holy Mapperel is zlib and DPCM Letterbox
+all-permissive (Damian Yerrick); bbbradsmith's audio tests carry his own
+permissive grant.
+
+**Correction, 2026-11-15.** This section said until 2026-11-15 that every
+committed ROM "is a public-domain work". That was not supported. For blargg's
+suites, kevtris's `nestest`, and the ROMs mirrored from
+`christopherpow/nes-test-roms` (including `nes-test-roms/`, `mmc5/`, `m22/` and
+`mmc1_a12/`), no public-domain dedication and no licence was found: the suites'
+own readme files state none, the NESdev wiki page cited for their status
+() states none, and
+`christopherpow/nes-test-roms` has no LICENSE and no README. They are kept as
+widely mirrored test material, labelled `LicenseRef-NoStatedLicense` (text in
+`LICENSES/`): copyright stays with their authors, RustyNES grants no licence to
+them, and the GPL does not cover them.
+
+### REUSE 3.3
+
+The tree follows the [REUSE 3.3 specification](https://reuse.software/spec-3.3/).
+Every file's copyright holder(s) and licence are stated either in its own SPDX
+header or in the root `REUSE.toml`, and every licence used has its text under
+`LICENSES/`. The `REUSE.toml` comments record the evidence for each third-party
+class (test ROMs, vendored code, fonts, commercial-game screenshots). Check
+locally with `uvx reuse lint` (or `pipx run reuse lint`); CI runs the same check
+in the `reuse` job of `.github/workflows/ci.yml`.
+
+**Adding a file you did not write.** The check verifies that every file has a
+label, not that the label is right. `REUSE.toml`'s default labels the
+first-party roots as DoubleGate's GPL work, so a third-party file placed in one
+of them (a font under `crates/`, say) would pass with the wrong label. The four
+directories where outside material lands, `tests/roms/`, `screenshots/`,
+`vendor/` and `ref-docs/` (Markdown excepted), are left out of that default on
+purpose: a file added there fails the check until it gets an annotation of its
+own, naming its real author and licence, with the evidence in a comment. Add
+one for any third-party file, wherever it goes.
+
+That guard has a second limit. Several annotations label a whole directory by
+glob (`tests/roms/audio-tests/*.nes`, `tests/roms/blargg/**`,
+`tests/roms/nes-test-roms/**` and others), so a new file placed inside one of
+those directories inherits that directory's holder and licence and passes the
+check without an annotation of its own: a new `.nes` in `audio-tests/` would be
+labelled Brad Smith's, under his licence. Before adding a file anywhere under
+`tests/roms/`, `screenshots/`, `vendor/` or `ref-docs/`, run
+`uvx reuse spdx | grep -A6 ''` and check that the holder and
+licence it reports are really that file's; if not, add an exact-path
+annotation after the glob's (the last matching annotation wins).
---
@@ -350,8 +395,8 @@ like sweeping this under the rug:
- v2.2.9 corrects this the right way: it (a) relicenses the project to
GPL-3.0-or-later, (b) states plainly that other emulators' code was incorporated
during implementation, (c) credits every derived-from source here and in
- `NOTICE`, and (d) marks each derived source file with an accurate
- `SPDX-License-Identifier: GPL-3.0-or-later` header and a specific provenance note
+ `NOTICE`, and (d) marks each derived source file with an accurate
+ `SPDX-License-Identifier: GPL-3.0-or-later` header and a specific provenance note
(naming its upstream file/function) that points back to the §1 table. The old
scattered, imprecise per-line "port of" comments are not restored verbatim — the
SPDX + provenance headers plus this audited table are their accurate,
diff --git a/docs/provenance-failure-postmortem.md b/docs/provenance-failure-postmortem.md
index 098145309..8a73b565a 100644
--- a/docs/provenance-failure-postmortem.md
+++ b/docs/provenance-failure-postmortem.md
@@ -174,8 +174,8 @@ construction"; the porting is proven by the code and comments themselves.
- **Relicensed to GPL-3.0-or-later** (ADR 0036). RustyNES is a derivative work of GPL emulators;
the MIT/Apache license and the "no GPL code" claim are withdrawn.
- **Attribution restored, honestly.** `originality-and-provenance.md` §1 is a file-by-file
- derivation table; `NOTICE` credits each GPL upstream; each derived source file carries an
- `SPDX-License-Identifier: GPL-3.0-or-later` header and a specific provenance note. The scrubbed
+ derivation table; `NOTICE` credits each GPL upstream; each derived source file carries an
+ `SPDX-License-Identifier: GPL-3.0-or-later` header and a specific provenance note. The scrubbed
"port of" comments are superseded by this more complete record, not re-hidden.
- **This post-mortem**, so the failure is documented rather than buried.
diff --git a/docs/release-notes/v2.6.0.md b/docs/release-notes/v2.6.0.md
index 9d9abdda9..83b3c0404 100644
--- a/docs/release-notes/v2.6.0.md
+++ b/docs/release-notes/v2.6.0.md
@@ -91,7 +91,7 @@ makes it work, in two parts:
transfer-reset↔motor swap; $4030 byte-transfer flag is bit7 not bit1; $4030 read
must not clear it; flag CRC-gated) + a drive spin-up.
2. **$4025 bit-3 mirroring inversion** — D3=1 is HORIZONTAL per nesdev (was Vertical),
- which aliased `$2000`↔`$2800`. The BIOS approval check loads the "©NINTENDO"
+ which aliased `$2000`↔`$2800`. The BIOS approval check loads the "©NINTENDO"
licence tilemap to `$2800`, clears the message nametable at`$2000`, then
self-verifies `$2800` — with the aliased mirroring, clearing `$2000` wiped the
licence the same frame the verify ran → "DISK TROUBLE ERR.20". Correcting the bit
diff --git a/docs/testing-strategy.md b/docs/testing-strategy.md
index 1880a23bf..6739bbe47 100644
--- a/docs/testing-strategy.md
+++ b/docs/testing-strategy.md
@@ -31,7 +31,7 @@ Aim: > 90% line coverage on the chip crates.
## Layer 3 — test ROM corpus (subsystem coverage)
-The full blargg + kevtris + community test ROM suite, vendored in `tests/roms/` (all are CC0 / public-domain individual ROMs from `christopherpow/nes-test-roms`). Each ROM is run by `rustynes-test-harness::run_until_complete()`, which:
+The full blargg + kevtris + community test ROM suite, vendored in `tests/roms/` (third-party ROMs, most from `christopherpow/nes-test-roms`; per-file licences, or the fact that none was stated, in `REUSE.toml` and `tests/roms/LICENSES.md`). Each ROM is run by `rustynes-test-harness::run_until_complete()`, which:
1. Steps until `$6000` reads `$80→$00..$7F` (test complete) or `$81` (needs reset) — automated reset on `$81`.
2. Reads the result code at `$6000` and the message string at `$6004` onward.
@@ -235,7 +235,7 @@ fails if any job it aggregates failed):
## Test ROM licensing
-All vendored ROMs are individually CC0 or public-domain per their authors' dedications. Redistribution rights are documented in `tests/roms/LICENSES.md`. **No commercial Nintendo ROMs are bundled.** A separate `tests/roms/external/` directory is `.gitignore`'d for users who own ROMs they want to test against locally.
+The vendored ROMs' licences are recorded per file in `REUSE.toml` and `tests/roms/LICENSES.md`. Several carry a real licence (AccuracyCoin MIT, Holy Mapperel zlib); many, blargg's and kevtris's among them, have no licence stated and are labelled `LicenseRef-NoStatedLicense` (until 2026-11-15 this said every ROM was CC0 or public domain, which no source supported). **No commercial Nintendo ROMs are bundled.** A separate `tests/roms/external/` directory is `.gitignore`'d for users who own ROMs they want to test against locally.
## Nesdev Completeness Audit
diff --git a/docs/testing/baselines-audit.md b/docs/testing/baselines-audit.md
index 00daaee5c..13fb966b3 100644
--- a/docs/testing/baselines-audit.md
+++ b/docs/testing/baselines-audit.md
@@ -88,7 +88,7 @@ NROM-bundled APU quirks (0, 3 ROMs).
### `crates/rustynes-test-harness/tests/m22.rs`
**ROM covered.** `tests/roms/m22/0-127.nes`. VRC2a (mapper 22)
-CHR-banking test by NewRisingSun. Public-domain via
+CHR-banking test by NewRisingSun. No licence stated; aggregated in
`christopherpow/nes-test-roms`.
**Pattern.** `insta::assert_snapshot!` of fb-only snapshot
@@ -107,8 +107,8 @@ black background — the ROM is mid-walk through the 128 CHR banks.
### `crates/rustynes-test-harness/tests/mmc1_a12.rs`
**ROM covered.** `tests/roms/mmc1_a12/mmc1_a12.nes`. MMC1 + PPU
-A12-transition regression test by tepples. Public-domain via
-`christopherpow/nes-test-roms`.
+A12-transition regression test by Bregalad (this said tepples until
+2026-11-15). No licence stated; aggregated in `christopherpow/nes-test-roms`.
**Pattern.** `insta::assert_snapshot!` of fb-only snapshot.
diff --git a/fastlane/metadata/ios/copyright.txt b/fastlane/metadata/ios/copyright.txt
index 7805d147c..81c77b17f 100644
--- a/fastlane/metadata/ios/copyright.txt
+++ b/fastlane/metadata/ios/copyright.txt
@@ -1 +1 @@
-2026 DoubleGate — MIT OR Apache-2.0
+2025-2026 DoubleGate
diff --git a/ios/RustyNES/AboutView.swift b/ios/RustyNES/AboutView.swift
index 07834b99f..6b65060a1 100644
--- a/ios/RustyNES/AboutView.swift
+++ b/ios/RustyNES/AboutView.swift
@@ -70,6 +70,27 @@ struct AboutView: View {
.foregroundStyle(.secondary)
}
+ // The full license text and the third-party notices, bundled from the
+ // repository root at build time (project.yml, `../LICENSE` and
+ // `../NOTICE`): the GPL requires its text to travel with the binary,
+ // and the MIT / ISC code the core derives from requires its notices.
+ Section {
+ NavigationLink {
+ BundledTextView(resource: "LICENSE", title: "License")
+ } label: {
+ Label("License (GPL-3.0-or-later)", systemImage: "doc.text")
+ }
+ NavigationLink {
+ BundledTextView(resource: "NOTICE", title: "Notices")
+ } label: {
+ Label("Third-party notices", systemImage: "doc.text")
+ }
+ } header: {
+ Text("Open-source licenses")
+ } footer: {
+ Text("The license RustyNES is distributed under, and the notices of the third-party code it includes.")
+ }
+
Section {
Link(destination: AppInfo.projectURL) {
Label("Project on GitHub", systemImage: "link")
@@ -83,3 +104,33 @@ struct AboutView: View {
.navigationBarTitleDisplayMode(.inline)
}
}
+
+/// The full text of one file bundled at the app's resource root (LICENSE or
+/// NOTICE, from project.yml), shown the way Settings shows a crash log: loaded
+/// once off the main thread in `.task`, selectable, and monospaced so the
+/// license's own line layout survives.
+private struct BundledTextView: View {
+ let resource: String
+ let title: LocalizedStringKey
+ @State private var text = ""
+
+ var body: some View {
+ ScrollView {
+ Text(text)
+ .font(.system(.footnote, design: .monospaced))
+ .textSelection(.enabled)
+ .frame(maxWidth: .infinity, alignment: .leading)
+ .padding()
+ }
+ .navigationTitle(title)
+ .navigationBarTitleDisplayMode(.inline)
+ .task {
+ let name = resource
+ text = await Task.detached {
+ Bundle.main.url(forResource: name, withExtension: nil)
+ .flatMap { try? String(contentsOf: $0, encoding: .utf8) }
+ ?? String(localized: "(unreadable)")
+ }.value
+ }
+ }
+}
diff --git a/ios/RustyNES/Localizable.xcstrings b/ios/RustyNES/Localizable.xcstrings
index 794ce2255..51421f162 100644
--- a/ios/RustyNES/Localizable.xcstrings
+++ b/ios/RustyNES/Localizable.xcstrings
@@ -442,6 +442,36 @@
"es" : { "stringUnit" : { "state" : "translated", "value" : "Créditos" } }
}
},
+ "Open-source licenses" : {
+ "localizations" : {
+ "es" : { "stringUnit" : { "state" : "translated", "value" : "Licencias de código abierto" } }
+ }
+ },
+ "License (GPL-3.0-or-later)" : {
+ "localizations" : {
+ "es" : { "stringUnit" : { "state" : "translated", "value" : "Licencia (GPL-3.0-or-later)" } }
+ }
+ },
+ "Third-party notices" : {
+ "localizations" : {
+ "es" : { "stringUnit" : { "state" : "translated", "value" : "Avisos de terceros" } }
+ }
+ },
+ "License" : {
+ "localizations" : {
+ "es" : { "stringUnit" : { "state" : "translated", "value" : "Licencia" } }
+ }
+ },
+ "Notices" : {
+ "localizations" : {
+ "es" : { "stringUnit" : { "state" : "translated", "value" : "Avisos" } }
+ }
+ },
+ "The license RustyNES is distributed under, and the notices of the third-party code it includes." : {
+ "localizations" : {
+ "es" : { "stringUnit" : { "state" : "translated", "value" : "La licencia con la que se distribuye RustyNES y los avisos del código de terceros que incluye." } }
+ }
+ },
"Custom" : {
"localizations" : {
"es" : { "stringUnit" : { "state" : "translated", "value" : "Personalizado" } }
diff --git a/ios/project.yml b/ios/project.yml
index f2b91fe6b..6f3e71686 100644
--- a/ios/project.yml
+++ b/ios/project.yml
@@ -75,6 +75,19 @@ targets:
- path: Generated
excludes:
- ".gitkeep"
+ # The repository-root LICENSE (the GPL-3.0 text) and NOTICE (the
+ # third-party attributions, including the MIT and ISC notices of the code
+ # the core derives from), bundled as resources and shown by AboutView.
+ # The GPL requires that a recipient of the binary gets its text, and the
+ # MIT and ISC licenses require their notices in all copies; the desktop
+ # archives already ship both files (release.yml). They are referenced
+ # here, not copied into ios/, so the app always ships the files at the
+ # root and no second copy can drift. Neither name has an extension
+ # XcodeGen maps to a build phase, hence the explicit `buildPhase`.
+ - path: ../LICENSE
+ buildPhase: resources
+ - path: ../NOTICE
+ buildPhase: resources
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.doublegate.rustynes
diff --git a/mkdocs.yml b/mkdocs.yml
index 9dd7f0976..88c73e278 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -17,6 +17,14 @@ site_description: >-
Documentation for RustyNES — a cycle-accurate Nintendo Entertainment System
emulator written in pure Rust, built to a Mesen2 / higan / ares accuracy bar.
site_author: DoubleGate
+# The footer of every handbook page. LICENSE.txt and NOTICE.txt are the
+# repository-root LICENSE and NOTICE, which web.yml copies to the Pages root at
+# build time; the links are root-relative because the handbook's pages sit at
+# different depths under /RustyNES/docs/.
+copyright: >-
+ RustyNES is licensed under GPL-3.0-or-later ·
+ License ·
+ Third-party notices
repo_url: https://github.com/doublegate/RustyNES
repo_name: doublegate/RustyNES
diff --git a/ref-docs/2026-11-15-sdram-datasheet-sources.md b/ref-docs/2026-11-15-sdram-datasheet-sources.md
new file mode 100644
index 000000000..b066532a4
--- /dev/null
+++ b/ref-docs/2026-11-15-sdram-datasheet-sources.md
@@ -0,0 +1,24 @@
+# Alliance Memory SDRAM datasheets: where to get them
+
+**Dated supplemental reference, 2026-11-15.** Until this date the repository
+carried three revisions of the Alliance Memory AS4C32M16SB datasheet under
+`ref-docs/Datasheets/`. Every page footer of those PDFs reads "Confidential",
+and none of them states a redistribution grant, so they were removed from the
+tracked tree (the files stay on the maintainer's disk; `/ref-docs/Datasheets/*.pdf`
+is now gitignored). This note replaces them with the vendor's public download
+locations. Earlier `ref-docs/` files that cite a `ref-docs/Datasheets/...` path
+are immutable and stay as written; read such a path as a pointer to the
+matching row below.
+
+Product page: (lists the current
+datasheet; read 2026-11-15).
+
+| Former path (`ref-docs/Datasheets/`) | Part numbers covered | Revision | Public download (checked 2026-11-15) |
+| --- | --- | --- | --- |
+| `AllianceMemory_512M_SDRAM_Bdie_AS4C32M16SB-7TXN-6TIN-7BIN_Rev1.2_March2020.pdf` | AS4C32M16SB-7TCN / -7TIN / -6TIN / -7BIN (512 Mbit, 32M x 16, B die) | 1.2, March 2020 | (byte-identical to the removed copy, md5 `bc7a91dc`) |
+| `AllianceMemory_512M_SDRAM_Bdie_AS4C32M16SB-7TXN-6TIN-7BIN_Rev1.3_August2022_x.pdf` | as above | 1.3, August 2022 | **Not found.** The same file name under `wp-content/uploads/` redirects to the site's home page, and the product page lists only revision 1.4. Superseded by 1.4 |
+| `AllianceMemory_512M_SDRAM_Bdie_AS4C32M16SB-7TXN-6TIN-7BIN__Rev1.4_June2024NK.pdf` | as above | 1.4, June 2024 | (byte-identical to the removed copy, md5 `ccfb1eda`; linked from the product page) |
+
+Revision 1.4 is the one the MiSTer RTL and the SDC constraints were written
+from (see `ref-docs/2026-09-02-mister-sdram-hardware-reference.md` and
+`docs/adr/0039-sdram-clock-domain.md`).
diff --git a/ref-docs/Datasheets/AllianceMemory_512M_SDRAM_Bdie_AS4C32M16SB-7TXN-6TIN-7BIN_Rev1.2_March2020.pdf b/ref-docs/Datasheets/AllianceMemory_512M_SDRAM_Bdie_AS4C32M16SB-7TXN-6TIN-7BIN_Rev1.2_March2020.pdf
deleted file mode 100644
index 4261b8ea8..000000000
Binary files a/ref-docs/Datasheets/AllianceMemory_512M_SDRAM_Bdie_AS4C32M16SB-7TXN-6TIN-7BIN_Rev1.2_March2020.pdf and /dev/null differ
diff --git a/ref-docs/Datasheets/AllianceMemory_512M_SDRAM_Bdie_AS4C32M16SB-7TXN-6TIN-7BIN_Rev1.3_August2022_x.pdf b/ref-docs/Datasheets/AllianceMemory_512M_SDRAM_Bdie_AS4C32M16SB-7TXN-6TIN-7BIN_Rev1.3_August2022_x.pdf
deleted file mode 100644
index 00894db33..000000000
Binary files a/ref-docs/Datasheets/AllianceMemory_512M_SDRAM_Bdie_AS4C32M16SB-7TXN-6TIN-7BIN_Rev1.3_August2022_x.pdf and /dev/null differ
diff --git a/ref-docs/Datasheets/AllianceMemory_512M_SDRAM_Bdie_AS4C32M16SB-7TXN-6TIN-7BIN__Rev1.4_June2024NK.pdf b/ref-docs/Datasheets/AllianceMemory_512M_SDRAM_Bdie_AS4C32M16SB-7TXN-6TIN-7BIN__Rev1.4_June2024NK.pdf
deleted file mode 100644
index 40ac3ac60..000000000
Binary files a/ref-docs/Datasheets/AllianceMemory_512M_SDRAM_Bdie_AS4C32M16SB-7TXN-6TIN-7BIN__Rev1.4_June2024NK.pdf and /dev/null differ
diff --git a/screenshots/m22/README.md b/screenshots/m22/README.md
index 91f5656fc..8372ec6f0 100644
--- a/screenshots/m22/README.md
+++ b/screenshots/m22/README.md
@@ -1,7 +1,7 @@
# `screenshots/m22/` — VRC2a CHR-banking visual baseline
Single PNG for the VRC2a (mapper 22) CHR-banking test ROM
-(`tests/roms/m22/0-127.nes`, public-domain via the
+(`tests/roms/m22/0-127.nes`, no licence stated, via the
`christopherpow/nes-test-roms` aggregator).
`m22_vrc2a_chr_banking_0_127_f240.png` — frame 240 capture; the ROM
diff --git a/screenshots/mmc1_a12/README.md b/screenshots/mmc1_a12/README.md
index d74a37986..54dfcae74 100644
--- a/screenshots/mmc1_a12/README.md
+++ b/screenshots/mmc1_a12/README.md
@@ -1,7 +1,7 @@
# `screenshots/mmc1_a12/` — MMC1 A12-control visual baseline
Single PNG for the MMC1 A12-control regression test ROM
-(`tests/roms/mmc1_a12/mmc1_a12.nes`, public-domain via the
+(`tests/roms/mmc1_a12/mmc1_a12.nes`, no licence stated, via the
`christopherpow/nes-test-roms` aggregator).
`mmc1_a12_non_mmc3_a12_is_inert_f240.png` — frame 240 capture; the
diff --git a/scripts/coverage/README.md b/scripts/coverage/README.md
index 71cc13002..2fbed61a5 100644
--- a/scripts/coverage/README.md
+++ b/scripts/coverage/README.md
@@ -121,7 +121,7 @@ Two distinct concepts:
* **Library ROMs** (this tool): the developer's commercial No-Intro/GoodNES set.
Staged into the **gitignored** `tests/roms/external/`; never committed.
* **Test ROMs** (`scripts/release-automation/stage_roms.sh`): the
- permissively-licensed CC0 / public-domain suites vendored under
+ third-party test suites (no licence stated; see `tests/roms/LICENSES.md`) vendored under
`tests/roms/nes-test-roms/`. That script force-adds those files *past* the
gitignore so they can be **committed** as the accuracy spec. It is unrelated
to `coverage.py` — leave it be.
diff --git a/scripts/perf/cpu_target_ab.sh b/scripts/perf/cpu_target_ab.sh
index 6eb9fe786..5f6b533fa 100644
--- a/scripts/perf/cpu_target_ab.sh
+++ b/scripts/perf/cpu_target_ab.sh
@@ -30,7 +30,7 @@
# inside the number: keep FRAMES large enough that they are noise (the default
# 3,600 frames is a minute of NTSC emulation per invocation).
#
-# The ROMs are the committed public-domain ones the criterion benches use
+# The ROMs are the committed test ROMs the criterion benches use
# (nestest, flowing_palette) plus AccuracyCoin, which exercises far more of the
# CPU and PPU than either.
#
diff --git a/scripts/render_privacy.py b/scripts/render_privacy.py
index 7ba0e8e76..706f437e3 100644
--- a/scripts/render_privacy.py
+++ b/scripts/render_privacy.py
@@ -50,7 +50,9 @@
{body}
+Source and history ·
+License (GPL-3.0-or-later) ·
+Third-party notices