![]() |
Routines |
Page | Byte | Address | Length | Description |
---|---|---|---|---|
132 | 0 | 33792 | 7 |
The game has just loaded
|
133 | 204 | 34252 | 184 |
Display the title screen and play the theme tune
|
134 | 132 | 34436 | 138 |
Start the game (or demo mode)
|
135 | 14 | 34574 | 566 |
Main loop
|
137 | 68 | 35140 | 248 |
Display the game over sequence
|
138 | 60 | 35388 | 57 |
Decrease the air remaining in the current cavern
|
138 | 117 | 35445 | 70 |
Draw the current cavern to the screen buffer at 28672
|
138 | 187 | 35515 | 255 |
Move Willy (1)
|
139 | 186 | 35770 | 35 |
Animate a crumbling floor tile in the current cavern
|
139 | 221 | 35805 | 296 |
Move Willy (2)
|
141 | 5 | 36101 | 10 |
Kill Willy
|
141 | 15 | 36111 | 100 |
Move the horizontal guardians in the current cavern
|
141 | 115 | 36211 | 55 |
Move and draw the light beam in Solar Power Generator
|
141 | 170 | 36266 | 78 |
Draw the horizontal guardians in the current cavern
|
141 | 248 | 36344 | 125 |
Move and draw Eugene in Eugene's Lair
|
142 | 117 | 36469 | 124 |
Move and draw the Skylabs in Skylab Landing Bay
|
142 | 241 | 36593 | 114 |
Move and draw the vertical guardians in the current cavern
|
143 | 99 | 36707 | 98 |
Draw the items in the current cavern and collect any that Willy is touching
|
143 | 197 | 36805 | 47 |
Draw the portal, or move to the next cavern if Willy has entered it
|
143 | 244 | 36852 | 52 |
Draw a sprite
|
144 | 40 | 36904 | 194 |
Move to the next cavern
|
144 | 234 | 37098 | 27 |
Add to the score
|
145 | 5 | 37125 | 48 |
Move the conveyor in the current cavern
|
145 | 53 | 37173 | 230 |
Move and draw the Kong Beast in the current cavern
|
146 | 27 | 37403 | 31 |
Flip a switch in a Kong Beast cavern if Willy is touching it
|
146 | 58 | 37434 | 37 |
Check and set the attribute bytes for Willy's sprite in the buffer at 23552
|
146 | 95 | 37471 | 32 |
Check and set the attribute byte for a cell occupied by Willy's sprite
|
146 | 127 | 37503 | 59 |
Draw Willy to the screen buffer at 24576
|
146 | 186 | 37562 | 17 |
Print a message
|
146 | 203 | 37579 | 17 |
Print a single character
|
146 | 220 | 37596 | 79 |
Play the theme tune
|
147 | 43 | 37675 | 12 |
Calculate the attribute file address for a piano key
|
147 | 55 | 37687 | 21 |
Check whether ENTER or the fire button is being pressed
|