Introduction
PZX is a tape image format for the ZX Spectrum, designed by Patrik Rak. It encodes sequences of pulses with given durations, which represent the signals of a tape. It serves the same purpose as .TZX. Version 1.0 of the specification is dated June 2007.
Structure
A binary file of blocks with little-endian numbers. Every block is a four-letter tag, a four-byte data size
and the data. The first block is PZXT, the header with the version number. The other blocks that
every reader must handle are PULS (a pulse sequence), DATA (data encoded as
pulses) and PAUS (a pause); BRWS and STOP are additional. A reader
skips blocks it does not know. Durations are counted in cycles of the 3.5 MHz processor of the 48K
Spectrum.
Not described
Known, not yet covered
- Reference: the layout of the format is not yet described here: the contents of each block and the pulse encoding are in the PZX specification.
- Viewer: the site has no viewer for this format.
Links
Software
- pzxtools – Patrik Rak’s programs for handling PZX files, with a converter to WAV
Developers
- libspectrum – ZX Spectrum file library that reads PZX (C)
Reference
- PZX 1.0 specification – Patrik Rak’s text, mirror copy