type-in program
termKept in this browser · My desk
A program printed in full in a magazine, book or partwork for the reader to enter by hand at the keyboard; the main way software for home micros was distributed in print in the 1980s.
In Brazil the listing was the backbone of the computing press: the word 'listagem' appears in 98 of the first 100 issues of Micro Sistemas (1981 to 1991), whose errata section was called 'Mensagem de erro'. Listings were numbered in steps of five or ten, as the ZX81's manual advised, so that lines could be inserted. The Micro Aventura books of 1985 made typing a program the way to advance the story.
What it is. A type-in program is a program printed in full, a listing, for the reader to enter by hand at the keyboard. In the late 1970s and the 1980s it was the cheapest way to publish software for home computers: paper cost less than tape, every make could be served on the same page, and the reader learned by typing.
A contract between author and typist. The page gives the numbered lines, often with a paragraph explaining the constants a reader might need to change, and the author's name; the machine checks each line as it is entered (on the Sinclair machines with a syntax error marker) and reports run-time errors as a code and a line number; the magazine closes the loop with errata and a letters page. Its cost was errors: Micro Sistemas printed advice on hunting them in March 1984, in Roberto Quito de Sant'Anna's "Na trilha dos erros de programação", beginning with reading the errata. The regular numbering gives a simple check: a listing from 5 to 180 in steps of 5 has (180 − 5) ÷ 5 + 1 = 36 lines, which is the count of Micro Sistemas' "Lançamento oblíquo" in the same issue. Listings were numbered in steps of five or ten because, as Steven Vickers's ZX81 manual of 1981 put it, it is good practice to leave gaps in the line numbers so that lines can be inserted (the ZX81 accepted 1 to 9999).
Where it started. Dr. Dobb's Journal, launched in January 1976 by the People's Computer Company, existed to print free software in full: its editor, Jim C. Warren, Jr., wrote in February 1976 that the gap no other publication covered was "free and very inexpensive software", and by May 1976 it had published four versions of Tiny BASIC for the 8080, ending with Li-Chen Wang's Palo Alto Tiny BASIC with complete annotated source code.
The checksum answer. The American magazine Compute! and its Gazette printed a number after every BASIC line and a small program, the Automatic Proofreader, that computed the same number from what the reader typed; in its 1984 book version it was 133 bytes of 6502 machine code. For machine code itself, Compute!'s Gazette printed listings for MLX, its machine-language entry program: as its June 1988 issue explains, each line holds eight data bytes and a checksum computed from those bytes and the address, MLX rings a bell when they match and buzzes when they do not, it catches two characters swapped, and it cannot notice FF typed for 00 or the reverse. The same page warns that a mistyped number in a DATA statement can lock the machine up, so a program should be saved before it is run.
One page, many machines. Usborne's children's books printed each game in versions: Computer Battlegames (London, 1982) gives "Missile!" for the TRS-80, the BBC Micro, the ZX Spectrum, the VIC 20, the Apple and the ZX81, and its companions told the reader which lines to change for each computer.
In Brazil. The listing was the backbone of the computing press: the word "listagem" appears in 98 of the first 100 issues of Micro Sistemas (1981 to 1991), whose errata section was called "Mensagem de erro" (in 62 of them). MicroHobby, the magazine of TK users, had a "Programa do leitor" and "Programas do mês" from its no. 0 in March 1983. The INPUT partwork of 1986 built a whole applications course from listings: a letter writer, a collection catalogue, household accounts, bar graphs, a typing teacher in four parts, unit conversions, a drawing package and routines for computer-aided design. The Micro Aventura books of 1985 made typing a program the way to advance the story: each of their eight BASIC programs carries a table of the national micros that run it unchanged and a manual of changes for the others.
What went wrong. Typing errors, above all in DATA statements and machine code, where one wrong digit could crash the computer; printing errors, which is why every magazine had an errata column; and dialects, since each BASIC differed in its random-number function, its graphics and its screen size. Checksums answered the first, errata the second, versioned listings and translation programs such as the Dutch Bascoder the third.
How it faded. The form faded when software came on cassettes broadcast by radio and then on cover disks and CD-ROMs sold with magazines. Neighbours: Automatic Proofreader, checksum, Compute!, partwork, BASIC, compact cassette.
Also known as: type-in, type-in listing, program listing, listagem, programa para digitar
Sources
- Micro Sistemas no. 30, Rio de Janeiro, March 1984, Internet Archive scan (read 2026-11-23): the listing 'Lançamento oblíquo', 36 lines numbered 5 to 180; 'Na trilha dos erros de programação' by Roberto Quito de Sant'Anna: 'if you are typing from a magazine, beware of printing errors. Always read the errata'
- Sinclair Research, ZX81 BASIC Programming, by Steven Vickers, 1981 (read 2026-11-23): keywords on single keys; the syntax error marker; line numbers 1 to 9999 and 'good practice to leave gaps in the line numbers'
- Micro Sistemas nos. 1 to 100, 1981 to 1991, Internet Archive item microsistemas (read 2026-11-23): 'listagem' in 98 of the first 100 issues; the errata section 'Mensagem de erro' in 62
- Eileen Buckholtz and Ruth Glick, Micro Aventura: Guerra no Espaço, Abril S.A. Cultural, 1985 (read 2026-11-23): eight BASIC programs to type in, with a reference manual of changes for each family of national micros
- Compute!'s Gazette issue 60, June 1988, Internet Archive text (read 2026-11-23): 'How to Type In COMPUTE!'s Gazette Programs': the Automatic Proofreader and MLX published to make typing easier; a mistyped number in a DATA statement can lock up the machine, save before running; MLX lines of eight data bytes and a checksum from the bytes and the address; transposed characters caught, FF for 00 not noticed
- Jim C. Warren, Jr. (editor), Dr. Dobb's Journal of Computer Calisthenics and Orthodontia, volume 1 (1976), People's Computer Company, bound reprint 1977, Internet Archive text (read 2026-11-23): the February 1976 editorial on the 'information vacuum' of 'free and very inexpensive software'; the May 1976 list of four Tiny BASICs with complete listings
- Daniel Isaaman and Jenny Tyler, Computer Battlegames, Usborne Publishing, London, 1982, Internet Archive text (read 2026-11-23): 'Missile!' in versions for the TRS-80, BBC, ZX Spectrum, VIC 20, Apple and ZX81; a conversion chart
- INPUT, Sumário Geral, Editora Nova Cultural, Internet Archive text (read 2026-11-23): the applications course of listings (letters, collections, household accounts, bar graphs, a typing teacher in four parts, conversions, an art assistant, CAD routines, graphic blocks) with page ranges
- MicroHobby no. 0, March 1983, Internet Archive text (read 2026-11-23): index with 'Programa do leitor' and 'Programas do mês'