Skip to content
This repository was archived by the owner on Jul 16, 2026. It is now read-only.

Repository files navigation

Spectron Files

This a dotnet library that allows reading and writing different file formats used by the ZX Spectrum emulators.

I have created this library to be able to read and write different file formats used by the ZX Spectrum emulator I am currently working on as a fun project.

Currently supported formats:

  • TAP
  • TZX
  • SNA
  • Z80
  • SZX (some obscure / least useful blocks are not implemented)
  • POK

Usage

Reading/writing a TAP file

Using file path:

vartap=TapFile.Load(filePath);tap.Save(filePath);

or from a stream:

usingvarstream=File.OpenRead(fileName);vartap=TapFile.Load(stream);tap.Save(filePath);

Reading a TZX file

Using file path:

vartzx=TzxFile.Load(filePath);tzx.Save(filePath);

or from a stream:

usingvarstream=File.OpenRead(fileName);vartzx=TzxFile.Load(stream);tzx.Save(filePath);

About

A dotnet library that allows reading and writing different file formats used by ZX Spectrum emulators.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages