Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 691 Bytes

README.md

File metadata and controls

32 lines (24 loc) · 691 Bytes

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)

Usage

Reading/writing a TAP file

Using file path:

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

or from a stream:

using var stream = File.OpenRead(fileName);
var tap = TapFile.Load(stream);
tap.Save(filePath);

Reading a TZX file