Page Byte Address Length Description
132 0 8400 7
The game has just loaded
133 204 85CC 184
Display the title screen and play the theme tune
134 132 8684 138
Start the game (or demo mode)
135 14 870E 566
Main loop
137 68 8944 248
Display the game over sequence
138 60 8A3C 57
Decrease the air remaining in the current cavern
138 117 8A75 70
Draw the current cavern to the screen buffer at 7000
138 187 8ABB 255
Move Willy (1)
139 186 8BBA 35
Animate a crumbling floor tile in the current cavern
139 221 8BDD 296
Move Willy (2)
141 5 8D05 10
Kill Willy
141 15 8D0F 100
Move the horizontal guardians in the current cavern
141 115 8D73 55
Move and draw the light beam in Solar Power Generator
141 170 8DAA 78
Draw the horizontal guardians in the current cavern
141 248 8DF8 125
Move and draw Eugene in Eugene's Lair
142 117 8E75 124
Move and draw the Skylabs in Skylab Landing Bay
142 241 8EF1 114
Move and draw the vertical guardians in the current cavern
143 99 8F63 98
Draw the items in the current cavern and collect any that Willy is touching
143 197 8FC5 47
Draw the portal, or move to the next cavern if Willy has entered it
143 244 8FF4 52
Draw a sprite
144 40 9028 194
Move to the next cavern
144 234 90EA 27
Add to the score
145 5 9105 48
Move the conveyor in the current cavern
145 53 9135 230
Move and draw the Kong Beast in the current cavern
146 27 921B 31
Flip a switch in a Kong Beast cavern if Willy is touching it
146 58 923A 37
Check and set the attribute bytes for Willy's sprite in the buffer at 5C00
146 95 925F 32
Check and set the attribute byte for a cell occupied by Willy's sprite
146 127 927F 59
Draw Willy to the screen buffer at 6000
146 186 92BA 17
Print a message
146 203 92CB 17
Print a single character
146 220 92DC 79
Play the theme tune (The Blue Danube)
147 43 932B 12
Calculate the attribute file address for a piano key
147 55 9337 21
Check whether ENTER or the fire button is being pressed