# Firmware: OS ROMs, BASIC, drive ROMs, and AltirraOS Atari's firmware is never fetched, copied or committed. The player supplies it; the board finds it by SHA-1 in `$MAME_ROMPATH` (MAME's chip images, joined in address order where the board wants a composite) or in a directory the player names. Every SHA-1 below was computed on 2026-11-26 from the local MAME set (`scripts/census.py firmware`) unless it is marked [AHRM] F (the manual's firmware database, a document). ## Composites the board loads (one image per socket) | Image | Size | SHA-1 | Found as | | --- | --- | --- | --- | | 400/800 OS-A NTSC | 10K | `f821911f16ed613d72d4b255b3e68ab2d07041ac` | MAME a400/a800 `reva`: co12399b + co12499a + co14599a, matches [AHRM] F.3 | | 400/800 OS-B NTSC | 10K | `db1031585968cfc6ec2ecda5c9a5a52f61444a3b` | MAME default: co12399b + co12499b + co14599b, matches [AHRM] F.3 | | 400/800 OS-B NTSC, Xformer's modified copy | 10K | `f1f0741b1d34fb4350cf7cb8ab3b6ea11cdd8174` | [AHRM] F.3 only; RAM sizing capped at 52K and the PIA DDR set-up removed. **Refuse or label it**: it changes behaviour (Caverns of Mars) | | 400/800 OS-A PAL | 10K | `6dd53356159a129ed12367beb3b24a771d41adb0` | MAME a400pal: co12399b + co15199 + co15299; no [AHRM] row | | 1200XL OS | 16K | `83c9afee8828a4026c55f10f920c42f76ad9ff65` | MAME a1200xl `rev10`: co60616a + co60617a, matches [AHRM] F.4 | | 1200XL OS (MAME's default `rev11`) | 16K | `5833e3a51d3a966a42baea37c40c01186e8a89cc` | co60616b + co60617b; no [AHRM] row (C4) | | XL/XE OS v2 | 16K | `ae4f523ba08b6fd59f3cae515a2b2410bbd98f55` | MAME a800xl/a600xl/a65xe/a130xe co61598b, matches [AHRM] F.4 | | XL/XE OS v3 | 16K | `f03b9b93000ee84abb9cf8d6367241006f172182` | MAME a800xe c300717, matches [AHRM] F.4 (which heads it "XEGS OS version 3", C1) | | XEGS combined ROM | 32K | `0e0625ab2473f8431640df3ac8af61925760b9b9` | MAME xegs c101687, matches [AHRM] F.4; slices: Missile Command (XEGS) `a107db7f...`, BASIC rev C `3693c9cb...`, OS v4 `decde89f...` (each matches [AHRM] F.4-F.6) | | 65XE Arabic OS | 16K | `a36b8b20f657580f172749bb0625c08706ed824c` | MAME a65xea c101700; no [AHRM] row | | BASIC rev A | 8K | `70cdf57469a208528f78a14275837352e90e20f1` | [AHRM] F.6 and MAME's CC0 `a800.xml` (`basica`); **not in the local sets** | | BASIC rev B | 8K | `7ad88dd99ff4a6ee66f6d162074db6f8bef7a9b6` | MAME a600xl/a800xl co60302a, matches [AHRM] F.6 | | BASIC rev C | 8K | `3693c9cb9bf3b41bae1150f7a8264992468fc8c0` | MAME a65xe/a130xe/a800xe co24947a, matches [AHRM] F.6 | | BASIC (Arabic) | 8K | `043df191d1fe402e792266a108e147ffcda35130` | MAME a65xea | | 810 rev B / rev C | 2K | `075b1948...` / `b676b2a4...` | MAME atari810, match [AHRM] F.7 (rev E `ad4d4ec0...` only in [AHRM]) | | 1050 rev H / J / K / L | 4K | `fe0b289a...` / `82f103e9...` / `f281b64a...` / `8b540906...` | MAME atari1050, match [AHRM] F.7 (rev E `db2197d8...` only in [AHRM]); MAME also has a third-party `wstr5.bin` | MAME marks the 400/800 OS chips and the 1200XL chips "baddump" ("ROM NEEDS REDUMP" at start-up), yet joined they equal [AHRM]'s composites (C2): the flag is MAME's note about how the chips were dumped, not a difference in bytes we can see. ## The XL self-test The 16K XL/XE ROM holds the OS and the self-test together; the self-test is the ROM's $D000-$D7FF quarter, shown at $5000-$57FF when PORTB bit 7 = 0 ([AHRM] F.4, 2.6). No separate file. ## AltirraOS and Altirra BASIC: an open replacement, licence checked Avery Lee wrote replacement kernels (AltirraOS for the 400/800, XL/XE/XEGS and the 5200) and Altirra BASIC. **Their licence is the FSF all-permissive licence (SPDX `FSFAP`)**: "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." Where this was read, exactly: - the notices at the top of the four generated ROM files Atari800 carries (`src/roms/altirraos_800.c`: "Kernel ROM replacement, version 3.11, Copyright (C) 2008-2018 Avery Lee"; `altirraos_xl.c`, the same; `altirra_5200_os.c`; `altirra_basic.c`: "Altirra BASIC, version 1.58, Copyright (C) 2008-2022"), and `emuos/LICENSE` ("Altirra - Atari 800/800XL emulator, Kernel ROM replacement, Copyright (C) 2008-2020 Avery Lee", the same permission), in emu-tools-gpl2's Atari800 checkout at `98cc2dc` (only these notices were read; Atari800 stays a closed box); - Altirra's own page (virtualdub.org/altirra.html, read 2026-11-26) states "Altirra is licensed under the GNU General Public License (GPL), version 2" and says the source download includes AltirraOS and Altirra BASIC; it states no separate licence for them. So the FSFAP notice is confirmed in Avery Lee's files as Atari800 distributes them, not yet in Altirra's own source archive (opening that archive here would mean fetching GPL source into an MIT repository; emu-tools-gpl could check the notice). What it would allow: shipping an AltirraOS image with the notice kept, so the board can boot with no Atari ROM (as Atari800 does). What it would not settle: AltirraOS is a different program from Atari's OS, so it is never a judge of OS behaviour; software that calls undocumented OS entry points behaves differently. Decision D5 (recommend: accept AltirraOS as an optional, labelled firmware row; Atari's ROMs remain the reference rows). Note too that virtualdub.org's robots.txt blocks OpenAI's crawlers (sources.md, site wishes), which Aubrey may want to weigh.