Page Byte Address Length Description
92 0 23552 512
Attribute buffer (cavern + Willy + guardians + items)
94 0 24064 512
Attribute buffer (empty cavern)
96 0 24576 4096
Screen buffer (cavern + Willy + guardians + items)
112 0 28672 4096
Screen buffer (empty cavern)
128 0 32768 32
Cavern name
128 32 32800 72
Cavern tiles
128 104 32872 1
Willy's pixel y-coordinate (x2)
128 105 32873 1
Willy's animation frame
128 106 32874 1
Willy's direction and movement flags
128 107 32875 1
Airborne status indicator
128 108 32876 2
Address of Willy's location in the attribute buffer at 23552
128 110 32878 1
Jumping animation counter
128 111 32879 4
Conveyor definition
128 115 32883 1
Border colour
128 116 32884 1
Attribute of the last item drawn
128 117 32885 26
Item definitions
128 143 32911 37
Portal definition
128 180 32948 8
Item graphic
128 188 32956 1
Remaining air supply
128 189 32957 1
Game clock
128 190 32958 29
Horizontal guardians
128 219 32987 1
Eugene's direction or the Kong Beast's status
128 220 32988 1
Eugene's or the Kong Beast's pixel y-coordinate
128 221 32989 35
Vertical guardians
129 0 33024 256
Guardian graphic data
130 0 33280 256
Willy sprite graphic data
131 0 33536 256
Screen buffer address lookup table
132 0 33792 7
The game has just loaded
132 7 33799 1
Current cavern number
132 8 33800 16
Left-right movement table
132 24 33816 3
'AIR'
132 27 33819 4
Unused
132 31 33823 6
High score
132 37 33829 10
Score
132 47 33839 32
'High Score 000000   Score 000000'
132 79 33871 4
'Game'
132 83 33875 4
'Over'
132 87 33879 1
Lives remaining
132 88 33880 1
Screen flash counter
132 89 33881 1
Kempston joystick indicator
132 90 33882 1
Game mode indicator
132 91 33883 1
In-game music note index
132 92 33884 1
Music flags
132 93 33885 1
6031769 key counter
132 94 33886 16
6031769
132 110 33902 286
Title screen tune data (The Blue Danube)
133 140 34188 64
In-game tune data (In the Hall of the Mountain King)
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 (The Blue Danube)
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
147 76 37708 2484
Source code remnants
157 0 40192 256
'...MANIC MINER . . © BUG-BYTE ltd. 1983...'
158 0 40448 512
Attribute data for the bottom two-thirds of the title screen
160 0 40960 4096
Title screen graphic data
176 0 45056 1024
Central Cavern (teleport: 6)
180 0 46080 1024
The Cold Room (teleport: 16)
184 0 47104 1024
The Menagerie (teleport: 26)
188 0 48128 1024
Abandoned Uranium Workings (teleport: 126)
192 0 49152 1024
Eugene's Lair (teleport: 36)
196 0 50176 1024
Processing Plant (teleport: 136)
200 0 51200 1024
The Vat (teleport: 236)
204 0 52224 1024
Miner Willy meets the Kong Beast (teleport: 1236)
208 0 53248 1024
Wacky Amoebatrons (teleport: 46)
212 0 54272 1024
The Endorian Forest (teleport: 146)
216 0 55296 1024
Attack of the Mutant Telephones (teleport: 246)
220 0 56320 1024
Return of the Alien Kong Beast (teleport: 1246)
224 0 57344 1024
Ore Refinery (teleport: 346)
228 0 58368 1024
Skylab Landing Bay (teleport: 1346)
232 0 59392 1024
The Bank (teleport: 2346)
236 0 60416 1024
The Sixteenth Cavern (teleport: 12346)
240 0 61440 1024
The Warehouse (teleport: 56)
244 0 62464 1024
Amoebatrons' Revenge (teleport: 156)
248 0 63488 1024
Solar Power Generator (teleport: 256)
252 0 64512 1024
The Final Barrier (teleport: 1256)