Altirra
- Year
- 2009
- Publisher
- Avery Lee (virtualdub.org), free software under GPL v2
- Type
- Development tool
- Category
- Cycle-exact Atari 8-bit emulator and debugger (Windows)
- Developer
- Avery Lee
- Language
- C++ (emulator); 6502 assembly (AltirraOS, Altirra BASIC)
- Requirements
- Windows 7 or later (x86, x64 or ARM64); SSE2 CPU. Altirra 3.91 is the last version for Windows XP/Vista, 2.90 the last for non-SSE2 CPUs. Atari ROM images optional.
- Tags
- emulator, debugger, windows, gpl, cycle-exact, altirraos, altirra-basic, disk-drive-emulation, development, preservation
- Related
- Altirra BASIC, BUG/65, MAC/65, SpartaDOS, Speedy 1050, Black Box
Overview
Altirra is an Atari 8-bit emulator for Windows, written from scratch by Avery Lee, the author of the VirtualDub video tool, with which it shares code. Lee's home page explains that the Atari 800 was his favourite childhood computer, and that a decade later "nostalgia and ambition" led him to write a new emulator. Version 1.0 appeared in 2009 (1.1 is dated 12 May 2009), and Altirra has been updated steadily since. 2.00 came out at Christmas 2011, 3.00 at the end of 2017, 4.00 in November 2021 and 4.40 on 31 December 2025. It is free software under the GNU GPL v2, and the source download includes its own OS, BASIC and utility disk.
Lee describes it as "a system emulator and debugger instead of a games machine". The emphasis is on accuracy and on tools for developers, though it runs games and demos very well too. Its accuracy work also produced the Altirra Hardware Reference Manual, a detailed chip-level reference to the 8-bit hardware that Lee still updates; the 2026-01-02 edition is current.
Features
- Systems: Atari 400/800, 1200XL, 600XL/800XL, 130XE, XEGS and the 5200, in NTSC, PAL and SECAM.
- Accuracy: cycle-exact emulation of the documented hardware and careful emulation of undocumented behaviour: illegal 6502 opcodes, DMA timing, mid-screen register changes, hardware bugs and cycle-precise timer IRQs.
- No Atari ROMs needed: Altirra includes reimplemented AltirraOS kernels (400/800, XL/XE and 5200) and Altirra BASIC, so most software runs without copyrighted firmware. Lee warns that the replacement OS can trip up programs that rely on undocumented entry points. Fitting real ROM images gives the highest compatibility, and they use the same file names as other emulators.
- Media: ATR, ATX, ATZ, DCM, XFD, PRO, ARC, BAS, ROM/BIN/A52 cartridges, CAS tapes and SAP music, plus direct loading of executables (.xex/.obx).
- Disk drives: fast or realistic timing, drive sounds, and full drive-CPU emulation of real drives and upgrades: the 810, Happy 810, 810 Archiver, 1050, US Doubler, Speedy 1050, Happy 1050, Super Archiver (with BitWriter), TOMS 1050, Indus GT, XF551, ATR8000, Percom RFD-40S1 and more.
- Hardware expansions from three decades: memory upgrades, banked cartridges, PBI devices such as the Black Box and MIO, SIDE/IDE storage, modems, printers, the 850 interface (fully emulated from 4.40), and 65C02/65C816 accelerators. Custom device definitions let developers add their own.
- Convenience: Direct3D display with artifacting and colour correction, audio and video recording, cheats, text copy and paste, and a Disk Explorer that drag-and-drops files into DOS 2, MyDOS and SpartaDOS images and can view MAC/65 files.
The debugger
For programmers, the debugger is Altirra's strongest feature. It decodes labels and supports source-level stepping with symbol files from assemblers such as MADS. It offers conditional breakpoints and tracepoints, watchpoints, and an execution history that folds loops, calls and interrupts so you can see how the program arrived at a crash. A profiler and performance analyser complete the set. Trace commands such as .tracecio log OS-level I/O. Forum users describe it as "extremely powerful" but with dozens of commands to learn. Some still use native debuggers such as BUG/65 or DDT for quick pokes, but most modern development, including IDE integrations such as WUDSN and the ATasm Visual Studio Code bridge, assumes Altirra as the test machine.
Behind the scenes
Altirra's changelogs record the details of Atari hardware being worked out. Small compatibility fixes, such as adjusting the AltirraOS printer handler in 3.91 so that Eastern House's Monkey Wrench II works, sit beside major additions like full drive emulation. Forum developers routinely test their drive-detection code and new hardware ideas against Altirra's emulated drives and expansions before they touch real machines.
Using it today
Lee's own quick-start tips:
- Disable BASIC unless you are running a BASIC program.
- For older games, use 800 hardware with 48K and the OS-B kernel.
- For newer games, use XL hardware with 128K (130XE) and the XL kernel.
- For European demos and games, use XL hardware, 320K and PAL.
- With no ROM images, use AltirraOS. Input > Joystick toggles keyboard joystick emulation (arrow keys plus left CTRL).
Altirra runs on 32-bit, 64-bit and ARM64 Windows. Since 4.00 it needs Windows 7 or later, and 3.91 remains available for XP and Vista.
Credits
- AtariAge forum — Detecting Various Types of Drives via SIO — AtariAge forum members
- virtualdub.org — Altirra, an 8-bit Atari computer emulator (features, tips, downloads, change log) — Screenshot from Avery Lee's Altirra page, virtualdub.org
- virtualdub.org — Altirra extended change log — Avery Lee (Altirra)
- Altirra Hardware Reference Manual, 2026-01-02 edition (Avery Lee) — Avery Lee (Altirra), 2026
- AtariAge forum — BUG65 crashes Altirra 4.10 (debugger discussion) — AtariAge forum members
- AtariAge forum — Source listing for MAC/65 Toolkit? (ATasm/Altirra VS Code bridge) — AtariAge forum members
