documentation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
documentation [2020/02/14 17:51] – adminz | documentation [2020/09/21 21:44] (current) – [10LC Statements] adminz | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Documentation ====== | ====== Documentation ====== | ||
- | This page covers the statements/ | + | This page covers the statements implemented in 10LC as well as the syntax for their usage. |
===== 10LC Statements ===== | ===== 10LC Statements ===== | ||
Line 20: | Line 20: | ||
Are all the same and will compile identically. | Are all the same and will compile identically. | ||
- | The only exception is a Label, which does not end with a semicolon and no space is allowed between the colon and the label name: | + | The only exception is a Label, |
<code c> | <code c> | ||
Line 31: | Line 31: | ||
Additionally, | Additionally, | ||
- | ---- | + | From here, you can view the [[Setup Statements]], |
- | ===== Setup Statements | + | ===== Other Documentation and Help ===== |
- | First we start with the statements that are used for configuring the unit and the compile environment. | + | A listing of compiler [[Errors]] |
- | ==== SetupPod ==== | ||
- | The '' | ||
- | |||
- | Unlike with 9LC, information on the standard Pods is stored within the compiler and no additional external files are needed. | ||
- | |||
- | The following Pods are supported directly by 10LC: | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | |||
- | The syntax of the statement is as follows: '' | ||
- | |||
- | <code c> | ||
- | SetupPod Z80 | ||
- | </ | ||
- | |||
- | If you need to create your own Pod configuration/ | ||
- | |||
- | |||
- | ==== SetupTraps ==== | ||
- | This statement enables or disables traps associated with UUT errors. | ||
- | |||
- | The syntax of the statement is as follows: '' | ||
- | |||
- | <code c> | ||
- | SetupTraps DataError No; | ||
- | SetupTraps ActiveInterrupt DataError No; | ||
- | SetupTraps BadPowerSupply ActiveInterrupt ActiveForceLine Yes; | ||
- | </ | ||
- | |||
- | ==== SetupEnableFL ==== | ||
- | This statement enables or disables Pod-specific forcing lines associated with a CPU. You can specify forcing lines but their bit value, or by their string identifiers. | ||
- | |||
- | The following Forcing Line names are supported directly by 10LC (**but may not apply to the currently configured Pod!**) | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | |||
- | The syntax of the statement is as follows: '' | ||
- | |||
- | <code c> | ||
- | SetupEnableFL 0x01 Yes; | ||
- | SetupEnableFL 0x02 Ready No; | ||
- | SetupEnableFL | ||
- | </ | ||
- | |||
- | If you use symbolic names for the forcing lines, they will be checked against the configured Pod, and if no Pod has been configured, an error will be emitted. | ||
- | |||
- | ==== SetupBeep ==== | ||
- | This statement sets whether the 9010A unit emits a beep on an error transition. | ||
- | |||
- | <code c> | ||
- | SetupBeep Yes; | ||
- | </ | ||
- | |||
- | ==== SetupInteractiveErrors ==== | ||
- | This statement sets whether the 9010A pauses execution, displays an error message, and asks the user if they want to loop the last operation whenever an error is encountered. | ||
- | |||
- | <code c> | ||
- | SetupInteractiveErrors Yes; | ||
- | </ | ||
- | |||
- | ==== SetupBusTestAddress ==== | ||
- | This statement configures the default address used when a Bus Test is performed. | ||
- | |||
- | <code c> | ||
- | SetupBusTestAddress 0xFFF0; | ||
- | </ | ||
- | |||
- | ==== SetupRunUUTAddress ==== | ||
- | This statement configures the default address used when the Run UUT operation is performed. | ||
- | |||
- | <code c> | ||
- | SetupRunUUTAddress 0xFFFE; | ||
- | </ | ||
- | |||
- | ==== SetupXOn ==== | ||
- | This statement configures the serial **XOn** character used to pause transmission of serial data. This is called the " | ||
- | |||
- | <code c> | ||
- | SetupXon 0x70; | ||
- | </ | ||
- | |||
- | ==== SetupXOff ==== | ||
- | This statement configures the serial **XOff** character used to resume transmission of paused serial data. This is called the " | ||
- | |||
- | <code c> | ||
- | SetupXOff 0x72; | ||
- | </ | ||
- | |||
- | ==== SetupLineSize ==== | ||
- | This configures the serial line length used when transmitting serial data. This is an important setting when sending/ | ||
- | |||
- | The 10LC compiler also uses this setting to determine the length of hex lines when it generates its output hex file. It has a range of 10-255. | ||
- | |||
- | <code c> | ||
- | SetupLinesize 70; | ||
- | </ | ||
- | |||
- | |||
- | ==== SetupPodTimeout ==== | ||
- | This configures the amount of time the 9010A should wait for a connected Pod to respond to a requested operation. | ||
- | As of right now, there is no description for how long a single count is.serial line length used when transmitting serial data. This is an important setting when sending/ | ||
- | |||
- | It has a range of 6-60000. | ||
- | |||
- | <code c> | ||
- | SetupPodtimeout 100; | ||
- | </ | ||
- | |||
- | ==== SetupNewline ==== | ||
- | This configures both the character combination used to represent newlines on the serial interface as well as a configurable delay time between successive lines being transmitted. | ||
- | |||
- | The first two digits represent a delay count between transmitting successive lines. | ||
- | |||
- | <code c> | ||
- | SetupNewline Delay 0x20 Chars 0x000D0A; | ||
- | </ | ||
- | |||
- | ==== SetupMaskFLMayBeEnabled ==== | ||
- | |||
- | <code c> | ||
- | |||
- | </ | ||
- | |||
- | ==== SetupForcingLineNames ==== | ||
- | |||
- | |||
- | ==== SetupMemMap ==== | ||
- | |||
- | <code c> | ||
- | SetupMemMap RAM From 0x0000 To 0x0FFF; | ||
- | SetupMemMap ROM From 0x1000 To 0x18FF SIG 0xAA55; | ||
- | SetupMemMap ROM From 0x1900 To 0x1FFF SIG 0x12345; | ||
- | SetupMemMap IO From 0x2000 To 0x28FF MASK 1122334455; | ||
- | SetupMemMap IO From 0x2900 To 0x2FFF MASK 0; | ||
- | </ | ||
- | |||
- | ---- | ||
- | |||
- | ===== Operational Statements ===== | ||
- | Now we cover the statements that are used for performing operations within unit and the UUT. Basically these are the 10LC equivalents to the keypresses you would use when manually operating the 9010A interactively. | ||
- | |||
- | ==== SetupPod ==== | ||
documentation.1581724297.txt.gz · Last modified: 2020/02/14 17:51 by adminz