Address Length Description
61AB 65
Table: Item Locations
Workspace filled from Default_Table_ItemLocations by the routine at GameStart. Object locations occupy the 41 bytes at Table_ItemLocations. The current room is *CurrentRoom. Pointers to the message, exit and handler tables follow the command buffer.
620F 1
Flags: Display State
Holds a single byte, where each bit relates to display state as follows:
Bit Relating To
00 Room picture is waiting for a keypress
6213 4
Table: Already Seen Room Images
Corresponds to whether the player has already seen the image for the following rooms:
Bit Room ID Room Name
00 02 In Deep Space
01 03 In orbit around an unknown planet
02 05 The Landing Pad
03 08 The Yellow Room
04 0B The Green Room
05 13 The Blue Room
06 14 The Red Room
07 16 The White Room
Bit Room ID Room Name
00 1F The Limestone Maze
01 20 The Limestone Maze
02 21 The Limestone Maze
03 22 The Limestone Maze
04 23 The Limestone Maze
05 24 The Limestone Maze
06 25 The Limestone Maze
07 26 The Limestone Maze
Bit Room ID Room Name
00 27 The Limestone Maze
01 28 The Limestone Maze
02 2D The Tall Canyon
03 36 The Reactor Room
04 37 The West Bank of the Lake
05 38 The Subterranean Lake
06 39 The East Bank of the Lake
07 3A The South Bank of the Lake
Bit Room ID Room Name
00 3B The Plateau
01 3C The Repair Bay
02 N/A N/A
03 N/A N/A
04 N/A N/A
05 N/A N/A
06 N/A N/A
07 N/A N/A
Handler_DisplayRoom tests and sets the bit for the current room. The bit number is the room's place in Table_RoomsWithImages.
6219 1
Flags: Turn-Based Event States
Holds a single byte, where each bit relates to a turn-based event as follows:
Bit Relating To
00 Android
01 Slug
02 Second android
03 Complex explodes
When the bit is set, this starts a turn counter (see Counter_Android).
621A 8
Turn-Based Event Counters
One countdown per bit of *Flag_TurnBasedEventState. HandlerTurnBasedEvents decrements a set counter each turn and runs the handler from Table_TurnBasedEventHandlers when it hits zero.
6222 1
Flags: Scenic Event States
Holds a single byte, where each bit relates to a scenic event as follows:
Bit Relating To
00 Creature (80)
01 Creature (81)
02 Creature (82)
03 Creature (83)
When the bit is set, Handler_ScenicEvents moves the event to a room from Data_ScenicEventRooms unless the player is already in that event's room from Table_ScenicEventLocations.
6223 1
Current Room ID
The room the player starts the game in is room 00: N/A.
6224 8
Table: Scenic Event Locations
Where each of the 08 scenic events is. Handler_ScenicEvents compares these rooms with *CurrentRoom.
622C 1
Number Of Items In The Players Inventory
The number of items the player is currently holding.
622D 50
Load/ Save Buffer
When loading or saving, this buffer holds the configurable-exit bytes from Table_ConfigurableExits.
625F 50
Command Buffer
The line being typed. Parsed word tokens follow at UserInput_FirstToken.
6291 10
User Input: Word Tokens
The vocabulary number of each word of the last command, in the order they were typed, with FF in every slot that isn't used.
629B 1
Line Number
The text and picture row used when clearing lines and parking the cursor.
629C 2
Pointer: Vocabulary Table
Pointer to the table containing the game vocabulary.
629E 4
Four Letter Buffer
The four-character word the parser is matching.
62A2 16
Table: Turn-Based Event Handlers
Handler addresses for each bit of *Flag_TurnBasedEventState. Used by HandlerTurnBasedEvents.
62B2 16
Table: Scenic Event Rooms
One address per scenic event. Handler_ScenicEvents reads the address, and the bytes at that address are room IDs ended by FF. See Data_ScenicEventRooms.
62C2 2
Pointer: Room Map Table
Pointer to the table containing the relationships between rooms.
62C4 2
Number Of Objects
The total number of objects in the game.
62C6 2
Pointer: Item Description Table
Pointer to the table containing item descriptions.
62C8 2
Number Of Nouns
The total number of noun word tokens the game has.
62CA 2
Number Of Rooms With Images
The total number of rooms which have related images in the game.
62CC 2
Pointer: Rooms With Images Table
Pointer to the table containing all the rooms which have an image to display.
62CE 2
Pointer: Room Image Jump Table
Pointer to the jump table for displaying an image relating to a room.
62D0 2
Pointer: Room Description Table
Pointer to the table containing room descriptions.
62D2 2
Pointer: Item Grouping Table
62D4 2
Pointer: Object List Table
62D6 2
Pointer: Noun Tokens Table
62D8 2
Pointer: Verbs Jump Table
62DA 2
Number Of Verb Tokens
The total number of verb word tokens the game has.
62DC 2
Number Of "Configurable Exits"
The total number of configurable exits in the game. See Table_ConfigurableExits.
62DE 2
Pointer: Configurable Exits Table
Pointer to the table containing the configurable exits.
646D 12
Table: Direction Messages
Pointers to the direction names, in the order north, south, east, west, up and down.
84E6 130
Table: Object Descriptions
41 pointers to the object messages. Indexed with the count stored at *Count_Objects.
8568 128
Table: Room Descriptions
One pointer per room. Room 00 and room 01 are unused. The starting room is 02, In Deep Space, On Patrol.
85E8 74
Table: Object Noun Phrases
One word per object. Each entry points at the noun text.
8868 37
Table: Noun Tokens
The vocabulary number (Table_Vocabulary) of each of the 25 nouns the player can name (the count is at Count_Nouns). The position of a word in this list is its object number, which also indexes Table_ObjectNounPhrases for its name in "I can't see ... here." replies.
Reached through Pointer_NounTokens: Parser_FindPhrase counts the object words in a command, and GameLoop_Step3 looks each named noun up here before calling Parser_ResolvePhrase.
888D 143
Table: Item Groups
For each object in Table_ObjectNounPhrases, in the same order: the items it may refer to, ending with FE. Parser_ResolvePhrase skips to this noun's group from *Pointer_ItemGroupingTable.
891C 36
Table: Verb Word Tokens
The vocabulary number (Table_Vocabulary) of each of the 24 verbs (the count is at Count_VerbTokens). Handler_DispatchVerb looks the first word of a command up here and jumps to the action at the same position in JumpTable_Verbs.
8940 538
Table: Phrase Tokens
The words an action expects after its verb, as vocabulary numbers (Table_Vocabulary). FD separates alternative wordings and FE ends a phrase. An action points HL at a phrase and calls Parser_AdvanceToSeparator. That compares it with the words after the verb and sets the zero flag when one of the wordings matches the whole of the rest of the command.
8B5A 384
Table: Room Map
Six bytes per room, in the order north, south, east, west, up, down. A zero means there is no exit.
8CFC 26
Table: Rooms With Images
The 1A rooms that have a picture (the count is at Count_RoomsWithImages). Handler_DisplayRoom looks the current room up here (through Pointer_RoomsWithImages); where it is found picks the drawing routine in JumpTable_RoomImages and the "already seen" bit in Table_RoomImagesAlreadySeen. A picture is shown the first time the player enters the room, and again whenever they type LOOK.
8D16 20
Table: Configurable Exits
Addresses of room-map exit bytes. GameStart writes the starting values. SaveGame copies the bytes into LoadSaveBuffer, and LoadTape writes them back.
9010 4
Table: Items Which Are Plural
All the items in the game which are plural; used by Take_AlreadyCarrying_CheckPlural.
F785 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. 47 words.
F8EA 65
Default Game State
The starting values for the game status buffer. GameStart copies all 0135 bytes over Table_ItemLocations at the start of every game, so the layout is the same as the entries from Table_ItemLocations to Pointer_ConfigurableExits.
F94E 1
Flags: Display State
Copied to Flag_DisplayState. Bit 0 is clear at the start of every game.
F952 4
Table: Already Seen Room Images
Copied to Table_RoomImagesAlreadySeen. No room picture has been shown yet.
F958 1
Flags: Turn-Based Event States
Copied to Flag_TurnBasedEventState. No turn-based event has started.
F959 8
Turn-Based Event Counters
Copied to Counter_Android. One countdown per bit of *Flag_TurnBasedEventState.
F961 1
Flags: Scenic Event States
Copied to Flag_ScenicEventState. No scenic event is armed yet.
F962 1
Current Room ID
Copied to CurrentRoom. The player starts in room 02.
F963 8
Table: Scenic Event Locations
Copied to Table_ScenicEventLocations. Where each of the 08 scenic events starts.
F96B 1
Number Of Items In The Players Inventory
Copied to Count_InventoryItems. The player starts holding 01 item(s).
F96C 50
Load/ Save Buffer
Copied to LoadSaveBuffer. Initial bytes for the configurable exits.
F99E 50
Command Buffer
Copied to CommandBuffer. Cleared again when a command is typed.
F9D0 10
User Input: Word Tokens
Copied to UserInput_FirstToken. Filled with FF until a command is parsed.
F9DA 1
Line Number
Copied to LineNumber. Initial text/picture row 18.
F9DB 2
Pointer: Vocabulary Table
Copied to Pointer_Vocabulary. Points at the vocabulary table.
F9DD 4
Four Letter Buffer
Copied to FourLetterBuffer. Cleared again when a word is matched.
F9E1 16
Table: Turn-Based Event Handlers
Copied to Table_TurnBasedEventHandlers. Handler addresses for each turn-based event bit.
F9F1 16
Table: Scenic Event Rooms
Copied to Table_ScenicEventRooms. Pointers to the room lists for each scenic event.
FA01 2
Pointer: Room Map Table
Copied to Pointer_RoomMap.
FA03 2
Number Of Objects
Copied to Count_Objects.
FA05 2
Pointer: Item Description Table
FA07 2
Number Of Nouns
Copied to Count_Nouns.
FA09 2
Number Of Rooms With Images
FA0B 2
Pointer: Rooms With Images Table
FA0D 2
Pointer: Room Image Jump Table
Copied to Pointer_RoomImage.
FA0F 2
Pointer: Room Description Table
FA11 2
Pointer: Item Grouping Table
FA13 2
Pointer: Object List Table
Copied to Pointer_ObjectList.
FA15 2
Pointer: Noun Tokens Table
Copied to Pointer_NounTokens.
FA17 2
Pointer: Verbs Jump Table
FA19 2
Number Of Verb Tokens
Copied to Count_VerbTokens.
FA1B 2
Number Of "Configurable Exits"
FA1D 2
Pointer: Configurable Exits Table
FA20 72
Jump Table: Verbs
Verb routines in the same order as Table_VerbWordTokens. Used by Handler_DispatchVerb.
FA68 52
Jump Table: Room Images