ZX Spectrum for M31 ================== Browser integration, file parsers, UI and the new BASIC example: M31, 2026. GPL-3.0-or-later; see LICENSE.txt. Readable JavaScript modules and programs/m31-orbits.bas are the source code. TAP generation source: programs/build-orbits.go.txt (also tools/spectrum-program/main.go in the M31 repository). See programs/BUILD.txt. Z80, machine, video and audio emulation: JSSpeccy 3 by Matt Westcott (gasman), GPL version 3. https://github.com/gasman/jsspeccy3 https://jsspeccy.zxdemo.org/ vendor/core.wasm was downloaded from the author's running distribution: https://jsspeccy.zxdemo.org/jsspeccy/jsspeccy-core.wasm SHA-256: b8ea049ced002e39f3e32203c3d08f2efa964437887c92c39dd22e50945d7438 vendor/render.js and constants.js are unchanged upstream runtime modules. roms/loader-48.szx and loader-128.szx are upstream autoload snapshots. Corresponding upstream source, including generators and dependency lock: vendor/jsspeccy-source-v3.2.tar.gz https://github.com/gasman/jsspeccy3/releases/tag/v3.2 All code is unchanged; binary ROMs were omitted from this source archive. Extract it and follow static/roms/README-M31.txt to rebuild the WASM. Unused Pentagon/TR-DOS firmware is not distributed by M31. The upstream package.json license field says ISC, but README and COPYING explicitly license JSSpeccy under GPL version 3. This distribution follows GPL. Original Sinclair/Amstrad ROMs retain their separate copyright; they are not relicensed under the GPL. Distribution permission and restrictions are reproduced in roms/README.copyright from the Fuse project: https://raw.githubusercontent.com/fuse-emulator/fuse/master/roms/README.copyright Only 48.rom, 128-0.rom and 128-1.rom are included, unchanged. Historical program references ----------------------------- Astronomer, Star Seeker / Solar System, ZX Spectrum Astronomy, Halley's Comet Orrery and Space Shuttle belong to their respective authors and publishers. Their cassette/snapshot files are NOT bundled in M31. catalog.js and spectrum.html link to preservation records and instructions. The privately tested Astronomer image is from the archive directory https://k1.spdns.de/Vintage/Sinclair/Software/ZX%20Spectrum%20Software/Applications%20%26%20Utilities/Astronomer%20%28CP%20Software%29/ Its title screen says Pi Software, copyright 1985. ZXDB entry 7928 lists CP Software, 1984; these labels should not be treated as proof that the private test image is the identical original edition. The new M31 Orbits BASIC demonstration is freely redistributable under GPL-3.0-or-later. It is an educational Kepler model, not historical software and not an ephemeris: coplanar ellipses, rounded orbital periods/eccentricities, all perihelia initially aligned, no perturbations or date/observer input. Compatibility boundaries ------------------------ 48K and 128K, original ROM BASIC, keyboard matrix, beeper/AY audio. TAP and standard-data TZX via ROM traps, SNA/Z80 and basic SZX snapshots. Turbo/pulse/control-flow TZX, disk interfaces and ZIP containers are not supported. Unzip files before opening them. Save is standard 48K Z80: memory, registers and frame position, not cassette position or the internal state of every device. 128K snapshot export is intentionally disabled. The adapter exposes mono audio. It does not claim cycle-perfect snapshot continuation or support for every archival loader/peripheral. No backend is required; uploaded files stay in the local browser worker.