![]() |
Game Status Buffer |
| Address | Length | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 44406 | 135 |
One byte per item. The value is the room the item is in, 0 when the item is inactive, and the inventory room when the player is carrying it.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44662 | 1 |
Bit 0 and bit 1 gate the special move out of room 55.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44663 | 1 |
Bit 0 is set once the player has dug on the beach in room 60.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44664 | 1 |
Cleared at the start of every pass round the game loop.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44665 | 1 |
Holds the room ID to restore after pouring.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44670 | 2 |
Corresponds to whether the player has already seen the image for the following rooms:
HandlerDisplayRoomImage tests and sets the bit for the current room. The bit number is the room's place in Table_RoomsWithImages.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44680 | 1 |
Holds a single byte, where each bit relates to a turn-based event. GameEventsProcessor decrements the matching counter in Counter_Unused_0 and, when a counter reaches zero, would call through Pointer_TurnBasedEvents_Jump. The shipped image leaves Pointer_TurnBasedEvents_Jump as 0 and never sets these bits.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44681 | 8 |
One countdown per bit of *Flag_TurnBasedEventState. GameEventsProcessor decrements a set counter each turn. The shipped image never arms any of them.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44689 | 1 |
Each set bit makes the matching item in Table_FollowingItems follow the player when the room changes (MovePlayerToRoom). Bits 0-3 default to "Beren,the King." (Beren), "Istar,the wizard." (Istar), "Haldir,the minstrel." (Haldir) and "Khadim,the dwarf." (Khadim). Bits 4-7 are never set. Handler_ChangeRoom also reads this byte when checking the ruined cottage.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44690 | 8 |
Each bit of *Flag_FollowingHeroes makes the item at the same position here follow the player when the room changes.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44698 | 1 |
The number of items the player is currently holding.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44699 | 50 |
Save Game copies the configurable-exit bytes here before writing the tape block. The buffer is 50 bytes, ending at the current room.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44749 | 1 |
The room the player starts the game in is room 3:
In the Field.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44750 | 2 |
BCD score. Add To Score accumulates into this word.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44752 | 2 |
Pointer to the table containing the game vocabulary.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44754 | 2 |
Pointer to the jump table containing turn-based events. The initial image stores 0.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44756 | 2 |
Pointer to the table containing the relationships between rooms.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44758 | 2 |
Pointer to the table containing item descriptions.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44760 | 2 |
Pointer to the table containing all the rooms which have an image to display.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44762 | 2 |
Pointer to the jump table for displaying an image relating to a room.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44764 | 2 |
Pointer to the table containing room descriptions.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44766 | 2 |
Pointer to the table containing item groupings.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44768 | 2 |
Pointer to the object noun-phrase table.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44770 | 2 |
Pointer to the character set used when expanding vocabulary tokens.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44772 | 2 |
Pointer to the jump table of verb handlers.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44774 | 2 |
Pointer to the configurable-exit address table.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44776 | 2 |
Pointer to the jump table of scenic-event handlers. The initial image stores 0; this game ships with no scenic-event handlers.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44778 | 2 |
Pointer to the verb word-token table.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44780 | 2 |
Unused pointer. The initial image stores 0.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44782 | 2 |
Unused pointer. The initial image stores 0.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44784 | 2 |
The total number of items in the game.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44786 | 2 |
The total number of objects in the game.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44788 | 2 |
The total number of verb word tokens the game has.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44790 | 2 |
The total number of rooms which have related images in the game. 10 room slots have a picture; the oil room and the acid room share one.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44792 | 2 |
The total number of scenic events in the game. The initial image stores 0.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44794 | 2 |
The total number of configurable exits in the game.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44796 | 50 |
The line the player is typing. The input handler clears all 50 bytes.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44846 | 10 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44856 | 1 |
The entry point writes 24 here.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44857 | 4 |
The four-character word UserInput_Enter is matching. The routine fills it with ASCII spaces (32) and then copies up to 4 characters of the next command word into it.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44861 | 8 |
Eight bytes assembled by PrintRoomGraphic for one character row of a room image, then passed to the ROM print routine.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44869 | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44871 | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 44873 | 2 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 52568 | 270 |
One word per item. Each entry points at an 255-terminated name.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 52838 | 132 |
One word per room. Rooms 0 and 1 are unused. The rest point at the room text.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 52970 | 144 |
One word per object. Each entry points at the noun text.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64476 | 135 |
Starting places for the items. GameStart copies this table to Table_ItemLocations at the start of every game.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64732 | 1 |
Copied to Flags_RoomChange. Bit 0 and bit 1 gate the special move out of room 55.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64733 | 1 |
Copied to Flag_BeachDug. Bit 0 is clear until the beach in room 60 is dug.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64734 | 1 |
Copied to Flag_TurnScratch. Cleared at the start of every pass round the game loop.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64735 | 1 |
Copied to Room_PourReturn. Holds the room ID to restore after pouring.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64740 | 2 |
Copied to Table_RoomImagesAlreadySeen. No room picture has been shown yet.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64750 | 1 |
Copied to Flag_TurnBasedEventState. No turn-based event has started.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64751 | 8 |
Copied to Counter_Unused_0. One countdown per bit of *Flag_TurnBasedEventState.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64759 | 1 |
Copied to Flag_FollowingHeroes. No following bits are set at the start of a game.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64760 | 8 |
Copied to Table_FollowingItems. Default item IDs for bits 0-3: "Beren,the King.", "Istar,the wizard.", "Haldir,the minstrel." and "Khadim,the dwarf.".
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64768 | 1 |
Copied to Count_InventoryItems. The player starts holding 0 item(s).
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64769 | 50 |
Copied to LoadSaveBuffer. Initial bytes for the configurable-exit save area.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64819 | 1 |
Copied to CurrentRoom. The player starts in room 3:
In the Field.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64820 | 2 |
Copied to Score. BCD score starts at 0.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64822 | 2 |
Copied to Pointer_Vocabulary. Points at the vocabulary table.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64824 | 2 |
Copied to Pointer_TurnBasedEvents_Jump. Initial image stores 0.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64826 | 2 |
Copied to Pointer_RoomMap.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64828 | 2 |
Copied to Pointer_ItemDescriptions.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64830 | 2 |
Copied to Pointer_RoomsWithImages.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64832 | 2 |
Copied to Pointer_RoomImage.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64834 | 2 |
Copied to Pointer_RoomDescriptions.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64836 | 2 |
Copied to Pointer_ItemGroupingTable.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64838 | 2 |
Copied to Pointer_ObjectNounPhrases.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64840 | 2 |
Copied to Pointer_CharacterSet.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64842 | 2 |
Copied to Pointer_JumpTable_Verbs.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64844 | 2 |
Copied to Pointer_ConfigurableExits.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64846 | 2 |
Copied to Pointer_JumpTable_ScenicEvents. Initial image stores 0.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64848 | 2 |
Copied to Pointer_VerbWordTokens.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64850 | 2 |
Copied to Pointer_Spare. Unused; initial image stores 0.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64852 | 2 |
Copied to Pointer_Spare2. Unused; initial image stores 0.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64854 | 2 |
Copied to Count_Items.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64856 | 2 |
Copied to Count_Objects.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64858 | 2 |
Copied to Count_VerbTokens.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64860 | 2 |
Copied to Count_RoomsWithImages.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64862 | 2 |
Copied to Count_ScenicEvents. Initial image stores 0.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 64864 | 2 |
Copied to Count_ConfigurableExits.
|