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.
- TAP
- TZX
- SNA
- Z80
- SZX (some obscure / least useful blocks are not implemented)
- POK
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);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);