![]() |
Routines |
Page | Byte | Address | Length | Description |
---|---|---|---|---|
132 | 0 | 33792 | 32 |
The game has just loaded
|
134 | 159 | 34463 | 36 |
Give two chances to enter a correct code
|
134 | 195 | 34499 | 121 |
Display the code entry screen
|
135 | 60 | 34620 | 142 |
Read the keyboard during code entry
|
135 | 202 | 34762 | 306 |
Display the title screen and play the theme tune
|
136 | 252 | 35068 | 143 |
Start the game
|
137 | 139 | 35211 | 34 |
Draw the remaining lives
|
137 | 173 | 35245 | 318 |
Main loop (1)
|
138 | 235 | 35563 | 28 |
Cycle the INK and PAPER colours
|
139 | 7 | 35591 | 250 |
Main loop (2)
|
140 | 1 | 35841 | 73 |
Lose a life
|
140 | 74 | 35914 | 233 |
Display the game over sequence
|
141 | 51 | 36147 | 56 |
Draw the current room to the screen buffer at 28672
|
141 | 107 | 36203 | 85 |
Fill the buffer at 24064 with attribute bytes for the current room
|
141 | 192 | 36288 | 19 |
Copy a room attribute byte into the buffer at 24064
|
141 | 211 | 36307 | 257 |
Move Willy (1)
|
142 | 212 | 36564 | 232 |
Move Willy (2)
|
143 | 188 | 36796 | 250 |
Move Willy (3)
|
144 | 182 | 37046 | 10 |
Kill Willy
|
144 | 192 | 37056 | 254 |
Move the rope and guardians in the current room
|
145 | 190 | 37310 | 509 |
Draw the rope, arrows and guardians in the current room
|
147 | 209 | 37841 | 133 |
Draw the items in the current room and collect any that Willy is touching
|
148 | 86 | 37974 | 52 |
Draw a sprite
|
148 | 138 | 38026 | 20 |
Move Willy into the room to the left
|
148 | 158 | 38046 | 18 |
Move Willy into the room to the right
|
148 | 176 | 38064 | 34 |
Move Willy into the room above
|
148 | 210 | 38098 | 39 |
Move Willy into the room below
|
148 | 249 | 38137 | 59 |
Move the conveyor in the current room
|
149 | 52 | 38196 | 80 |
Deal with special rooms (Master Bedroom, The Bathroom)
|
149 | 132 | 38276 | 22 |
Check whether Willy has reached the toilet
|
149 | 154 | 38298 | 46 |
Animate the toilet in The Bathroom
|
149 | 200 | 38344 | 86 |
Check and set the attribute bytes for Willy's sprite in the buffer at 23552
|
150 | 30 | 38430 | 25 |
Check and set the attribute byte for a cell occupied by Willy's sprite
|
150 | 55 | 38455 | 73 |
Draw Willy to the screen buffer at 24576
|
150 | 128 | 38528 | 17 |
Print a message
|
150 | 145 | 38545 | 17 |
Print a single character
|
150 | 162 | 38562 | 39 |
Play the theme tune (Moonlight Sonata)
|
150 | 201 | 38601 | 21 |
Check whether ENTER, 0 or the fire button is being pressed
|
150 | 222 | 38622 | 22 |
Play an intro message sound effect
|