libspectrum(3) 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, 46opd, .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) or gzip(3) can be read and will be transparently decompressed.

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


Philip Kendall ([email protected])