The Kansas City standard (KCS), or Byte standard, is a data storage protocol for standard cassette tapes or other audio recording media at 300 bits per second. It originated in a symposium sponsored by Byte magazine in November 1975 in Kansas City, Missouri to develop a standard for the storage of digital microcomputer data on inexpensive consumer quality cassettes. The first systems based on the standard appeared in 1976.
One variation on the basic standard is CUTS, which is identical at 300 bit/s, but with an optional 1200 bit/s mode. CUTS is the default encoding used by several later machine families, including those from Acorn and the MSX. MSX added a higher 2400 bit/s mode that is otherwise similar. The 1200 bit/s mode of CUTS was used as the standard for cross-platform BASICODE distribution.
KCS originated from the earliest days of the microcomputer revolution, among other prolific protocols. Most home computers of the era have unique formats that are incompatible with anything.
History
Early microcomputers generally use punched tape for program storage, an expensive option. Computer consultant Jerry Ogdin conceived the use of audio tones on a cassette to replace the paper tapes. He took the idea to Les Solomon, editor of Popular Electronics magazine, who was similarly frustrated by punched tapes. In September 1975, the two co-authored an article on the HITS (Hobbyists' Interchange Tape System), using two tones to represent 1s and 0s. Soon after, several manufacturers started using similar approaches, all incompatible.[1]
Wayne Green, who had just started Byte magazine, wanted all the manufacturers to collaborate on a single cassette standard. He organized a two-day meeting on 7–8 November 1975 in Kansas City, Missouri.[2] The participants settled on a system based on Don Lancaster's design. After the meeting, Lee Felsenstein (of Processor Technology) and Harold Mauch (of Percom) wrote the standard, which was published in Byte magazine's first issue.[3]
A KCS cassette interface is similar to a modem connected to a serial port. The 1s and 0s from the serial port are converted to audio tones using audio frequency-shift keying (AFSK). A "0" bit is represented as four cycles of a 1200 Hzsine wave, and a "1" bit as eight cycles of 2400 Hz. This gives a data rate of 300 baud. Each frame starts with one "0" start bit, followed by eight data bits (least significant bit first) followed by two "1" stop bits, so each frame is 11 bits, for a data rate of 27+3⁄11 bytes per second.
The February 1976 issue of Byte has a report[4] on the symposium, and the March issue features two hardware examples by Don Lancaster[5] and Harold Mauch.[6] The 300 baud rate is reliable, but slow; a typical 8-kilobyte BASIC program takes five minutes to load. Most audio cassette circuits support higher speeds.
According to Solomon, the efforts were unsuccessful: "Unfortunately, it didn't last long; before the month ended, everyone went back to his own tape standard and the recording confusion got worse."[1]
The participants of the Kansas City symposium include these:[4]
The original standard records data as "marks" (one) and "spaces" (zero). A mark bit consists of eight cycles at a frequency of 2400 Hz, and a space bit consists of four cycles at a frequency of 1200 Hz. A word, usually one byte (8 bits) long, is recorded in little endian order, which is least significant bit first. 7-bit words are followed by a parity bit.
Processor Technology developed the popular CUTS (Computer Users' Tape Standard), which works at either 300 or 1200 baud. They provided the S-100 bus CUTS Tape I/O interface board, which offers both CUTS and Kansas City standard support to any S-100 system.
The Tarbell Cassette Interface, which, according to early PC retailer Stan Veit, "became a de facto standard for S-100 computers", supported the Kansas City Standard in addition to the Tarbell "native" mode ("Tarbell standard").[7]
Acorn Computers Ltd implemented a 1200-baud variation of CUTS in its BBC Micro[8] and Acorn Electron microcomputers, which reduced a "0" bit to one cycle of a 1200 Hz sine wave and a "1" bit to two cycles of a 2400 Hz wave. Standard encoding includes a "0" start bit and "1" stop bit around every 8 bit piece of information, giving an effective data rate of 960 bits per second. Also, these machines record data in 256-byte blocks interspersed with gaps of carrier tone, each block carrying a sequence number and a CRC checksum, so that it is possible to rewind the tape and retry from the failed block when a read error occurs.
The MSX by default supports both a 1200 baud variation of the standard with the same bit encoding as Acorn's, and a 2400 baud variant which doubles the audio rate — a "0" bit is one cycle of a 2400 Hz wave and a "1" bit is two cycles of a 4800 Hz wave.[9] Unlike Acorn machines, the MSX uses two "1" stop bits in addition to one "0" start bit, so the effective rate at 1200 baud is approximately 873 bits per second, and the effective rate at 2400 baud is approximately 1,745 bits per second. The machine's BIOS can read data at up to 3600 baud from an ideal audio source. The Quick CUTS standard proposed by Bob Cottis and Mike Blandford and published in the Amateur Computer Club newsletter[10] also operated at 2400 baud, encoding "0" as a half-cycle of 1200 Hz and "1" as a whole cycle of 2400 Hz. The receiver was self-clocking using a phase-locked loop. Published in 1978, it predates the 1982 patent for the similar coded mark inversion proposal.
In August 1976 at the Personal Computing show in Atlantic City, New Jersey, Bob Marsh of Processor Technology approached Bob Jones, the publisher of Interface Age magazine, about pressing software onto vinyl records. Processor Technology provided an Intel 8080 program to be recorded. This test record did not work and Processor Technology was unable to devote more time to the effort.[13]Daniel Meyer and Gary Kay of Southwest Technical Products (SWTPC) arranged for Robert Uiterwyk to provide his 4K BASIC interpreter program for the Motorola 6800 microprocessor. The idea was to record the program on audio tape in the Kansas City format and then make a master record from the tape. Eva-Tone made Soundsheets on thin vinyl that would hold one song, these were inexpensive and could be bound in a magazine.[14] Bill Turner[15] and Bill Blomgren[16] of MicroComputerSystems Inc. along with Bob Jones[8] of Interface Age and Bud Schamburger of Holiday Inn worked with Eva-Tone and developed a successful process. The intermediate stage of recording to tape produced dropouts, so a SWTPC AC-30[17] cassette interface was connected directly to the record cutting equipment. The May 1977 issue of Interface Age contains the first "Floppy ROM", a 331⁄3 RPM record containing about six minutes of Kansas City standard audio. The September 1978 Floppy ROM Number 5 has two sides: Apple BASIC, "the automated dress pattern", and IAPS format, "A program for writing letters".
Feichtinger, Herwig (1987). "1.8.3. Kassettenaufzeichnung" [1.8.3. Cassette recording]. Arbeitsbuch Mikrocomputer [Microcomputer work book] (in German) (2 ed.). Munich, Germany: Franzis-Verlag GmbH. pp. 230–235. ISBN3-7723-8022-0.
Hübler, Bernd (1987) [1986]. "2.6. Kassetteninterface" [2.6. Cassette interface]. In Erlekampf, Rainer; Mönk, Hans-Joachim (eds.). Mikroelektronik in der Amateurpraxis [Micro-electronics for the practical amateur] (in German) (3 ed.). Berlin: Militärverlag der Deutschen Demokratischen Republik, Leipzig. pp. 92–99, 164–165. ISBN3-327-00357-2. 7469332.
^Turner, William W. (May 1977). "Robert Uiterwyk's 4K BASIC". Interface Age. 2 (6). McPheters, Wolfe & Jones: 40–54.
^Blomgren, William (May 1977). "Platter BASIC: The Search for a Good, Random Access, Record Cutting Juke Box". Interface Age. 2 (6). McPheters, Wolfe & Jones: 29–36.
^Gary Kay (December 1976). "The Designer's Eye View of the AC-30". BYTE. Vol. 1, no. 16. BYTE Publications. pp. 98–108.