# Emulator licences and source provenance

Release: **RetroDock 1.5.0 / COMPUTERS1**. This release adds local Atari800
7.2.1 and VICE 3.10 / x64sc browser builds and updates the shared player.
Existing JSNES, JSSpeccy, ZX84, Javatari and JS7800 runtime cores are retained.

The game ROMs in the site's catalogue are separate from these emulator dependencies. An emulator licence does not grant rights to publish a game. Original system-ROM notices are retained below and in the ROM directory.

| Component | Pinned source | Licence | Local files |
|---|---|---|---|
| JSNES 2.1.0 | https://github.com/bfirsh/jsnes ; npm package https://registry.npmjs.org/jsnes/-/jsnes-2.1.0.tgz | Apache-2.0 | `jsnes/`, `sources/jsnes-2.1.0.tgz` |
| JSSpeccy 3.2 / RetroDock rd1 | https://github.com/gasman/jsspeccy3/tree/v3.2 | GPL-3.0 | `jsspeccy3/`, upstream and complete modified source ZIPs in `sources/` |
| pako 2.1.0, used by the JSSpeccy snapshot parser | https://github.com/nodeca/pako/tree/2.1.0 | MIT, with zlib-derived code under the zlib licence | bundled in `jsspeccy3/jsspeccy.js`; notice `jsspeccy3/PAKO_LICENSE.txt` |
| ZX84 0.9.1, upstream commit prefix `30f0b88` | https://github.com/damieng-zx/zx84 | MIT; adapted third-party notices retained | `zx84/`, `sources/zx84-upstream.zip`, `sources/zx84-build/` |
| Javatari.js 5.0.4, commit `f954960ddfbd8b8645de447bc7dc7a1eda066877` | https://github.com/ppeccin/javatari.js/tree/f954960ddfbd8b8645de447bc7dc7a1eda066877 | AGPL-3.0 | `javatari/`, `atari-adapter.js`, `sources/javatari-5.0.4-retrodock-source.zip` |
| JS7800 / ProSystem, commit `fe918ce422bc130972c45510809f2caec4450efe` | https://github.com/raz0red/js7800/tree/fe918ce422bc130972c45510809f2caec4450efe | GPL-2.0-or-later; original sound notices below | `js7800/`, `atari7800-adapter.js`, `sources/js7800-fe918ce-retrodock-source.zip` |
| Atari800 7.2.1, commit `63a381884175e3cbfc745ff00dfb3d70d928eb50` | https://github.com/atari800/atari800/releases/tag/ATARI800_7_2_1 | GPL-2.0-or-later; separate permissive Altirra notice | `atari800/`, `atari800-adapter.js`, `sources/atari800-7.2.1-retrodock-source.zip` |
| VICE 3.10 / x64sc, libretro commit `6cbc44add8b0a03791b343712dc63dc1edad2675` | https://github.com/libretro/vice-libretro/tree/6cbc44add8b0a03791b343712dc63dc1edad2675 | GPL-2.0-or-later; retained per-component and separate firmware notices | `c64/`, `c64-adapter.js`, `sources/vice-c64-6cbc44a-rd1-source.zip` |
| TiaSound / PokeySound by Ron Fries, retained inside JS7800 | Selected `Tia.js` and `Pokey.js` at the pinned JS7800 commit | GNU Library GPL version 2 (LGPL-2.0-only) | original required notice in the bundle and source; `js7800/LICENSE-LGPL-2.0.txt` |
| blueimp-md5 2.19.0 | https://github.com/blueimp/JavaScript-MD5 ; npm package https://registry.npmjs.org/blueimp-md5/-/blueimp-md5-2.19.0.tgz | MIT | embedded in `js7800/js7800-core.js`; `js7800/LICENSE-MD5.txt`; editable source inside the JS7800 source ZIP |

The precise archive and runtime SHA256 values are in `DEPENDENCIES.json`. No moving `main` branch is fetched when a visitor plays a game. The pinned ZX84 source archive is the input used to compile this release.

The umbrella `sources/RetroDock_Emulator_Sources.zip` includes the retained
NES/Spectrum source archives, the corresponding Atari 2600, Atari 7800,
Atari800 and VICE source bundles, the current shared player and adapters, build instructions, and licence
texts. Its own source manifest records the included file hashes. Historical QA
reports describe their original releases and are not new test results for 1.5.0.

## JSSpeccy derivative

Matt Westcott's README and COPYING declare GPL version 3; the upstream package.json's ISC field is not used as the licence determination. The original COPYING is `jsspeccy3/COPYING.txt`.

The RetroDock derivative adds a local worker adapter, complete state export/import and tape state persistence; corrects SZX HALT byte offset, AY snapshot register restoration and the right audio buffer pointer; and adds bounded error handling and verified per-ROM startup key sequences. Its complete preferred source, opcode generator, build configuration and rebuild instructions are in `sources/jsspeccy-3.2-retrodock-source.zip`. The companion editable portal files `adapters.js`, `audio-worklet.js`, `player.css` and `assets/js/player.js` are distributed under GPL-3.0-or-later to permit integration with this core. Their source is the files themselves.

The original upstream source remains in `sources/jsspeccy-3.2-upstream.zip`. Changes are documented in `RETRODOCK.md` inside the modified source archive. The runtime does not include the upstream catalogue lookup frontend.

## ZX84 subset

The compiled entry includes the Spectrum machine, Z80/AY/ULA/keyboard, Beta Disk / uPD765A controllers and disk/snapshot parsers. The upstream web shell, game catalogue, MCP server and other machine frontends are not launched by RetroDock. Original source is retained rather than relying on an external CDN bundle. `zx84/THIRD_PARTY.md` contains upstream adapted-code notices; its MIT licence is `zx84/LICENSE.txt`.

## Atari 2600 subset

Paulo Peccin's Javatari.js is pinned at the commit above. `javatari/LICENSE.txt` retains the upstream GNU AGPL version 3 text. The local subset includes the Atari console, CPU/TIA/PIA, supported cartridge formats, cartridge database and video monitor. The upstream standalone frontend, network play and remote catalog are not started by RetroDock. The new adapter is AGPL-3.0. Complete corresponding source, retained upstream notices, deterministic subset build instructions and integration sources are in `sources/javatari-5.0.4-retrodock-source.zip`, linked publicly from the site credits. The supplied user game collection is not embedded in this core or source package.

The Javatari source package's shared integration files are refreshed to 1.5.0;
the original core modules, wrapper and resulting engine bytes remain unchanged.
The package retains JSZip 2.4.0 and its embedded pako sources and notices. Shared
portal files retain GPL-3.0-or-later and their full GPL text; this does not replace
the Javatari component's AGPL licence.

## Atari 7800 subset

JS7800 by raz0red is based on ProSystem by Greg Stanton. The exact pinned commit
is used for `js7800-fe918ce-rd1`; the upstream README's release label is 0.0.9.
The selected core and local bridge use GPL version 2 or later. The original TIA
and POKEY routines retain Ron Fries's GNU Library GPL version 2 notice, including
the required legend in the distributed source and generated bundle. Full texts
are `js7800/LICENSE.txt` and `js7800/LICENSE-LGPL-2.0.txt`.

The local build supplies a headless canvas/audio/input bridge, strict ROM checks,
two independent fire buttons, console switches and validated complete-machine
snapshots. Its exact source, database, palettes, modified modules, portal adapter,
esbuild 0.25.12 lockfile and reproducible build instructions are in
`sources/js7800-fe918ce-retrodock-source.zip`. `js7800/UPSTREAM.json` records the
original pin, modifications and production hashes. The source archive was
rebuilt and compared byte-for-byte with the distributed engine.

blueimp-md5 2.19.0 by Sebastian Tschan and contributors is used under MIT. The
small local modification exposes a byte-preserving entry point for cartridge
identity hashes. Its editable source and full licence are supplied. MD5 is used
only to match the upstream cartridge database; portal integrity, save ownership
and authentication do not depend on MD5.

The optional upstream YM2151/Kuma and BupChip implementations and upstream MD5
implementation are excluded. XM/YM2151, SOUPER/BupChip and other unsupported
header modes are rejected before emulation. The new optional-FM guard contains
no synthesizer implementation. No Atari 7800 game, High Score Cartridge BIOS or
other proprietary BIOS is supplied. System-ROM notices for the existing Spectrum
engines remain separate below.

## Atari 800 / XL / XE

Atari800 7.2.1 is pinned to the official release above. The browser build uses
libatari800 and a local Emscripten bridge with frame, audio, joystick, keyboard
and ROM-bound snapshot APIs. The modified files and exact runtime hashes are
recorded in `atari800/PROVENANCE.json`. The distribution includes upstream
source, the complete patches, bridge, build recipe and original diagnostic
programs in `sources/atari800-7.2.1-retrodock-source.zip`.

The free Altirra OS and BASIC distributed with upstream are used for the
supported 800/XL/XE models. Their own permissive attribution is preserved in
`atari800/ALTIRRA-NOTICE.txt`; the full emulator GPL text is `atari800/COPYING`.
No proprietary Atari OS image or commercial game was added to this integration.

## Commodore 64

VICE x64sc and the libretro port are pinned to the revision above. The local
WebAssembly build includes true-drive emulation and reSID audio. Exact build
pins and runtime hashes are in `c64/build-manifest.json`. The source archive
`vice-c64-6cbc44a-rd1-source.zip` includes the unchanged upstream archive,
identified patches, bridge, validator, adapter and complete build instructions.

`c64/NOTICE.txt` and `c64/LICENSES/` retain the original VICE, libretro-common,
reSID, reSIDfp, SHA and firmware notices. The core and local integration changes
are GPL-2.0-or-later; individual dependencies retain their own grants. The
standard C64 and drive firmware data come from this pinned upstream and retain
Commodore copyright. Firmware is **not** relicensed as GPL by this distribution.
No JiffyDOS or commercial game image was added. Original QA programs in the
corresponding source are CC0-1.0; they are not installed in the public catalogue.

## System ROMs

JSSpeccy supplies `48.rom`, `128-0.rom`, `128-1.rom`, `pentagon-0.rom`, `trdos.rom` and the tape-loader snapshots. These exact binary files accompany its v3.2 release. They remain subject to their original owners' rights and are not relicensed as GPL by inclusion.

The four +3 ROM pages are from the Fuse project's repository:
https://github.com/libretro/fuse-libretro/tree/master/fuse/roms . Original distribution terms are retained in `zx84/roms/README.copyright` (source: https://raw.githubusercontent.com/libretro/fuse-libretro/master/fuse/roms/README.copyright). The notice identifies the Sinclair/Amstrad ROMs as Amstrad copyright, allows their distribution and retains restrictions on selling ROMs themselves or embedding them in hardware. Preserve this notice. The copied ROM binaries retain the original copyright strings.

## Developer-only build tools

Compilation used AssemblyScript 0.19.23, esbuild 0.25.12, pako 2.1.0 and
Emscripten 4.0.20 for the new computer cores. The hosting installer does not need these tools, npm, Node.js, SSH or compilation. See the source archive's reproducible build instructions. No advertising, analytics or network services are embedded in the emulator integration.
