TapFile.CreateTapBas Method
Definition
Creates a TAP file with a TAP BAS style BASIC loader and a single code block.
public static TapFile CreateTapBas(string filename, ushort location, Byte[] data, ushort? entryPoint = null);
Parameters
| Name | Type | Description |
|---|---|---|
filename |
String |
The filename for the code block. |
location |
UInt16 |
The memory location to load the code to. |
data |
Byte[] |
The code data. |
entryPoint |
UInt16? |
The entry point address for a RANDOMIZE USR call, or null for none. |
Returns
A new TapFile with a BASIC loader followed by the code block.