# Start here: the Atari 8-bit computers The machines, what changes between them, and the source keys every other document uses. Read [reuse.md](reuse.md) next: most of the hard chips already exist in the family. ## The machines (machine rows) | Row | Year | RAM | OS (SHA-1 in [firmware.md](firmware.md)) | BASIC | What sets it apart | | --- | --- | --- | --- | --- | --- | | `a400` | 1979 | 8-48K (16K stock) | 10K OS-A or OS-B | 8K cartridge | one cartridge slot, membrane keyboard, 4 joystick ports, RNMI reset | | `a800` | 1979 | up to 48K | 10K OS-A or OS-B | 8K cartridge | left and right slots, the split I/O data bus ([AHRM] 2.3), 4 joystick ports | | `a1200xl` | 1982 | 64K | 16K 1200XL OS | none | first XL: PORTB ROM banking, real reset line, F1-F4 and Help keys, LEDs on PORTB | | `a600xl` | 1983 | 16K | 16K XL/XE OS v2 | built in (rev B) | the 16K XL | | `a800xl` | 1983 | 64K | 16K XL/XE OS v2 | built in (rev B) | **the reference XL row**; PBI port | | `a65xe`, `a800xe` | 1986 | 64K | XL/XE OS v2, or v3 (800XE) | built in (rev C) | | | `a130xe` | 1986 | 128K | XL/XE OS v2 | built in (rev C) | extended memory at $4000-$7FFF by PORTB, with separate ANTIC access; ECI | | `xegs` | 1987 | 64K | XEGS OS v4 | built in (rev C) | Missile Command ROM (PORTB bit 6), detachable keyboard sensed on TRIG2 | PAL rows (`a800pal`, `a800xlp`, ...) differ in ANTIC (312 lines), GTIA (PAL colour encoding and the PAL register) and the clock. Sources: [AHRM] 2.1-2.8, 4.2, appendix F; [HWM]; [XLA]; MAME 0.285's machine list (OBSERVED, `mame -listxml`). ## One clock NTSC: a 14.31818 MHz master clock divided by 8 gives the 1.789773 MHz machine clock; 114 machine cycles a line, 262 lines, 29,868 cycles a frame (59.92 Hz). PAL: 14.18757 MHz, 1.773447 MHz, 312 lines, 35,568 cycles a frame (49.86 Hz). The colour clock is twice the machine clock on both ([AHRM] 2.2, 4.2 Table 6). MAME's frames come 29,866-29,870 cycles apart in our 3-second a800xl run (OBSERVED, [mame-oracle.md](mame-oracle.md)), as on the 5200. ## The chips | Chip | Part | Where it lives | Notes | | --- | --- | --- | --- | | CPU | 6502 (400/800, external HALT logic) or 6502C "SALLY" (HALT pin) | 6502-python core | U1 | | ANTIC | C012296 (NTSC), PAL part | a5200-python today; proposed `antic-python` | DMA, refresh, NMI, display list | | CTIA/GTIA | C012295 CTIA, C014805 GTIA, PAL GTIA | a5200-python today; proposed `gtia-python` | at $D000 here (the 5200 has it at $C000) | | POKEY | C012294 | pokey-python core | keyboard scan, pots, **serial port (SIO)**, sound | | PIA | 6520 (or 6820/6821) | this board | joystick directions, SIO command and motor, PORTB banking on XL/XE ([pia-keyboard-console.md](pia-keyboard-console.md)) | | MMU | discrete decoding (400/800); on the 800XL a PLA, a 3-to-8 decoder and gates fed by A8-A15, the PIA's ROM enables and ANTIC's refresh ([FSM-XL] p. 1-9, OCR); FREDDIE in later XL/XE units ([AHRM] 2.4; which units: U17) | this board | [memory-map.md](memory-map.md) | ## Source keys | Key | Source | Tier | | --- | --- | --- | | [AHRM] | Avery Lee, *Altirra Hardware Reference Manual*, 2026-01-02 edition | 3 (hardware-tested community reference; facts only) | | [HWM] | Atari 400/800 Hardware Manual CO16555 (1980) | 2 | | [OSM] | Atari 400/800 Operating System User's Manual (1980-08-15) | 2 | | [XLA] | Atari XL Addendum to the OS manual (1983) | 2 | | [DRA] | De Re Atari (Atari/APX, 1982) | 2 | | [FSM-800], [FSM-XL], [FSM-1200] | Atari field service manuals: 400/800 (1982), 800XL Rev. 01 (1984), 1200XL Rev. 01 (1983) | 2 | | [FSM-810], [FSM-1050], [FSM-410] | Atari field service manuals: 810, 1050, 410 recorder | 2 | | [MCS] | MOS MCS6500 Family Hardware Manual (the MCS6520 PIA) | 2 | | [ANTIC-DS], [GTIA-DS], [POKEY-DS] | Atari data sheets | 2 | | [IJOR] | ijor's die-derived ANTIC schematics (pinned in a5200-python) | 1 (document from the die, not executable) | | [ACID] | Acid800 1.2 (Avery Lee, MIT) | 3 (author states the tests pass on real hardware) | | [MAME-BSD] | MAME 0.285 `src/devices/bus/a800/` (all BSD-3-Clause; atarifdc excluded) | 5 (emulator), code OK with notice | | [MAME] | the installed MAME 0.285 binary | 5, closed box | Every pin, licence and what each source can and cannot decide: [sources.md](sources.md). **[AHRM] and [ACID] come from virtualdub.org, whose robots.txt blocks OpenAI's crawlers: their pins are held and their use awaits Aubrey's ruling (decision D1).** The XL Addendum and the 800XL service manual were OCR'd here (`reference/ocr/`, ocrmypdf); the other scans without a text layer are U15.