Engineering:IBM cassette tape
The original IBM Personal Computer and IBM PCjr included support for storing data and programs on compact cassette tape.[1]
It was common for home computers of the time, such as the Apple II, Commodore 64 and BBC Micro, to use cassette tapes for storage due to the lower cost of hardware and media compared to floppy disks. A wide range of commercial home computer software was available on tape throughout the 80s.
The IBM PC cassette format did not experience the same popularity however, since very few were shipped without at least one floppy disk drive, and apart from one diagnostic tape available from IBM,[2] there seems never to have been any software sold on tape except IBM Typing Tutor created by Microsoft,[3] and the interface was not included on the followup PC XT. Despite this lack of popularity, up until the original PC's discontinuation in 1987, IBM continued to offer a Model 104 which shipped without a floppy disk drive.[4]
The IBM PCjr was also seldom sold without a floppy disk drive, but it also had two ROM cartridge slots for loading commercial software, which offered better convenience and reliability.
Use
An IBM PC with just an external cassette recorder for storage could only use the built-in ROM BASIC as its operating system, which supported cassette operations. IBM PC DOS had no support for cassette tape, though software could have been written by the user to provide support.
BIOS interrupt call 15h routines were documented in the technical reference manual that would turn the cassette motor on and off, and read or write data. Data was written with a lead-in section, and formatted in 256-byte blocks with a 2-byte CRC.[5] Programmers could also operate the cassette relay by writing to its I/O address. The cassette, disk, advanced, and cartridge versions of IBM BASIC included statements for cassette operations, but these features only worked if the machine had a cassette port.
The data transfer speed was from 1-2 kilobits per second, compared to the disk drive's 250 kilobits per second.[6]
In 2020, the cassette interfaces of the IBM PC and PCjr were utilized to boot FreeDOS off a custom vinyl disc.[7][8]
Data format
The technical reference for the IBM PC 5150 specifies that the WRITE-BLOCK routine turns on the cassette drive motor and transforms each byte into bits. A (1) bit corresponds to a 1.0 ms timer period, (0) bit corresponds to 0.5 ms, which results in a recording speed of 1000 - 2000 bit/s.
First 256 bytes of "11111111" is written. One synchronization bit "0". A synchronization byte of 0x16. 256-byte blocks of data and a 2-byte CRC is written until all data is transferred.[5]
Connector pinout
The IBM PC used a female 5-pin DIN connector (the same as the keyboard connector) for the cassette port:
Pinout:[9]
- Pin 1: MOTOR CONTROL COMMON
- Pin 2: GND
- Pin 3: MOTOR CONTROL (6 V/1 A) RELAY
- Pin 4: DATA-IN (500 nA with 13 V at 1000-2000 Baud)
- Pin 5: DATA-OUT (250 µA jumperable either at 0.68 V ("AUX") or 75 mV ("MIC"))
Motor control: 8255A port 0x61, bit 3: 0 = on, 1 = off.
See also
- Commodore Datasette
- IBM Cassette BASIC
- Kansas City standard
- Tarbell Cassette Interface
References
- ↑ "A Closer Look at the IBM Personal Computer". BYTE: 36. January 1982. https://archive.org/stream/byte-magazine-1982-01/1982_01_BYTE_07-01_The_IBM_Personal_Computer#page/n37/mode/2up. Retrieved 2013-10-19.
- ↑ "IBM PC Diagnostics 1.02 (Cassette)". https://winworldpc.com/product/ibm-pc-diagnostics/102-cassette.
- ↑ The Peter Norton Programmer's Guide to the IBM PC. Microsoft Corporation. 1985. ISBN 0-91484546-2. "I have never encountered a PC program on tape for sale. In fact, about the only use of the cassette port that I am aware of is the homespun and jerry-rigged use of this port as a poor-man's serial port."
- ↑ "Nerdly Pleasures: Tape Cassette Storage with the IBM PC and PCJR". 2014-04-20. http://nerdlypleasures.blogspot.com/2014/04/tape-cassettes-storage-with-ibm-pc-and.html.
- ↑ 5.0 5.1 "IBM PC and PCjr Cassette Waveforms". http://www.brutman.com/Cassette_Waveforms/Cassette_Waveforms.html. 091207
- ↑ Cite error: Invalid
<ref>
tag; no text was provided for refs named{{{1}}}
- ↑ "Booting from a vinyl record". Bogin, Jr.. 2022-02-06. http://boginjr.com/it/sw/dev/vinyl-boot/.
- ↑ "IBM 4860 PCjr". Bogin, Jr.. 2022-02-06. http://boginjr.com/electronics/old/ibm4860/.
- ↑ IBM (1983). IBM PC Technical Reference Handbook. Comment: Also includes a complete listing of the ROM BIOS source code and schematics of the original IBM PC.
![]() | Original source: https://en.wikipedia.org/wiki/IBM cassette tape.
Read more |