TapFile Class
Definition
Represents a ZX Spectrum TAP tape file.
c#
public sealed class TapFile : ZXSpectrumTapeFileProperties
| Name | Description |
|---|---|
Blocks | Gets the blocks in the TAP file. |
Methods
| Name | Description |
|---|---|
CreateCode(String, UInt16, IEnumerable<Byte>) | Creates a TAP file containing a single code block. |
CreateCode(String, IEnumerable<ValueTuple<UInt16, Byte[]>>) | Creates a TAP file containing multiple code blocks. |
CreateLoader(String, IEnumerable<ValueTuple<UInt16, Byte[]>>) | Creates a TAP file with a BASIC loader and code blocks. |
CreateLoader(String, UInt16?, IEnumerable<ValueTuple<UInt16, Byte[]>>) | Creates a TAP file with a BASIC loader and code blocks, optionally specifying an entry point. |
CreateLoader(String, IReadOnlyList<ValueTuple<UInt16, Byte[]>>) | Creates a TAP file with a BASIC loader and code blocks. |
CreateLoader(String, UInt16?, IReadOnlyList<ValueTuple<UInt16, Byte[]>>) | Creates a TAP file with a BASIC loader and code blocks, optionally specifying an entry point. |
CreateTapBas(String, UInt16, Byte[], UInt16?) | Creates a TAP file with a TAP BAS style BASIC loader and a single code block. |
CreateTapBas(String, IReadOnlyList<TapBasBlock>, TapBasOptions) | Creates a TapBAS loader for ordered resident and optionally banked code blocks. Banked loads require a 128K Spectrum with unlocked paging and an accurate BANKM shadow at $5B5C. |
LoadInto(Span<Byte>) | Loads the file data into the specified memory span. |
TryLoadInto(Span<Byte>) | Attempts to load the file data into the specified memory span. |
Operators
| Name | Description |
|---|---|
Addition(TapFile, TapFile) | Concatenates two TAP files into a single file containing all blocks from both. |