DEC's VT100 firmware, fully disassembled and annotated from 8 KiB of 8080 code
The Annotated VT100 Firmware (2022)
The VT100, launched in 1978, was DEC's first ANSI-compatible terminal and its first to swap discrete logic for a microprocessor, the Intel 8080. This project takes the original 8 KiB firmware and explains how it works, with a fully annotated disassembly linked to the Technical Manual and print set. It also covers why and how the disassembly was made, catalogs bugs and oddities, and introduces Awnty, an 8080 coverage checker.
Slight modifications to the supported escape sequences were made for the cost-reduced follow-on models, the VT101 and VT102, and those changes became the definition of "VT100 compatible," in DEC's internal Video Systems Reference Manual, used for the next 15 years.
- pitrdevries
Really great presentation by Richard Thomson at VCF Midwest this year about How the DEC VT100 Terminal Was Secretly an 8-Bit Computer which includes thanks to vt100.net:
- rasz
Its Claude again!
Claude Sylvain’s and Jay Cotton’s asm8080 that is :-] Mad props for going old school with command line disassembler. Im too much of a GUI slave to attempt such a feat, I stick to ida/ghirda when disassembling PC bioses for fun (several uploaded on my github). There are just too many nice features like Type tooltips, automagic mechanisms and one click operations that would be tons of typing in text editor.
- ouch-blurred52
I keep going back to this annotation because the escape-sequence state machine is where most of the 'magic' actually lives. People assume the VT100 was just print-this-char, but the ROM is really a careful little state machine chewing through the CSI/SS3 sequences, and the annotated version makes it obvious how much logic was squeezed into that ~16KB. Curious where the cursor bookkeeping (position, wrap-around, the pending-newline bit) actually lives in the data structures - that part quietly explains half the weird terminal behavior people still trip over today.