Skip to content

TapFile.CreateLoader Method

Overloads

Name Description
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.

CreateLoader(String, IEnumerable<ValueTuple<UInt16, Byte[]>>)

Creates a TAP file with a BASIC loader and code blocks.

public static TapFile CreateLoader(string filename, params IEnumerable<ValueTuple<ushort, Byte[]>> codeBlocks);

View source

Parameters

Name Type Description
filename String The filename for the blocks.
codeBlocks IEnumerable<ValueTuple<UInt16, Byte[]>> The code blocks, each with a memory location and data.

Returns

TapFile

A new TapFile with a BASIC loader followed by 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.

public static TapFile CreateLoader(string filename, ushort? entryPoint, params IEnumerable<ValueTuple<ushort, Byte[]>> codeBlocks);

View source

Parameters

Name Type Description
filename String The filename for the blocks.
entryPoint UInt16? The entry point address for a RANDOMIZE USR call, or null for none.
codeBlocks IEnumerable<ValueTuple<UInt16, Byte[]>> The code blocks, each with a memory location and data.

Returns

TapFile

A new TapFile with a BASIC loader followed by code blocks.

CreateLoader(String, IReadOnlyList<ValueTuple<UInt16, Byte[]>>)

Creates a TAP file with a BASIC loader and code blocks.

public static TapFile CreateLoader(string filename, params IReadOnlyList<ValueTuple<ushort, Byte[]>> codeBlocks);

View source

Parameters

Name Type Description
filename String The filename for the blocks.
codeBlocks IReadOnlyList<ValueTuple<UInt16, Byte[]>> The code blocks, each with a memory location and data.

Returns

TapFile

A new TapFile with a BASIC loader followed by 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.

public static TapFile CreateLoader(string filename, ushort? entryPoint, params IReadOnlyList<ValueTuple<ushort, Byte[]>> codeBlocks);

View source

Parameters

Name Type Description
filename String The filename for the blocks.
entryPoint UInt16? The entry point address for a RANDOMIZE USR call, or null for none.
codeBlocks IReadOnlyList<ValueTuple<UInt16, Byte[]>> The code blocks, each with a memory location and data.

Returns

TapFile

A new TapFile with a BASIC loader followed by code blocks.