# Start here: the Bally Astrocade in one page Citations: **SYS** Bally System Description (DNA 1978, retype; page numbers are the document's own, 81-138), **SVC** Bally Arcade Service Manual, **MIL** Tony Miller (2001), **P503**/**P172** the patents, **PURPLE** Dagger (2026). Full list: [sources.md](sources.md). ## The machine | Part | What it is | Source | | --- | --- | --- | | CPU | Zilog Z80 at 1.7898 MHz (Phi = 7M/4, 7M = 7.159090 MHz) | SYS 114, 131, 135 | | Data chip | sync generator, video shift register and colour output, the "magic" function generator on the memory data path, the microcycle generator | SYS 114-115 | | Address chip | microcycle decoder, scan address generator, RAM arbitration (Z80 WAIT), interrupt generator (screen line, light pen), its I/O registers | SYS 111-112 | | I/O chip | 8 x 8 switch matrix scan (hand controls, keypad), four-pot A/D converter, the music processor (master oscillator, three tones, noise, vibrato) | SYS 117-120 | | ROM | 8 KB BIOS at 0000-1FFF; cartridge 2000-3FFF | SYS 82 | | RAM | 4 KB screen and scratch RAM at 4000 (low-resolution home unit); 16 KB in the "commercial" (arcade) high-resolution mode | SYS 82, 85 | | Display | 160 x 102 pixels, 2 bits a pixel, 8 colour registers split by a movable horizontal colour boundary; 320 x 204 in commercial mode | SYS 85, 88 | The CPU, the custom chips and the RAM share one 8-bit **microcycle bus**: the Z80's low address, high address and data are time-multiplexed onto it (SYS 109, 123). The cost is a Z80 WAIT state on every memory access, and a second one when the video scan needs the RAM at the same moment (SYS 111-112). This is the board's most important timing fact. ## Magic memory A write to 0000-3FFF (ROM space) is a **magic write**: the Data chip transforms the byte and stores the result at the same address + 4000 (SYS 82, 94; P503). The magic register (port 0C) chooses the transforms, applied in a fixed order: expand, then rotate or shift, then flop, then OR or XOR with the RAM's old contents (SYS 94). The intercept register (input port 08) reports where an OR/XOR write overlapped non-zero pixels (SYS 100). See [video.md](video.md). ## The firmware is a program the board runs The 8 KB BIOS holds the menu and four built-in programs (Gunfight, Checkmate, Calculator, Scribbling; SYS 81) and the system routines that cartridges call. It is firmware: identified by SHA-1 ([census.md](census.md)), never copied. MAME 0.285 boots it to the "SELECT GAME" menu in under 8 emulated seconds ([mame-oracle.md](mame-oracle.md)). ## Reading order 1. [memory-map.md](memory-map.md) (address map and every I/O port). 2. [video.md](video.md), [io-chip.md](io-chip.md), [cpu-z80.md](cpu-z80.md). 3. [cartridges-bios-basic.md](cartridges-bios-basic.md), [arcade-boards.md](arcade-boards.md). 4. [sources.md](sources.md), [provenance.md](provenance.md), [validation.md](validation.md), [mame-oracle.md](mame-oracle.md), [census.md](census.md). 5. [handoff-brief.md](handoff-brief.md).