.TAP File Format
Other formats that use .tap
Seven formats, one extension
A .tap file is a recording of a cassette tape (or, for SIMH, a magnetic tape) for an emulator, and several
families of computers made the extension their own. The files have nothing in common but the name, so each is
a separate format here, with its own pages:
- ZX Spectrum tape image – the blocks the Spectrum writes, as plain bytes: a 2-byte length, a flag, the contents and an XOR checksum
- Oric tape image – the bytes of an Oric-1 or Atmos cassette: a
16leader, the sync byte24, a 9-byte header, the name and the data - Commodore 64 tape image – the length of every pulse on a C64, VIC-20, C16 or PET tape, after the text
C64-TAPE-RAW - KC 85 / Z 9001 tape file (KC-TAP) – the East German home computers’ tape file: the 16 bytes
C3“KC-TAPE by AF. ”, a header block and blocks of 128 data bytes with a lead byte - Acorn Atom tape file – a run of ATM files: a 22-byte header (name, load address, execute address, length) and the data, with no signature
- Amstrad CPC tape file – the blocks a CPC writes to tape: a 2-byte length, a flag (
$2Cheader,$16data) and the contents, with no signature - SIMH tape image – the magnetic tape of the SIMH simulators (PDP-11, VAX, PDP-10, IBM 7090 …): records framed by a 32-bit length at both ends, and tape marks, with no signature
A .tap file dropped on any page of this site opens in the explorer, which tells them
apart by content: the Commodore signature, the KC-TAP signature, the Oric leader and sync followed by a sensible header, a SIMH tape
whose records all frame correctly, an Atom tape whose 22-byte headers lead exactly to the end of the file, a CPC tape whose header and data blocks
pair up exactly, or a Spectrum first block whose length fits the file and whose checksum is right. Those without a signature are recognised only when
the whole structure fits, so a damaged Atom, CPC or SIMH tape shows as a tape image of unknown kind. A file that fits none of them
opens as a tape image of unknown kind, with no viewer.
Other tapes may also use .tap and are not covered here: some tools write their own tape files with that name.