Skip to content
ISSUE NO. 049
GUIDES AMSTRAD CPC COMMODORE 64

TYPING IN PROGRAM LISTINGS FROM OLD MAGAZINES AND BOOKS

How 1980s type-ins worked, the checksum programs that caught your mistakes, the traps on the Spectrum, C64 and CPC, and tools that turn a listing into a tape file.

lostretrotapes · 30 Nov 2026 · 4 min read

Before covermount tapes, magazines and books printed programs for you to type in yourself: games, utilities and demos, sometimes pages long. It could take hours, one typing mistake could stop the whole thing working, and many of us learned to program that way. The listings are still out there, and still worth typing in. Here’s how to do it, on a real machine or an emulator.

Before you start

  • Save before you run. A wrong number in a DATA statement or a machine code routine can crash the computer and lose the lot. Save after every session, too.
  • Check whether the listing needs another program first, such as a hex loader or a checksum program, often printed in an earlier issue.
  • Read the magazine’s notes on how it prints special characters. Magazines each had their own.
  • Look for corrections in the following issues: printed listings sometimes had mistakes of their own.

Checksum programs

Typing errors in BASIC usually stop the program with an error at the bad line, but errors in machine code tend to make it crash in ways that are hard to trace. So magazines printed checksum programs: you load the checker first, and it gives a number for each line you type, to compare with the number printed in the magazine.

MachineSystemHow it worked
ZX SpectrumYour Spectrum / Your Sinclair Hex Loaderfirst printed in October 1984 and used for about five years; machine code is typed as 16 hex characters (8 bytes) per line, checked against a checksum
Commodore 64COMPUTE!’s Automatic Proofreaderfrom 1983: shows a checksum for each line as you type it. The 1986 version also catches swapped characters
Commodore 64COMPUTE!’s MLXfor machine code: from 1986, eight hex bytes and a check on each line
Commodore 64Your CommodoreDATA loaders with a checksum per line that tell you the line number of the mistake

No checksum is perfect: as Your Commodore warned, one error can cancel out another.

ZX Spectrum

  • Don’t spell out keywords. PRINT, GO TO and many others each come from a single key in K mode; the rest need SYMBOL SHIFT or extended mode (both shift keys together). If a line won’t go in, a flashing “?” marks the mistake.
  • Block graphics come from graphics mode (CAPS SHIFT and 9): keys 1 to 8 give the blocks, and with CAPS SHIFT their inverse.
  • User-defined graphics are typed as the letters A to U in graphics mode. Until the program defines them, they just look like capital letters, so a listing’s “A” may really be a graphic. On a 128, UDGs T and U only work in 48K mode.
  • Save with SAVE "name" LINE 10 to make it run as soon as it loads, and save machine code with SAVE "name" CODE start,length. Use VERIFY after every SAVE.

Commodore 64

  • A line can be at most 80 characters, two screen lines. Keyword abbreviations (the first letter, then the second with SHIFT: S then shifted A for SAVE) let you squeeze more in, but if you edit such a line later, anything past 80 characters is lost.
  • Cursor movements and colour changes inside quotes appear in American listings as words in braces: {CLR}, {DOWN}, and {3 DOWN} for three presses. Inside quotes, the C64 records the key instead of acting on it. Type a closing quote to leave quote mode.
  • If you mistype in quote mode, press RETURN and go back to fix the line, rather than trying to delete.

Amstrad CPC

Locomotive BASIC is the easiest of the three: you type keywords in full, and lines can be up to 255 characters. To save, use SAVE"name"; see getting started with an Amstrad CPC.

Using an emulator and tools

Typing into an emulator is faster than on a rubber keyboard, and you can save as often as you like. Better still, you can type the listing as a text file on a PC and convert it:

MachineToolWhat it does
ZX Spectrumzmakebasturns a text file into a .TAP tape file, with codes for graphics, UDGs and colours. It does almost no syntax checking, so test the result
ZX Spectrumbas2tapthe same idea, for 48K and 128K BASIC
Commodore 64petcat (part of VICE)turns a text file into a .PRG; keywords must be lower case, and control codes are written like {clr}
Amstrad CPCWinAPE Auto Typetypes a text file in for you, as if at the keyboard

Once you have a tape file, see loading Spectrum games without tapes, loading C64 games without disks or loading CPC games without tapes to run it on a real machine.

Where to find listings

Usborne has made its 1980s computer books, such as Computer Spacegames and Write Your Own Adventure Programs, free to download for personal or educational use: 20 titles in all, with listings that work on several machines. Many old magazines are scanned on the Internet Archive, and Spectrum Computing indexes Spectrum type-ins by magazine and page. For the magazines themselves, see the 8-bit magazines.

Thanks for reading