Page Byte Address Length Description
92 0 5C00 512
Attribute buffer (room + Willy + entities + items)
94 0 5E00 512
Attribute buffer (empty room)
96 0 6000 4096
Screen buffer (room + Willy + entities + items)
112 0 7000 4096
Screen buffer (empty room)
128 0 8000 128
Room layout
128 128 8080 32
Room name
128 160 80A0 54
Room tiles
128 214 80D6 4
Conveyor definition
128 218 80DA 4
Ramp definition
128 222 80DE 1
Border colour
128 223 80DF 2
Unused
128 225 80E1 8
Item graphic
128 233 80E9 4
Room exits
128 237 80ED 3
Unused
128 240 80F0 16
Entity specifications
129 0 8100 65
Entity buffers
129 65 8141 191
Unused
130 0 8200 256
Screen buffer address lookup table
131 0 8300 256
Rope animation table
132 0 8400 32
The game has just loaded
132 32 8420 1
Current room number
132 33 8421 16
Left-right movement table
132 49 8431 32
Triangle UDGs
132 81 8451 3
'AIR'
132 84 8454 256
'+++++ Press ENTER to Start +++++...'
133 84 8554 32
'Items collected 000 Time 00:00 m'
133 116 8574 4
'Game'
133 120 8578 4
'Over'
133 124 857C 3
Number of items collected
133 127 857F 6
Current time
133 133 8585 6
' 7:00a'
133 139 858B 32
'Enter Code at grid location     '
133 171 85AB 32
'Sorry, try code at location     '
133 203 85CB 1
Minute counter
133 204 85CC 1
Lives remaining
133 205 85CD 1
Screen flash counter
133 206 85CE 1
Kempston joystick indicator
133 207 85CF 1
Willy's pixel y-coordinate (x2)
133 208 85D0 1
Willy's direction and movement flags
133 209 85D1 1
Airborne status indicator
133 210 85D2 1
Willy's animation frame
133 211 85D3 2
Address of Willy's location in the attribute buffer at 5C00
133 213 85D5 1
Jumping animation counter
133 214 85D6 1
Rope status indicator
133 215 85D7 7
Willy's state on entry to the room
133 222 85DE 1
256 minus the number of items remaining
133 223 85DF 1
Game mode indicator
133 224 85E0 1
Inactivity timer
133 225 85E1 1
In-game music note index
133 226 85E2 1
Music flags
133 227 85E3 1
WRITETYPER key counter
133 228 85E4 1
Temporary variable
133 229 85E5 22
WRITETYPER
133 251 85FB 100
Title screen tune data (Moonlight Sonata)
134 95 865F 64
In-game tune data (If I Were a Rich Man)
134 159 869F 36
Give two chances to enter a correct code
134 195 86C3 121
Display the code entry screen
135 60 873C 142
Read the keyboard during code entry
135 202 87CA 306
Display the title screen and play the theme tune
136 252 88FC 22
Start the game
137 18 8912 121
Initialise the current room
137 139 898B 34
Draw the remaining lives
137 173 89AD 318
Main loop (1)
138 235 8AEB 28
Cycle the INK and PAPER colours
139 7 8B07 250
Main loop (2)
140 1 8C01 73
Lose a life
140 74 8C4A 233
Display the game over sequence
141 51 8D33 56
Draw the current room to the screen buffer at 7000
141 107 8D6B 85
Fill the buffer at 5E00 with attribute bytes for the current room
141 192 8DC0 19
Copy a room attribute byte into the buffer at 5E00
141 211 8DD3 257
Move Willy (1)
142 212 8ED4 232
Move Willy (2)
143 188 8FBC 250
Move Willy (3)
144 182 90B6 10
Kill Willy
144 192 90C0 254
Move the rope and guardians in the current room
145 190 91BE 509
Draw the rope, arrows and guardians in the current room
147 187 93BB 22
Unused routine
147 209 93D1 133
Draw the items in the current room and collect any that Willy is touching
148 86 9456 52
Draw a sprite
148 138 948A 20
Move Willy into the room to the left
148 158 949E 18
Move Willy into the room to the right
148 176 94B0 34
Move Willy into the room above
148 210 94D2 39
Move Willy into the room below
148 249 94F9 59
Move the conveyor in the current room
149 52 9534 80
Deal with special rooms (Master Bedroom, The Bathroom)
149 132 9584 22
Check whether Willy has reached the toilet
149 154 959A 46
Animate the toilet in The Bathroom
149 200 95C8 86
Check and set the attribute bytes for Willy's sprite in the buffer at 5C00
150 30 961E 25
Check and set the attribute byte for a cell occupied by Willy's sprite
150 55 9637 73
Draw Willy to the screen buffer at 6000
150 128 9680 17
Print a message
150 145 9691 17
Print a single character
150 162 96A2 39
Play the theme tune (Moonlight Sonata)
150 201 96C9 21
Check whether ENTER, 0 or the fire button is being pressed
150 222 96DE 22
Play an intro message sound effect
150 244 96F4 36
Unused routine
151 24 9718 232
Unused
152 0 9800 512
Attributes for the top two-thirds of the title screen
154 0 9A00 256
Attributes for the bottom third of the screen
155 0 9B00 128
Number key graphics
155 128 9B80 128
Attributes for the code entry screen
156 0 9C00 64
Source code remnants
156 64 9C40 64
Foot/barrel graphic data
156 128 9C80 128
Maria sprite graphic data
157 0 9D00 256
Willy sprite graphic data
158 0 9E00 179
Codes
158 179 9EB3 333
Unused
160 0 A000 1023
Entity definitions
163 255 A3FF 1
Index of the first item
164 0 A400 512
Item table
166 0 A600 128
Toilet graphics
166 128 A680 1152
Unused
171 0 AB00 5376
Guardian graphics
192 0 C000 256
Room 0x00: The Off Licence (teleport: 9)
193 0 C100 256
Room 0x01: The Bridge (teleport: 19)
194 0 C200 256
Room 0x02: Under the MegaTree (teleport: 29)
195 0 C300 256
Room 0x03: At the Foot of the MegaTree (teleport: 129)
196 0 C400 256
Room 0x04: The Drive (teleport: 39)
197 0 C500 256
Room 0x05: The Security Guard (teleport: 139)
198 0 C600 256
Room 0x06: Entrance to Hades (teleport: 239)
199 0 C700 256
Room 0x07: Cuckoo's Nest (teleport: 1239)
200 0 C800 256
Room 0x08: Inside the MegaTrunk (teleport: 49)
201 0 C900 256
Room 0x09: On a Branch Over the Drive (teleport: 149)
202 0 CA00 256
Room 0x0A: The Front Door (teleport: 249)
203 0 CB00 256
Room 0x0B: The Hall (teleport: 1249)
204 0 CC00 256
Room 0x0C: Tree Top (teleport: 349)
205 0 CD00 256
Room 0x0D: Out on a limb (teleport: 1349)
206 0 CE00 256
Room 0x0E: Rescue Esmerelda (teleport: 2349)
207 0 CF00 256
Room 0x0F: I'm sure I've seen this before.. (teleport: 12349)
208 0 D000 256
Room 0x10: We must perform a Quirkafleeg (teleport: 59)
209 0 D100 256
Room 0x11: Up on the Battlements (teleport: 159)
210 0 D200 256
Room 0x12: On the Roof (teleport: 259)
211 0 D300 256
Room 0x13: The Forgotten Abbey (teleport: 1259)
212 0 D400 256
Room 0x14: Ballroom East (teleport: 359)
213 0 D500 256
Room 0x15: Ballroom West (teleport: 1359)
214 0 D600 256
Room 0x16: To the Kitchens    Main Stairway (teleport: 2359)
215 0 D700 256
Room 0x17: The Kitchen (teleport: 12359)
216 0 D800 256
Room 0x18: West of Kitchen (teleport: 459)
217 0 D900 256
Room 0x19: Cold Store (teleport: 1459)
218 0 DA00 256
Room 0x1A: East Wall Base (teleport: 2459)
219 0 DB00 256
Room 0x1B: The Chapel (teleport: 12459)
220 0 DC00 256
Room 0x1C: First Landing (teleport: 3459)
221 0 DD00 256
Room 0x1D: The Nightmare Room (teleport: 13459)
222 0 DE00 256
Room 0x1E: The Banyan Tree (teleport: 23459)
223 0 DF00 256
Room 0x1F: Swimming Pool (teleport: 123459)
224 0 E000 256
Room 0x20: Halfway up the East Wall (teleport: 69)
225 0 E100 256
Room 0x21: The Bathroom (teleport: 169)
226 0 E200 256
Room 0x22: Top Landing (teleport: 269)
227 0 E300 256
Room 0x23: Master Bedroom (teleport: 1269)
228 0 E400 256
Room 0x24: A bit of tree (teleport: 369)
229 0 E500 256
Room 0x25: Orangery (teleport: 1369)
230 0 E600 256
Room 0x26: Priests' Hole (teleport: 2369)
231 0 E700 256
Room 0x27: Emergency Generator (teleport: 12369)
232 0 E800 256
Room 0x28: Dr Jones will never believe this (teleport: 469)
233 0 E900 256
Room 0x29: The Attic (teleport: 1469)
234 0 EA00 256
Room 0x2A: Under the Roof (teleport: 2469)
235 0 EB00 256
Room 0x2B: Conservatory Roof (teleport: 12469)
236 0 EC00 256
Room 0x2C: On top of the house (teleport: 3469)
237 0 ED00 256
Room 0x2D: Under the Drive (teleport: 13469)
238 0 EE00 256
Room 0x2E: Tree Root (teleport: 23469)
239 0 EF00 256
Room 0x2F: [ (teleport: 123469)
240 0 F000 256
Room 0x30: Nomen Luni (teleport: 569)
241 0 F100 256
Room 0x31: The Wine Cellar (teleport: 1569)
242 0 F200 256
Room 0x32: Watch Tower (teleport: 2569)
243 0 F300 256
Room 0x33: Tool  Shed (teleport: 12569)
244 0 F400 256
Room 0x34: Back Stairway (teleport: 3569)
245 0 F500 256
Room 0x35: Back Door (teleport: 13569)
246 0 F600 256
Room 0x36: West  Wing (teleport: 23569)
247 0 F700 256
Room 0x37: West Bedroom (teleport: 123569)
248 0 F800 256
Room 0x38: West Wing Roof (teleport: 4569)
249 0 F900 256
Room 0x39: Above the West Bedroom (teleport: 14569)
250 0 FA00 256
Room 0x3A: The Beach (teleport: 24569)
251 0 FB00 256
Room 0x3B: The Yacht (teleport: 124569)
252 0 FC00 256
Room 0x3C: The Bow (teleport: 34569)
253 0 FD00 768
Unused TRS-DOS code