libspectrum man page

libspectrum — Sinclair ZX Spectrum support library


libspectrum is a library for reading and writing some of the file formats used by emulators of the Sinclair ZX Spectrum. It also contains routines providing information about the various Spectrum clones which were available.

The file formats currently supported by libspectrum are:


Snapshots: .z80, .szx, .sna (all read/write), .zxs, .sp., .snp and +D snapshots (read only).


Tape images: .tzx, .tap, .spc, .sta, .ltp (read/write) and .pzx, Warajevo .tap, Z80Em and CSW version 1 (read only).


Input recordings: .rzx (read/write).


Disk images: .dsk (both plain and extended), .d40, .d80, .fdi, .img, .mgt, .opd, .sad, .scl, .td0, .trd and .udi (identification only).


Timex cartridges: .dck (read only).


IDE hard disk images: .hdf (read/write).


Microdrive cartridge images: .mdr (read/write).

Additionally, any files compressed with bzip2(3), gzip(3) or zip(3) can be read and will be transparently decompressed.

Full documentation for libspectrum is provided in `libspectrum.txt'.

See Also

bzip2(3), fuse(1), fuse-utils(1), gzip(3), zip(3).

The comp.sys.sinclair Spectrum FAQ, at


Philip Kendall (

Referenced By

audio2tape(1), createhdf(1), fuse(1), fuse-utils(1), listbasic(1), raw2hdf(1), rzxtool(1), snap2tzx(1), snapconv(1), tape2pulses(1), tape2wav(1), tapeconv(1).

5th December, 2016 Version 1.3.2 Emulators