Skip to content

TapFile Class

Definition

Represents a ZX Spectrum TAP tape file.

public sealed class TapFile : ZXSpectrumTapeFile

View source

Properties

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.
LoadInto(Span<Byte>)
TryLoadInto(Span<Byte>)

Operators

Name Description
op_Addition(TapFile, TapFile) Concatenates two TAP files into a single file containing all blocks from both.