Skip to content

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

License

Notifications You must be signed in to change notification settings

oldbit-com/Spectron.Files

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)

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published