Page Byte Address Length Description
92 0 5C00 512
Attribute buffer (cavern + Willy + guardians + items)
94 0 5E00 512
Attribute buffer (empty cavern)
96 0 6000 4096
Screen buffer (cavern + Willy + guardians + items)
112 0 7000 4096
Screen buffer (empty cavern)
128 0 8000 32
Cavern name
128 32 8020 72
Cavern tiles
128 104 8068 1
Willy's pixel y-coordinate (x2)
128 105 8069 1
Willy's animation frame
128 106 806A 1
Willy's direction and movement flags
128 107 806B 1
Airborne status indicator
128 108 806C 2
Address of Willy's location in the attribute buffer at 5C00
128 110 806E 1
Jumping animation counter
128 111 806F 4
Conveyor definition
128 115 8073 1
Border colour
128 116 8074 1
Attribute of the last item drawn
128 117 8075 26
Item definitions
128 143 808F 37
Portal definition
128 180 80B4 8
Item graphic
128 188 80BC 1
Remaining air supply
128 189 80BD 1
Game clock
128 190 80BE 29
Horizontal guardians
128 219 80DB 1
Eugene's direction or the Kong Beast's status
128 220 80DC 1
Eugene's or the Kong Beast's pixel y-coordinate
128 221 80DD 35
Vertical guardians
129 0 8100 256
Guardian graphic data
130 0 8200 256
Willy sprite graphic data
131 0 8300 256
Screen buffer address lookup table
132 0 8400 7
The game has just loaded
132 7 8407 1
Current cavern number
132 8 8408 16
Left-right movement table
132 24 8418 3
'AIR'
132 27 841B 4
Unused
132 31 841F 6
High score
132 37 8425 10
Score
132 47 842F 32
'High Score 000000   Score 000000'
132 79 844F 4
'Game'
132 83 8453 4
'Over'
132 87 8457 1
Lives remaining
132 88 8458 1
Screen flash counter
132 89 8459 1
Kempston joystick indicator
132 90 845A 1
Game mode indicator
132 91 845B 1
In-game music note index
132 92 845C 1
Music flags
132 93 845D 1
6031769 key counter
132 94 845E 16
6031769
132 110 846E 286
Title screen tune data (The Blue Danube)
133 140 858C 64
In-game tune data (In the Hall of the Mountain King)
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
147 76 934C 2484
Source code remnants
157 0 9D00 256
'...MANIC MINER . . © BUG-BYTE ltd. 1983...'
158 0 9E00 512
Attribute data for the bottom two-thirds of the title screen
160 0 A000 4096
Title screen graphic data
176 0 B000 1024
Central Cavern (teleport: 6)
180 0 B400 1024
The Cold Room (teleport: 16)
184 0 B800 1024
The Menagerie (teleport: 26)
188 0 BC00 1024
Abandoned Uranium Workings (teleport: 126)
192 0 C000 1024
Eugene's Lair (teleport: 36)
196 0 C400 1024
Processing Plant (teleport: 136)
200 0 C800 1024
The Vat (teleport: 236)
204 0 CC00 1024
Miner Willy meets the Kong Beast (teleport: 1236)
208 0 D000 1024
Wacky Amoebatrons (teleport: 46)
212 0 D400 1024
The Endorian Forest (teleport: 146)
216 0 D800 1024
Attack of the Mutant Telephones (teleport: 246)
220 0 DC00 1024
Return of the Alien Kong Beast (teleport: 1246)
224 0 E000 1024
Ore Refinery (teleport: 346)
228 0 E400 1024
Skylab Landing Bay (teleport: 1346)
232 0 E800 1024
The Bank (teleport: 2346)
236 0 EC00 1024
The Sixteenth Cavern (teleport: 12346)
240 0 F000 1024
The Warehouse (teleport: 56)
244 0 F400 1024
Amoebatrons' Revenge (teleport: 156)
248 0 F800 1024
Solar Power Generator (teleport: 256)
252 0 FC00 1024
The Final Barrier (teleport: 1256)