# TOS, EmuTOS and the boot ## Atari's TOS: firmware to run, identified by SHA-1 TOS (BIOS, XBIOS, GEMDOS, line-A, VDI and AES, the desktop) is Atari's firmware: never fetched, never committed, never shipped; the player supplies an image and the board identifies it by SHA-1 ([census.md](census.md) lists 56 images in MAME 0.285's sets, all present here). It is the board's first test program, as the Saturn's boot ROM is saturn-python's: running it is the test, it judges nothing. | TOS | Size, base | Rows | Notes | | --- | --- | --- | --- | | 0.99 "Disk TOS" | 16 KB boot ROM | early 520ST | the boot ROM loads TOS from disk (DOC: SVC "Main Memory"); MAME `st` `tos099` | | 1.0, 1.02, 1.04 | 192 KB at FC0000 | ST, Mega ST | 1.04 is "Rainbow TOS" (MAME's names) | | 1.06, 1.62 | 256 KB at E00000 | STE | STE TOS; 1.62 a revision (MAME) | | 2.05, 2.06 | 256 KB at E00000 | Mega STE; 2.06 also STE | MAME `megaste`, `ste`; the Mega STE also has two 128 KB halves (`205 018`, `205 019`) | Boot facts from Atari's documents: after reset the 68000 fetches SSP and PC from the 8 ROM bytes GLUE maps at 0; TOS executes RESET, checks FA0000 for a diagnostic cartridge's magic number, checks for a warm start, sizes and configures RAM with the shadow test HWSPEC 2.2 gives (write 0x0A for 2 MB + 2 MB, then probe the mirrors at 200h and 400h per bank), then the rest (DOC: SVC "System Startup"; HWSPEC 2.2). MAME's log agrees on the RAM probe: "ram banks 512/512 configured 2048/2048" then "512/512" (OBSERVED). The STE TOS adds the cookie jar (DOC: STETOS) through which programs learn the machine type. What TOS touches matters for milestone 1: the board logs every I/O access and every bus error TOS takes, per TOS version, as the boot's own record (the bus errors are the hardware probes, [bus-and-memory.md](bus-and-memory.md)). ## EmuTOS: a free replacement, also firmware to run EmuTOS (copyright Lineo, Inc. 2001 and the EmuTOS development team 2001-2026, by its file headers) is a complete TOS replacement for the ST, STE, Mega STE, TT, Falcon and more. **Licence: GPL-2.0-or-later** (its files say "distributed under the GPL, version 2 or at your option any later version", e.g. `bios/bios.c` header; `doc/license.txt` is the GPL v2 text; checked 2026-11-26 by reading only those notices). No statement about AI use found in its readme or coding notes. How the family treats it (charter, licences point 6: running a program never touches our licence): - It is **firmware to run**, like TOS: never transcribed, never read while writing board code (its source is GPL), identified by SHA-1. Its release images are distributed by the project with their source, so a player can fetch one freely; the board names the image it was tested with by SHA-1 and the release, and **does not fetch or commit it** (the brief's firmware rule; open decision 8 asks whether a pinned release image may live in the git-ignored `reference/` like a test program). - It is useful exactly where Atari's TOS is not available to a user (a player without their own TOS dump) and as a second boot program that touches the hardware differently (it probes STE, Blitter and TT hardware at boot). - Clock Signal ships EmuTOS's GPL docs in `ROMImages/AtariST/` (its own repository is MIT): outside our sparse checkout. - No EmuTOS image is on this machine (searched the BIOS packs and the MAME tree, census.md). ## A BIOS-pack trap The handheld BIOS packs on this machine carry a `tos.img` (512,788 bytes, SHA-1 `747a38042844a6b632dcd9a76d8525fccb5eb892`) whose strings are MultiTOS and "Multitasking AES Version 4.1": a Falcon TOS 4.x image, not an ST TOS. A board that took `tos.img` on trust would load the wrong machine's firmware: identify by SHA-1 only.