![]() |
Game Status Buffer |
| Address | Length | Description |
|---|---|---|
| 5B00 | 1 |
Remembers the left-margin column for PrintMessage newline (1D) and sub-message (1F) handling.
|
| 5B01 | 1 |
Current location. BASIC writes this before JumpTable_LocationGraphicSetup.
|
| 5BA0 | 2 |
Copy of NSPPC kept while walking a BASIC list.
|
| 5BA2 | 2 |
Pointer into the work buffer at PrimaryWorkBuffer or SecondaryWorkBuffer.
|
| 5BA4 | 1 |
Characters required to accept a vocabulary match.
|
| 5BA5 | 1 |
Index of the matched word, returned to BASIC.
|
| 5BA7 | 2 |
Pointer to the current token in InputBuffer.
|
| 5BA9 | 2 |
Pointer to the next token in InputBuffer.
|
| 5BAB | 1 |
First character of the current token.
|
| 5BAC | 1 |
Character that ended the current token.
|
| 5BAD | 1 |
Number of entries to scan in the current BASIC list.
|
| 5BAE | 63 |
Line buffer filled by InputLine. Holds up to 3E characters plus a trailing 0D written on ENTER.
|
| 5BF5 | 1 |
Attribute byte written by PrintCharacter unless bit 1 of PrintState_Flags is set.
|
| 5BF6 | 1 |
Bit 0 selects
XOR vs copy, bit 1 skips attributes, bit 2 selects OR vs XOR.
|
| 5BF7 | 1 |
Print column (00-1F), paired with PrintState_Row as BC.
|
| 5BF8 | 1 |
Print row (00-17), paired with PrintState_Column as BC.
|
| 5BF9 | 1 |
Character code plotted by PrintCharacter.
|
| 5BFA | 1 |
Index of the cursor in InputBuffer.
|
| 5BFB | 1 |
Length of the current input line.
|
| 5BFC | 1 |
Last KSTATE value, for edge detection.
|
| 5BFD | 1 |
Set when the line has changed since the last redraw.
|
| 5BFE | 1 |
Length saved by Caps Shift + 1.
|