Address Length Description
25003 65
Table: Item Locations
Workspace filled from Default_Table_ItemLocations by the routine at GameStart. Object locations occupy the 65 bytes at Table_ItemLocations. The current room is *CurrentRoom. Pointers to the message, exit and handler tables follow the command buffer.
25103 1
Flags: Display State
Bit 0 is set when a room picture is waiting for a keypress.
25107 4
Table: Already Seen Room Images
One bit per entry in Table_RoomsWithImages. Handler_DisplayRoom tests and sets the bit for the current room's picture slot.
25113 1
Flags: Turn-Based Event States
Holds a single byte, where each bit relates to a turn-based event. When the bit is set, HandlerTurnBasedEvents runs the matching handler from Table_TurnBasedEventHandlers.
25114 8
Turn-Based Event Counters
One countdown per bit of *Flag_TurnBasedEventState.
25122 1
Flags: Scenic Event States
Holds a single byte, where each set bit arms a scenic event. Handler_ScenicEvents walks these bits and plants a message when the player is not already in that event's room from Table_ScenicEventLocations.
25123 1
Current Room ID
The room the player starts the game in is room 0: N/A.
25124 8
Table: Scenic Event Locations
Where each of the 8 scenic events is. Handler_ScenicEvents compares these rooms with *CurrentRoom.
25132 1
Number Of Items In The Players Inventory
The number of items the player is currently holding.
25133 50
Load/ Save Buffer
When loading or saving, this buffer holds the bytes for the saved-location pointers at Table_SavedLocations.
25183 50
Command Buffer
The line being typed. Parsed word tokens follow at UserInput_FirstToken.
25233 10
User Input: Word Tokens
The vocabulary number of each word of the last command, in the order they were typed, with 255 in every slot that isn't used.
25243 1
Line Number
The text and picture row used when clearing lines and parking the cursor.
25244 2
Pointer: Vocabulary Table
Pointer to the table containing the game vocabulary.
25246 4
Four Letter Buffer
The four-character word the parser is matching.
25250 16
Table: Turn-Based Event Handlers
Handler addresses for each bit of *Flag_TurnBasedEventState. Used by HandlerTurnBasedEvents.
25266 16
Table: Scenic Event Message Lists
Pointers to the message lists Handler_ScenicEvents walks for each scenic event.
25282 2
Pointer: Room Map Table
Pointer to the table containing the relationships between rooms.
25284 2
Number Of Objects
The total number of objects in the game.
25286 2
Pointer: Item Description Table
Pointer to the table containing item descriptions.
25288 2
Number Of Nouns
The total number of noun word tokens the game has.
25290 2
Number Of Rooms With Images
The total number of rooms which have related images in the game.
25292 2
Pointer: Rooms With Images Table
Pointer to the table containing all the rooms which have an image to display.
25294 2
Pointer: Room Image Jump Table
Pointer to the jump table for displaying an image relating to a room.
25296 2
Pointer: Room Description Table
Pointer to the table containing room descriptions.
25298 2
Pointer: Object Noun Phrases
25300 2
Pointer: Object List Table
25302 2
Pointer: Noun Tokens Table
25304 2
Pointer: Verbs Jump Table
25306 2
Number Of Verb Tokens
The total number of verb word tokens the game has.
25308 2
Number Of Saved Locations
25310 2
Pointer: Saved Location Table
25709 12
Table: Direction Messages
Pointers to the direction names, in the order north, south, east, west, up and down.
34022 130
Table: Object Descriptions
65 pointers to the object messages. Indexed with the count stored at *Count_Objects.
34152 128
Table: Room Descriptions
One pointer per room. Room 0 and room 1 are unused. The starting room is 2, In Deep Space, On Patrol.
34280 74
Table: Nouns
37 pointers to the noun phrases the parser matches.
35674 384
Table: Room Exits
Six direction bytes for every room, in the order north, south, east, west, up and down. 0 means no exit.
36118 20
Table: Saved Locations
Pointers copied and restored with the save file. The count is stored at *Count_SavedLocations.
63365 142
Table: Attribute Addresses
Used by the routine at RecolourRoomImage.
Attribute-file addresses that RecolourRoomImage blanks after it paints a recoloured copy of Image_TheWhiteRoom. 71 words.
63722 65
Default Game State
The starting values for the game status buffer. GameStart copies all 309 bytes over Table_ItemLocations at the start of every game, so the layout is the same as the entries from Table_ItemLocations to Pointer_SavedLocations.
63822 1
Flags: Display State
Copied to Flag_DisplayState. Bit 0 is clear at the start of every game.
63826 4
Table: Already Seen Room Images
Copied to Table_RoomImagesAlreadySeen. No room picture has been shown yet.
63832 1
Flags: Turn-Based Event States
Copied to Flag_TurnBasedEventState. No turn-based event has started.
63833 8
Turn-Based Event Counters
Copied to Counter_Unused_0. One countdown per bit of *Flag_TurnBasedEventState.
63841 1
Flags: Scenic Event States
Copied to Flag_ScenicEventState. No scenic event is armed yet.
63842 1
Current Room ID
Copied to CurrentRoom. The player starts in room 2.
63843 8
Table: Scenic Event Locations
Copied to Table_ScenicEventLocations. Where each of the 8 scenic events starts.
63851 1
Number Of Items In The Players Inventory
Copied to Count_InventoryItems. The player starts holding 1 item(s).
63852 50
Load/ Save Buffer
Copied to LoadSaveBuffer. Initial bytes for the saved-location pointers.
63902 50
Command Buffer
Copied to CommandBuffer. Cleared again when a command is typed.
63952 10
User Input: Word Tokens
Copied to UserInput_FirstToken. Filled with 255 until a command is parsed.
63962 1
Line Number
Copied to LineNumber. Initial text/picture row 24.
63963 2
Pointer: Vocabulary Table
Copied to Pointer_Vocabulary. Points at the vocabulary table.
63965 4
Four Letter Buffer
Copied to FourLetterBuffer. Cleared again when a word is matched.
63969 16
Table: Turn-Based Event Handlers
Copied to Table_TurnBasedEventHandlers. Handler addresses for each turn-based event bit.
63985 16
Table: Scenic Event Message Lists
Copied to Table_ScenicEventMessageLists. Message-list pointers for each scenic event.
64001 2
Pointer: Room Map Table
Copied to Pointer_RoomMap.
64003 2
Number Of Objects
Copied to Count_Objects.
64005 2
Pointer: Item Description Table
64007 2
Number Of Nouns
Copied to Count_Nouns.
64009 2
Number Of Rooms With Images
64011 2
Pointer: Rooms With Images Table
64013 2
Pointer: Room Image Jump Table
Copied to Pointer_RoomImage.
64015 2
Pointer: Room Description Table
64017 2
Pointer: Object Noun Phrases
64019 2
Pointer: Object List Table
Copied to Pointer_ObjectList.
64021 2
Pointer: Noun Tokens Table
Copied to Pointer_NounTokens.
64023 2
Pointer: Verbs Jump Table
64025 2
Number Of Verb Tokens
Copied to Count_VerbTokens.
64027 2
Number Of Saved Locations
64029 2
Pointer: Saved Location Table
64032 72
Jump Table: Verbs
Verb routines in the same order as the search list at Table_VerbSearchList. Used by Handler_DispatchVerb.
64104 52
Jump Table: Room Images
Handlers that draw the location pictures, in the same order as the room list at Table_RoomsWithImages.
Used by the routine at Handler_DisplayRoom through the pointer at Pointer_RoomImage, set from Default_Table_ItemLocations.