World Library  
Flag as Inappropriate
Email this Article

IBM cassette tape

Article Id: WHEBN0027502896
Reproduction Date:

Title: IBM cassette tape  
Author: World Heritage Encyclopedia
Language: English
Subject: Compact Cassette, IBM Personal Computer
Publisher: World Heritage Encyclopedia

IBM cassette tape

On early IBM Personal Computers, an interface was provided to allow use of a compact cassette tape recorder to load and save data and programs.[1] This option was only included on the original 5150 (PC), the 4860 (PCjr) and some clones (sometimes only as an assembly option).

Few IBM PCs left the factory without a floppy disk drive installed. 5150s with just external cassette recorders for storage could only use the built-in ROM BASIC as their operating system, which supported cassette operations. IBM PC DOS did not support cassette tape—only disk drives. No market developed for commercial product distribution on cassette tape and the cassette interface was dropped on subsequent IBM models, except the PCjr.

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.[2] Programmers could also operate the cassette relay by writing to its I/O address. The cassette, disk, and advanced versions of IBM BASIC included statements for cassette operations, but these features only worked if the machine had a cassette port.

Data format

The data transfer speed was from 1000 to 2000 bits per second, compared to the disk drive's 250 kilobits per second.[1] 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.[2]

Connector pinout

The IBM PC used a female 5-pin DIN connector (the same as the keyboard connector) for the cassette port:


  • 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


  1. ^ a b Williams, Gregg (January 1982). "A Closer Look at the IBM Personal Computer". BYTE. p. 36. Retrieved 19 October 2013. 
  2. ^ a b "IBM PC and PCjr Cassette Waveforms".  091207
  3. ^ 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.
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.