Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

oldbit-com/Spectron.Files

Open more actions menu

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:

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

Using file path:

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

or from a stream:

using var stream = File.OpenRead(fileName);
var tzx = 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

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.