One Life program, three video boards

Conway's Life in colour on theoretical CDP1802 machines, each built around a different video chip from RCA's own CDP1864 to TI's TMS9918A. Each one gets a real 1802 ROM, a cycle-counted emulator you can run in the browser, a schematic and a bill of materials.

CDP1864C
Rev B · running

LIFE-1: CDP1864 + colour board

RCA's PAL colour chip, with a 74LS colour board that colours every 2-pixel pair. 32 × 24 field, DMA-driven, sync rules from the data sheet checked by the emulator.

Run LIFE-1
CDP1869/70
Planned

LIFE-2: CDP1869/1870 VIS

RCA's later video interface system: NTSC or PAL, 8 colours per character, no DMA. A 40 × 24 field with a colour per cell and no extra colour logic.

Not built yet
TMS9918A
Planned · PCB target

LIFE-3: TMS9918A

TI's video display processor on an 1802 I/O port, as on 1802/Mini boards. Multicolour mode gives a 64 × 48 field of 4 × 4 blocks, each its own colour.

Not built yet

How they compare

LIFE-1 · CDP1864LIFE-2 · CDP1869/1870LIFE-3 · TMS9918A
TV standardPAL timing only: 312 lines, 50 HzNTSC or PAL, by pinNTSC (9918A), PAL (9929A)
Picture64 × 192 bitmap40 × 24 characters of 6 × 8 dots256 × 192; multicolour mode 64 × 48 blocks
ColourOnce per 8 pixels on its own; per 2 pixels with the colour board8 colours, per character15 colours; per block in multicolour mode
Life field32 × 2440 × 2464 × 48
Screen refresh1802 DMA, 8 bytes a line; strict sync rulesVideo chips do it; screen memory open only between framesVDP's own 16 KB VRAM, written through two I/O ports
Extra logic16-chip colour boardPage and character memory, bus buffersVRAM, port decoding
Speed (estimate)About 1.1 s per generation, measured in the emulatorSeveral generations a secondFour times the cells; depends on CPU clock
PartsAll RCA; 1864 is scarceAll RCA; VIS chips are scarceTI VDPs and 1802s are easier to find
StatusROM, emulator, schematic Rev B, BOMPlannedPlanned, with a KiCad PCB

Estimates for LIFE-2 and LIFE-3 are from the data sheets and will be replaced with measured figures once their ROMs run in the emulator. LIFE-3 follows the approach of dmadole's 1802-Mini-9918-Video card: the VDP on 1802 I/O ports with its interrupt polled on an EF line.

Build it yourself

Everything is generated from source: the ROM from 1802 assembly, the schematic and BOM from a netlist, and this site from both. Open the repo in its dev container, or install Python 3 and Node 20, then:

make test     # assemble, check netlist, run emulator tests
make site     # build dist/
make serve    # preview on http://localhost:8000

What's in the repo

tools/asm1802.py is a two-pass 1802 assembler. Each machine lives in variants/ with its ROM source, emulator core, netlist and schematic generator, web page and tests. Revisions are tagged, starting with rev-a and rev-b of LIFE-1.

Source on GitHub