BASICODE

term

programmingops culture

Kept in this browser · My desk

A common cassette tone code and a common subset of BASIC, agreed in the Netherlands in 1981, so that one radio broadcast of a program could be recorded and run on many different home computers.

The Dutch public broadcaster NOS had broadcast programs on its hobby show Hobbyscoop since 1979, one make of computer at a time. In 1981 Klaas Robers, an engineer at Philips's research laboratory, and a group of hobbyists agreed a single tone code (1,200 baud, a 0 as one cycle of 1,200 Hz, a 1 as two cycles of 2,400 Hz) and a small translation program, the Bascoder, for each machine. BASICODE-2 (1983) added fixed subroutines below line 1000 so that programs ran unchanged; BASICODE-3 (1986) added graphics, sound and files. The BBC broadcast it on The Chip Shop in 1984 and 1985, WDR on television, and the radio of East Germany from September 1989.

What it is. BASICODE was a pair of agreements made in the Netherlands in 1981: one cassette tone code that every home computer could read, and one subset of the BASIC language that every home computer could run. A small translation program for each machine, the Bascoder, did the rest, so that one radio broadcast of a program reached the owners of many incompatible makes.

How it began. The originators' own book, Het BASICODE-3 boek (Kluwer, 1986), tells the story. In 1979 the Dutch public broadcaster NOS (Nederlandse Omroep Stichting) began to broadcast computer programs on its hobby radio programme Hobbyscoop. What began as a trial became a weekly program from the presenter, Hans Janssen, for each of four common machines in turn, the Apple II, the Exidy, the Commodore PET and the Tandy TRS-80 Model 1, saved on studio tape and played at the end of the programme. Every make had its own tape format, and an interruption or an extra pulse could ruin the rest of a program with no way to repair it. Early in 1981 Klaas Robers, an engineer at the Philips research laboratory (the Natuurkundig Laboratorium), proposed a precisely agreed tone code and a helper program for each kind of computer, chosen so that a program received with some interference would be only slightly damaged. On the evening of Thursday 14 May 1981 a group of active hobbyists met in a room of the NOS training centre Santbergen; each knew his own machine inside out and no one could write the machine-code routines for another, so the work was shared. At an NOS press conference on 11 August 1981 a cassette written on one make was read on another; at the end of September 1981 BASICODE was presented to the press and the first translation programs went out on the radio, and soon there were translators for more than ten makes. Almost a year after the press conference the NOS published a starter set, a book with a cassette of all the translators, its texts also in English, translated by Jonathan Marks of Radio Netherlands; the first printing of 2,000 sold out in a few months.

The byte on air. Each character is sent as a start bit, eight data bits least significant first and two stop bits, with bit 7 inverted so that it is almost always a 1: the colon, 3A hexadecimal, goes out as BA, 0 01011101 11. A program is one block: five seconds of 2,400 Hz, the byte 82 (STX, start of text), the text, 83 (ETX, end of text), and a checksum that is the exclusive-or of every byte from STX to ETX. A 0 is one period of 1,200 Hz and a 1 two periods of 2,400 Hz, so every bit lasts the same 1/1,200 of a second. At 1,200 baud and 11 bits a byte the channel carries about 109 characters a second. The framing is the one a UART (universal asynchronous receiver-transmitter) uses on a serial line, carried as audio.

Why it survived the radio. The originators' book explains each rule: equal-length bits are easy to detect; the inverted bit 7 makes every character end in three 1s, so a reader that lost its place after a dropout finds the next start bit quickly; the checksum says whether the copy is damaged; the signal needs only 600 to 3,000 Hz. A disturbance therefore cost a character a hobbyist could correct, not the whole program, which is what the manufacturers' own tape formats lost.

The versions. BASICODE-2 (1983) added fixed subroutines below line 1000 so that programs ran unchanged: as Glyn Moody explained in Practical Computing in April 1984, lines 0 to 999 hold the standard routines, and a program starts at line 1000 with A=(value):GOTO 20. When publishers began to print BASICODE-2 programs with machine-specific parts (a word processor that saved files, a program in colour), the group met again on 11 May 1985 in a Philips building in Eindhoven and agreed BASICODE-3, from a proposal by Jochem Herrmann and Jacques Haubrich, a mathematics teacher in Eindhoven: music, graphics, inverse video and files. The book appeared in 1986.

Across borders. The BBC (British Broadcasting Corporation) broadcast BASICODE on The Chip Shop in 1984 and 1985, first after the shipping forecast on Radio 4, then on Sunday mornings on Radio 1; Personal Computer News reported in September 1984 a BASICODE 2+ for the Spectrum, MSX, Electron, Dragon and Oric. West German WDR (Westdeutscher Rundfunk) used the television sound, and in July 1989 a Dutch user magazine listed BASICODE-2 from NOS Hobbyscoop and BASICODE-3 from TROS on Dutch AM (amplitude modulation) networks, with the content of each broadcast announced on teletext page 353. In East Germany Horst Völz's book Basicode (Verlag Technik, Berlin, 1990) thanks the Stichting BASICODE, Jacques Haubrich and Klaas Robers for documents, Kluwer for permission to publish the principle of BASICODE-3, the Ministry of Culture for support and Radio DDR for spreading the idea; it was sold with a vinyl data record made by VEB Deutsche Schallplatten, with Bascoders for East German machines (AC 1, Z 1013, the KC 85 family, KC 87) and for the Amstrad CPC, Commodore 64, 128, 16 and Plus/4, Atari 800 XL and XE, ZX Spectrum and IBM PC compatibles. The Spectrum Bascoder 3.1 printed there is credited to Jan Bredenbeek of Hilversum (1987), the CPC one to Sjef Simons (1987) and M. van der Meer (1989). Radio DDR used BASICODE from September 1989.

What it could not do. To run everywhere, BASICODE kept to the instructions every BASIC shared, a 24 by 40 screen and two-letter variable names, so games were slow and graphics arrived only with BASICODE-3. By the early 1990s, with 16-bit machines and disks, it faded; the Dutch broadcasts continued to about 1991.

Where the record disagrees. The research behind this entry found the first Hobbyscoop broadcasts dated 1979 by the BASICODE-3 book and Völz, 1978 by a British partwork and "1979 or 1980" by a Dutch user's history, and BASICODE-2 dated July 1983 (with its book), New Year's Day 1983 or 1984 by different sources. The originators' book is followed here. Neighbours: radiosoftware, telesoftware, teletext, checksum, ASCII (American Standard Code for Information Interchange), compact cassette.

Also known as: basicode-1, basicode-2, basicode-3, basicode 3c, bascoder, esperanto for computers, esperanto dos computadores

Sources

← Back to B Back to the glossary