Address Length Description
23417 1
Script Matched
Set when a bytecode line's verb and noun matched. The next line is skipped until this is cleared.
23418 1
Search Hit
Set when a movement or an object list finds what it is looking for.
23423 1
Verb
Token of the first word. Directions are 1 to 10, inventory is 11, GET is 12, DROP is 13, WEAR is 14 and QUIT is 16.
23424 1
Noun
Token of the second word. IT and THEM reuse the previous noun.
23425 1
Counter 1
Bytecode counter compared by Counter1Is.
23426 1
Counter 2
Bytecode counter compared by Counter2Is.
23427 1
Counter 3
Bytecode counter compared by Counter3Is.
23428 1
Exit Key
The current room plus 128, which is how that room is keyed in the exit table.
23429 1
Continuation
Non-zero when a comma left more of the command line for the next turn.
23430 1
Word Slot
How many words of this command have been stored. The script runner clears it after the first matched line.
23431 2
Print Address
Spectrum display address where the next glyph is plotted.
23433 1
Print Row
Character row of the cursor. It is saved and restored as a pair with the column.
23434 1
Print Column
Character column of the cursor. The text window is 43 columns wide.
23435 1
Words Recognised
How many vocabulary words the parser kept from the current line.
23436 2
Rest Of The Line
Where to resume after a comma, and the pointer the vocabulary scan restores.
23438 1
Input Length
Characters currently in the command buffer. DELETE is ignored when this is zero.
23439 1
Message Number
Which terminated message to print, counted from the start of the chosen table.
23440 2
Message Pointer
Address of the message byte just printed.
23442 2
Scratch
Two unused bytes between the message pointer and the subtraction scratch.
23444 1
Subtraction Scratch
Amount subtracted from a flag by SubtractFromFlag.
23445 1
Room Changed
Set when a script or a movement changes the room, so the loop describes it again.
23446 1
Which Script Table
255 while the high-priority scripts run, and zero for the ordinary command scripts.
23447 1
Bottom Row
Last character row the text window may use before it scrolls.
23448 1
Word Length
Characters collected for the word that is about to be flushed.
23449 2
Word Pointer
Next free byte in the word buffer.
23451 1
Last Character
The character just expanded. A full stop here makes the next letter a capital.
23452 1
Previous Glyph
The glyph just plotted, so a second space in a row can be rubbed out.
23453 1
Previous Noun
The noun IT and THEM refer to.
23454 1
Parameter Count
Remaining times Parameter_Byte is returned from the copied parameter block.
23455 1
Parameter Byte
Byte returned while Parameter_Count is non-zero.
23482 2
Picture Destination
Next byte in the illustration buffer being painted.
23484 2
Shape Pointer
Next byte of the shape currently being drawn.
23486 1
Shift Flags
How the current tile is shifted and merged. Bit 0 selects the second tile page. Bits 2-3 are the combine mode: 4 OR, 8 AND, 12 XOR. Bits 4-5 choose the shift: 16 left, 32 right, 48 logical right. Bit 6 adds an extra left rotate. Bit 1 is set when a run count follows.
23487 1
Shift Flag
Copy of Shift_Flags. Bit 0 chooses the tile page.
23488 1
Run Count
Remaining repeats of the current tile or attribute byte.
23489 1
Picture X
Character column of the shape being drawn.
23490 1
Picture Y
Character row of the shape being drawn.
23491 1
Drawing Y
Working copy of Picture_Y, stepped after each character row.
23492 1
Row Width
Width of the shape in character columns.
23493 1
Row Height
Height of the shape in character rows.
23494 1
Column Counter
Columns left in the current row.
23495 1
Rows Remaining
Rows left in the current shape.
23496 1
Combine Mode
How tile bytes are merged: 4 OR, 8 AND, 12 XOR.
23497 2
Destination Base
Start of the attribute destination for this shape.
23499 1
Last Painted Byte
Attribute byte to repeat when a run continues.
23500 2
Saved Shape Pointer
Shape stream position remembered while a parameter block is copied.
23503 1
Last Matched Verb
Verb that last matched an exit. TakeExit clears it.
23940 3
Stack Top
The stack pointer installed at the start of the game loop. Two bytes sit under the room byte.
23943 1
Current Room
The room the player is in. Its short text at TokenisedLocations is used for rooms 102 and above, and for every room while pictures are on. Otherwise the long description comes from bank 6.
23944 1
Darkness
Non-zero when the location is dark and must be described as such.
23945 1
Carried Object
Object in the hands. 253 means the hands are empty.
23946 1
Worn Object
Object being worn. 254 means nothing is worn.
23947 1
State Byte
Copied from the initial state as flag byte 4. The bytecode addresses it through FlagAddress.
23948 1
Carried Count
How many objects are currently carried. GET increments it and DROP decrements it.
23949 1
Object Total
How many object slots to scan when listing what is here. It starts at 150.
23950 1
Repeat Counter
While this is non-zero the game loop reruns the scripts and redraws, then decrements it.
24266 1
Condition Failed
Set when a bytecode condition fails or an action wants the rest of the line skipped.
24341 1
Pictured Object
The room-change scan compares a picture 248 object with this byte. Nothing writes it; ShapeIfPresent stores at 24337 instead, so the comparison is against 0.
24965 1
Picture Already Drawn
The room whose illustration is already on screen. A different room is drawn.
24966 1
Pause At The Bottom
While a location is being described, reaching row 19 waits for a key and scrolls.
26326 1
Pictures On
Non-zero when illustrations are drawn. EDIT toggles it. It starts on.
26327 1
Bank Paged In
The last value passed to RememberBank. It starts at 16, so the resting window is bank 0 with the 48K ROM bit already set. PageBank sets that bit again before the port write.
27265 2
Restore Pointer Scratch
Two bytes overwritten when a restore is offered. They are not read back.
28398 1
Shape Suppressed
Written by DispatchShape_Flag before a shape is plotted. Ordinary shapes store 0; opcodes 245, 246 and 247 store 4, 8 or 12. No instruction reads this byte.
29064 1
Last Shape Number
The shape last looked up by FindShape. It starts at 255 so the first search does not reuse a match.
29065 2
Last Shape Address
The address of that shape. The same number is served from here without walking PictureShapes again.
29495 2
Source Origin
Column and row copied from by CopyOrigin_Pixels and CopyOrigin_Attributes.
29497 2
Destination Origin
Column and remaining height written with the source origin.