Skip to content

TapFile.CreateLoader Method ​

Overloads ​

NameDescription
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.

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

View source

Parameters ​

NameTypeDescription
filenameStringThe filename for the blocks.
codeBlocksIEnumerable<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.

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

View source

Parameters ​

NameTypeDescription
filenameStringThe filename for the blocks.
entryPointUInt16?The entry point address for a RANDOMIZE USR call, or null for none.
codeBlocksIEnumerable<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.

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

View source

Parameters ​

NameTypeDescription
filenameStringThe filename for the blocks.
codeBlocksIReadOnlyList<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.

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

View source

Parameters ​

NameTypeDescription
filenameStringThe filename for the blocks.
entryPointUInt16?The entry point address for a RANDOMIZE USR call, or null for none.
codeBlocksIReadOnlyList<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.