![]() |
Game Status Buffer |
| Address | Length | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 25003 | 65 |
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 |
Holds a single byte, where each bit relates to display state as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25107 | 4 |
Corresponds to whether the player has already seen the image for the following rooms:
Handler_DisplayRoom tests and sets the bit for the current room. The bit number is the room's place in Table_RoomsWithImages.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25113 | 1 |
Holds a single byte, where each bit relates to a turn-based event as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25114 | 8 |
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.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25122 | 1 |
Holds a single byte, where each bit relates to a scenic event as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25123 | 1 |
The room the player starts the game in is room 0:
N/A.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25124 | 8 |
Where each of the 8 scenic events is. Handler_ScenicEvents compares these rooms with *CurrentRoom.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25132 | 1 |
The number of items the player is currently holding.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25133 | 50 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25183 | 50 |
The line being typed. Parsed word tokens follow at UserInput_FirstToken.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25233 | 10 |
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 |
The text and picture row used when clearing lines and parking the cursor.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25244 | 2 |
Pointer to the table containing the game vocabulary.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25246 | 4 |
The four-character word the parser is matching.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25250 | 16 |
Handler addresses for each bit of *Flag_TurnBasedEventState. Used by HandlerTurnBasedEvents.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25266 | 16 |
One address per scenic event. Handler_ScenicEvents reads the address, and the bytes at that address are room IDs ended by 255. See Data_ScenicEventRooms.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25282 | 2 |
Pointer to the table containing the relationships between rooms.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25284 | 2 |
The total number of objects in the game.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25286 | 2 |
Pointer to the table containing item descriptions.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25288 | 2 |
The total number of noun word tokens the game has.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25290 | 2 |
The total number of rooms which have related images in the game.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25292 | 2 |
Pointer to the table containing all the rooms which have an image to display.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25294 | 2 |
Pointer to the jump table for displaying an image relating to a room.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25296 | 2 |
Pointer to the table containing room descriptions.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25298 | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25300 | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25302 | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25304 | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25306 | 2 |
The total number of verb word tokens the game has.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25308 | 2 |
The total number of configurable exits in the game. See Table_ConfigurableExits.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25310 | 2 |
Pointer to the table containing the configurable exits.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 25709 | 12 |
Pointers to the direction names, in the order north, south, east, west, up and down.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 34022 | 130 |
65 pointers to the object messages. Indexed with the count stored at *Count_Objects.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 34152 | 128 |
One pointer per room. Room 0 and room 1 are unused. The starting room is 2, In Deep Space, On Patrol.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 34280 | 74 |
One word per object. Each entry points at the noun text.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 34920 | 37 |
The vocabulary number (Table_Vocabulary) of each of the 37 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.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 34957 | 143 |
For each object in Table_ObjectNounPhrases, in the same order: the items it may refer to, ending with 254. Parser_ResolvePhrase skips to this noun's group from *Pointer_ItemGroupingTable.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 35100 | 36 |
The vocabulary number (Table_Vocabulary) of each of the 36 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.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 35136 | 538 |
The words an action expects after its verb, as vocabulary numbers (Table_Vocabulary). 253 separates alternative wordings and 254 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.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 35674 | 384 |
Six bytes per room, in the order north, south, east, west, up, down. A zero means there is no exit.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 36092 | 26 |
The 26 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.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 36118 | 20 |
Addresses of room-map exit bytes. GameStart writes the starting values. SaveGame copies the bytes into LoadSaveBuffer, and LoadTape writes them back.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 36880 | 4 |
All the items in the game which are plural; used by Take_AlreadyCarrying_CheckPlural.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 63365 | 142 |
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 |
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_ConfigurableExits.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 63822 | 1 |
Copied to Flag_DisplayState. Bit 0 is clear at the start of every game.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 63826 | 4 |
Copied to Table_RoomImagesAlreadySeen. No room picture has been shown yet.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 63832 | 1 |
Copied to Flag_TurnBasedEventState. No turn-based event has started.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 63833 | 8 |
Copied to Counter_Android. One countdown per bit of *Flag_TurnBasedEventState.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 63841 | 1 |
Copied to Flag_ScenicEventState. No scenic event is armed yet.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 63842 | 1 |
Copied to CurrentRoom. The player starts in room 2.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 63843 | 8 |
Copied to Table_ScenicEventLocations. Where each of the 8 scenic events starts.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 63851 | 1 |
Copied to Count_InventoryItems. The player starts holding 1 item(s).
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 63852 | 50 |
Copied to LoadSaveBuffer. Initial bytes for the configurable exits.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 63902 | 50 |
Copied to CommandBuffer. Cleared again when a command is typed.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 63952 | 10 |
Copied to UserInput_FirstToken. Filled with 255 until a command is parsed.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 63962 | 1 |
Copied to LineNumber. Initial text/picture row 24.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 63963 | 2 |
Copied to Pointer_Vocabulary. Points at the vocabulary table.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 63965 | 4 |
Copied to FourLetterBuffer. Cleared again when a word is matched.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 63969 | 16 |
Copied to Table_TurnBasedEventHandlers. Handler addresses for each turn-based event bit.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 63985 | 16 |
Copied to Table_ScenicEventRooms. Pointers to the room lists for each scenic event.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64001 | 2 |
Copied to Pointer_RoomMap.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64003 | 2 |
Copied to Count_Objects.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64005 | 2 |
Copied to Pointer_ItemDescriptions.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64007 | 2 |
Copied to Count_Nouns.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64009 | 2 |
Copied to Count_RoomsWithImages.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64011 | 2 |
Copied to Pointer_RoomsWithImages.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64013 | 2 |
Copied to Pointer_RoomImage.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64015 | 2 |
Copied to Pointer_RoomDescriptions.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64017 | 2 |
Copied to Pointer_ItemGroupingTable.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64019 | 2 |
Copied to Pointer_ObjectList.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64021 | 2 |
Copied to Pointer_NounTokens.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64023 | 2 |
Copied to Pointer_JumpTable_Verbs.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64025 | 2 |
Copied to Count_VerbTokens.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64027 | 2 |
Copied to Count_ConfigurableExits.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64029 | 2 |
Copied to Pointer_ConfigurableExits.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64032 | 72 |
Verb routines in the same order as Table_VerbWordTokens. Used by Handler_DispatchVerb.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64104 | 52 |