![]() |
Game Status Buffer |
| Address | Length | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| A663 | 4 |
A table of delimiter characters used for matching user input in IsDelimiter.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A667 | 5 |
"Vocabulary Table" used for matching and removing "THE" from user input.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A66C | 256 |
A table where the index is the item/ event ID, and the value is the room it resides in (00 for "currently inactive").
When the item is in the players inventory, the room ID changes to 01.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A76C | 1 |
Bits 00 to 07 each award 04 points once. Bit 01 (Process_EnterForestPath) also removes events 00 and 01 and switches on events 02 and 03.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A76D | 1 |
Bits 00, 01, 02, 04 and 06 award 04 points once. Bit 03 records that the acorns have been picked up and the raven placed, and does not award points. Bit 05 records that the Fomorians have been wiped out, which changes the ring ending (F606). Bit 07 is unused.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A772 | 2 |
Some temporary storage, sometimes an address, sometimes a single byte (note the overlap).
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A774 | 2 |
Corresponds to whether the player has already seen the image for the following rooms:
Used by the routine at Handler_DisplayRoomImage but uses the bit index from Table_RoomsWithImages.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A77E | 1 |
Holds a single byte, where each bit relates to a turn-based event as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A77F | 8 |
One countdown per bit of *Flag_TurnBasedEventState.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A787 | 1 |
Holds a single byte, where each bit relates to an event as follows:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A788 | 8 |
MovePlayerToRoom walks the bits of *Flag_EventStates. Each set bit selects the byte at the same index here, and Handler_UpdateItemEventCurrentRoom moves that item into the room just entered. The first byte is 0B ("The captured Roman"). The remaining bytes are 00.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A790 | 1 |
The number of items the player is currently holding.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A791 | 50 |
SaveGame copies each configurable exit byte here before saving, and LoadTape writes those bytes back after a successful load. The copy length is *Count_ConfigurableExits. The rest of this 32 byte buffer is not read or written by those loops.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7C3 | 1 |
The room the player starts the game in is room 02:
A Wooded Vale.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7C4 | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7C6 | 2 |
Pointer to the table containing the game vocabulary.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7C8 | 2 |
Pointer to the jump table containing turn-based events.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7CA | 2 |
Pointer to the table containing the relationships between rooms.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7CC | 2 |
Pointer to the table containing item descriptions.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7CE | 2 |
Pointer to the table containing all the rooms which have an image to display.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7D0 | 2 |
Pointer to the jump table for displaying an image relating to a room.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7D2 | 2 |
Pointer to the table containing room descriptions.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7D4 | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7D6 | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7D8 | 2 |
Pointer to the table containing a list of token IDs which relate to items.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7DA | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7DC | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7DE | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7E0 | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7E2 | 2 |
Pointer to the item ID of each scenic event. ItemLocator turns that ID into the room the event currently occupies.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7E4 | 2 |
Pointer to the address of each scenic event's room group.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7E6 | 2 |
The total number of objects in the game.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7E8 | 2 |
The total number of items in the game.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7EA | 2 |
The total number of verb word tokens the game has. See Table_VerbWordTokens.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7EC | 2 |
The total number of rooms which have related images in the game.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7EE | 2 |
The total number of scenic events in the game. See Table_ScenicEventRooms.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7F0 | 2 |
The total number of configurable exits in the game. See Table_ConfigurableExits.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A7F2 | 50 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A824 | 10 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A82E | 1 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A82F | 4 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A83B | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A83D | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AAE2 | 12 |
Pointer to the table containing direction messaging.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ACC2 | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ACC4 | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C732 | 268 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C83E | 114 |
One word per object. Each entry points at the noun text.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C8B0 | 204 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| E308 | 57 |
A list of all tokens which relate to items.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| E341 | 214 |
For each object in Table_ObjectNounPhrases, in the same order: the items it may refer to, ending with FF. The pointers at Table_ItemGrouping say where each group starts.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| E417 | 114 |
Items may have several item IDs which relate to a single item, this table groups the items together to assist the parser with knowing that tokens refer to the same thing.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| E489 | 33 |
The vocabulary number (Table_Vocabulary) of each of the 21 verbs (the count is at Count_VerbTokens). Handler_DispatchVerb looks the first word of a command up here (through Pointer_VerbWordTokens) and jumps to the action at the same position in JumpTable_Verbs.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| E4AA | 60 |
Room IDs for each scenic event, in groups terminated by FF. The addresses of the groups are held by Table_ScenicEventRooms.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| E4E6 | 34 |
One address per scenic event (11 entries, see Count_ScenicEvents). GetTableEntry reads the address, and the bytes at that address are room IDs ended by FF. See Data_ScenicEventRooms.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| E508 | 17 |
One item ID per scenic event. 00 means no item is needed. Table_ItemDescriptions has no description for these IDs, so there is no item name for them. They are scenic-event slots in Table_ItemEventLocations. Six of them are also listed in Table_ItemGrouping, whose nouns are in Table_ObjectNounPhrases: 02 and 03 in Table_ItemGroups (Roman), 04 and 05 in Data_ItemGroup_Fomorian (Fomorian) and Data_ItemGroup_Warrior (Warrior), 06 in Data_ItemGroup_Boar (Boar), and 09 in Data_ItemGroup_Rats (Rats). The remaining IDs are not in those tables. GameScenicEventChecker passes the byte to ItemLocator to find the room that slot currently occupies. See Count_ScenicEvents for the count.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| E519 | 507 |
The user input is broken down into tokens which represent the words they've entered. These tokens are then compared against these token patterns to determine the outcome the player was trying to communicate.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| E714 | 612 |
Six bytes per room, in the order north, south, east, west, up, down. A zero means there is no exit.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| E978 | 22 |
Addresses of room-map exit bytes. GameStart clears each byte, and SaveGame saves the bytes into Buffer_LoadSave.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ED6C | 1 |
All the items in the game which are plural; used by ED81.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| F88F | 3 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FC8A | 3 |
A list of all the item IDs which are versions of the Fomorian being dead.
Used by the routine at Process_KillFomorian.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FD02 | 391 |
GameStart copies 0186 bytes from here onto Table_ItemEventLocations.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FE89 | 66 |
A jump table of verb routines, the ordering here is from Table_VerbWordTokens.
Used by the routine at Handler_DispatchVerb.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FECB | 4 |
Handlers for the set bits of *Flag_TurnBasedEventState. AB25 indexes this table by bit number. Bit 0 is Event_Drowning and bit 1 is Event_FomorianTribe.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FECF | 34 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FEF1 | 11 |
The 0B rooms that have a picture (the count is at Count_RoomsWithImages). Handler_DisplayRoomImage 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.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FEFC | 22 |