Page Byte Address Description
125 0 7D00
Start.
125 3 7D03
unknown01
125 4 7D04
routine01
125 96 7D60
Spells table.
127 39 7F27
S cursor sprite data.
127 71 7F47
Table of possessed spells.
128 135 8087
Unused
128 176 80B0
Modified wizard sprites data.
130 144 8290
Table of pointers to modified wizard sprites.
130 192 82C0
Table of pointers to character sprite data.
131 0 8300
Get address of the wizard object data of the current player.
131 31 831F
current_character_pointer
131 33 8321
temp_pointer
131 35 8323
no_less_than_2_flag
131 36 8324
routine02
131 75 834B
routine03
131 87 8357
routine04
131 106 836A
MagicArmour spell.
131 156 839C
MagicSword spell.
131 208 83D0
MagicKnife spell.
132 4 8404
MagicShield spell.
132 56 8438
MagicWings spell.
132 106 846A
MagicBow spell.
132 176 84B0
ChaosOrLawSpell.
132 192 84C0
ShadowForm spell.
132 247 84F7
Subversion spell.
133 246 85F6
RaiseDead spell.
134 195 86C3
RAISDO
134 239 86EF
Turmoil spell.
135 60 873C
CRE000
135 61 873D
FLA481
135 62 873E
HID641
135 63 873F
BOD801
135 64 8740
FRA321
135 65 8741
TUR_DO
135 239 87EF
Print a message from game messages table 2.
136 9 8809
Game messages table 2
136 89 8859
Game message strings 2
137 167 89A7
LEVEL
137 168 89A8
NUM
137 169 89A9
GAMTUN
137 170 89AA
player name string pointer
137 172 89AC
POSPRI
137 174 89AE
string length
137 175 89AF
KEY_P
137 176 89B0
CHONUM
137 239 89EF
Key bloop sound effect.
137 249 89F9
The main game routine.
143 139 8F8B
ATTRDO
143 154 8F9A
TREPUT
144 62 903E
'New spell for wizard' sound effect.
144 70 9046
Unused
144 73 9049
COMPAR
144 74 904A
SPELNO
144 75 904B
Generate a semi-random number.
144 122 907A
RANUM
144 123 907B
NKEY2
144 159 909F
Starting positions table.
144 215 90D7
Wizard colours table.
144 223 90DF
ROMP
144 224 90E0
Wizard character sprites table.
144 240 90F0
PR_CHR
145 13 910D
sound_effect_01
145 23 9117
sound_effect_02
145 33 9121
sound_effect_03
145 43 912B
sound_effect_04
145 53 9135
sound_effect_05
145 63 913F
sound_effect_06
145 73 9149
sound_effect_07
145 83 9153
Chance of casting selected spell.
145 84 9154
HISPEL
145 86 9156
Spell casting tables.
145 102 9166
unknown02
145 103 9167
spell successful flag
145 104 9168
CAST_S
146 170 92AA
Calculate address of spells for current player.
146 190 92BE
user selected "Examine board" from options in CAST_S routine
146 249 92F9
Calculate the casting chance of the current spell.
147 123 937B
CURSP
147 124 937C
Temporary coordinates variable for select_spell ???
147 126 937E
Letter for spell selection.
147 127 937F
Chaos/Law of current spell.
147 128 9380
Address of spell entry in spells_table.
147 130 9382
Temporary spell pointer for select_spell ???
147 132 9384
Cast spell flag
147 133 9385
Display list of possessed spells.
148 167 94A7
Display information about the selected spell.
149 184 95B8
Get player controlled flag from WIZCON table
149 199 95C7
routine06
150 122 967A
Display wizard name, spell being cast, and spell casting range
150 209 96D1
routine07
150 230 96E6
PAUSER
150 243 96F3
routine08
151 95 975F
unknown10
151 96 9760
routine09
151 134 9786
routine10
151 163 97A3
routine11
151 206 97CE
unknown11
151 207 97CF
unknown12
151 209 97D1
routine12
152 14 980E
OFBORD
152 26 981A
routine13
152 219 98DB
routine14
152 241 98F1
routine15
153 64 9940
unknown79
153 65 9941
routine16
153 117 9975
CreatureCast spell
153 241 99F1
Disbelieve spell
154 221 9ADD
Trees&Castles spell
155 118 9B76
Wall spell
155 133 9B85
routine17
155 179 9BB3
routine18
156 14 9C0E
unknown80
156 15 9C0F
routine19
156 89 9C59
Lightning spell
157 224 9DE0
DarkPowerEtc spell
159 80 9F50
INTERO
161 114 A172
STRENG
161 115 A173
WALKYS
161 126 A17E
GETPLA
161 136 A188
sprite pointer for explosion routine
161 138 A18A
routine20
161 230 A1E6
sprite pointer for twirl routine
161 232 A1E8
table of pointers to twirl sprites
162 12 A20C
sprite data for casting twirl
163 69 A345
sprite data for explosion
164 37 A425
data left behind by editor/assembler
171 252 ABFC
unknown13
171 253 ABFD
unknown14
171 255 ABFF
unknown15
172 0 AC00
unknown16
172 1 AC01
unknown17
172 2 AC02
Movement points multiplied by two.
172 3 AC03
unknown18
172 4 AC04
unknown19
172 6 AC06
unknown20
172 7 AC07
unknown21
172 8 AC08
unknown22
172 9 AC09
unknown23
172 10 AC0A
unknown24
172 12 AC0C
unknown25
172 13 AC0D
unknown26
172 14 AC0E
current player (0-7)
172 15 AC0F
NO_PLA
172 16 AC10
unknown27
172 17 AC11
unknown28
172 18 AC12
Address of object table entry for current cursor position.
172 20 AC14
D_ADD
172 22 AC16
unknown table 3
172 30 AC1E
unknown table 4
172 38 AC26
WIZCON table
172 46 AC2E
current player is computer controlled flag
172 47 AC2F
Unused
172 48 AC30
unknown29
172 49 AC31
unknown30
172 50 AC32
unknown31
172 51 AC33
unknown32
172 52 AC34
Number of wizards that have been killed.
172 53 AC35
unknown34
172 54 AC36
routine21
172 198 ACC6
routine22
172 237 ACED
routine23
174 204 AECC
COUNTL
176 168 B0A8
routine24
177 97 B161
unknown35
177 98 B162
unknown36
177 99 B163
unknown37
177 100 B164
unknown38
177 101 B165
unknown39
177 102 B166
unknown40
177 104 B168
routine25
179 116 B374
unknown41
179 117 B375
routine26
179 195 B3C3
unknown42
179 196 B3C4
unknown43
179 197 B3C5
unknown44
179 198 B3C6
unknown45
179 199 B3C7
unknown46
179 201 B3C9
WIZKIL
182 11 B60B
unknown48
182 12 B60C
unknown49
182 13 B60D
routine27
182 38 B626
routine28
183 70 B746
routine29
183 84 B754
LOF_D
183 85 B755
test_pixel
183 105 B769
unknown50
183 106 B76A
unknown51
183 107 B76B
unknown52
183 109 B76D
unknown_table_5
183 211 B7D3
routine30
183 253 B7FD
routine31
184 28 B81C
routine32
184 68 B844
unknown54
184 69 B845
routine33
184 189 B8BD
routine34
184 221 B8DD
routine35
186 117 BA75
unknown55
186 119 BA77
TEMP_C
186 190 BABE
routine36
186 214 BAD6
DH_P
186 238 BAEE
Print string loop
186 251 BAFB
MPRINT
187 21 BB15
border graphic data
187 85 BB55
address of border graphics table
187 87 BB57
ZRDR_P
187 176 BBB0
wait for a key and set SEED based on how long no key is pressed
187 204 BBCC
wait for no key to be pressed and set SEED based on how long a key is pressed
187 231 BBE7
Move cursor on screen depending on direction key pressed
188 108 BC6C
cursor_up
188 114 BC72
cursor_down
188 125 BC7D
cursor_left
188 131 BC83
cursor_right
188 141 BC8D
GET_LC
188 148 BC94
cursor coordinates
188 150 BC96
routine41
189 165 BDA5
Print cursor sprite.
189 209 BDD1
Get address of entry in map_object_table.
189 231 BDE7
routine44
190 10 BE0A
GETCHR
190 33 BE21
routine45
190 82 BE52
routine46
190 148 BE94
Generate a random number from 0 to 9
190 178 BEB2
routine47
190 215 BED7
clear bottom of screen by printing 32 spaces on line 22
190 232 BEE8
Distance between to pairs of coordinates.
190 233 BEE9
unknown75
190 235 BEEB
unknown76
190 237 BEED
Difference between two x-coordinates.
190 238 BEEE
Difference between two y-coordinates.
190 239 BEEF
Calculate the distance between two pairs of coordinates.
191 55 BF37
sprite data for attack effect
191 183 BFB7
WOOP_D
192 215 C0D7
unknown06
192 216 C0D8
routine49
192 221 C0DD
routine50
193 35 C123
sprite data for dragon breath
194 67 C243
sound_effect_08
194 77 C24D
sound_effect_09
194 87 C257
sound_effect_10
194 97 C261
sound_effect_11
194 107 C26B
sound_effect_12
194 117 C275
sound_effect_13
194 127 C27F
sound_effect_14
194 137 C289
'Engaged to enemy' sound effect.
194 147 C293
sound_effect_16
194 157 C29D
S10
194 167 C2A7
sound_effect_17
194 177 C2B1
sound_effect_18
194 187 C2BB
sound_effect_19
194 197 C2C5
sound_effect_20
194 207 C2CF
sound_effect_21
194 217 C2D9
sound_effect_22
194 227 C2E3
sound_effect_23
194 232 C2E8
sound effect data
194 242 C2F2
port_FE_output_byte
194 243 C2F3
sound_effect_pointer
194 245 C2F5
Unused
194 246 C2F6
play_sound_effect_pointer
195 58 C33A
sound_playback_delay_routine
195 61 C33D
sprite data for cursors
195 157 C39D
unknown70
195 158 C39E
Flags used by display_object_info.
195 159 C39F
Object number in object address table.
195 160 C3A0
Display comma before spell property flag.
195 161 C3A1
unknown72
195 162 C3A2
offset within object data
195 163 C3A3
creature spell attribute message number
195 164 C3A4
CH_LAW
195 165 C3A5
Coordinates for printing creature attributes.
195 179 C3B3
Display information about the object at the current cursor position.
197 238 C5EE
CLS
197 252 C5FC
Print a spell property
198 18 C612
Print an attribute for a creature spell.
198 61 C63D
routine51
198 73 C649
X_ADD
198 75 C64B
unknown59
198 76 C64C
SORT
198 121 C679
unknown82
198 122 C67A
routine52
198 212 C6D4
THRTAB
199 3 C703
routine53
199 16 C710
routine54
199 139 C78B
TEMADD
199 141 C78D
routine55
199 187 C7BB
SRTCNT
199 188 C7BC
EN_AN
200 37 C825
routine56
200 88 C858
unknown60
200 89 C859
routine57
200 183 C8B7
AIM
200 185 C8B9
routine58
200 199 C8C7
routine59
201 85 C955
routine60
201 212 C9D4
routine61
202 22 CA16
unknown61
202 24 CA18
unknown62
202 25 CA19
routine62
202 124 CA7C
routine63
202 146 CA92
routine64
203 184 CBB8
unknown63
203 185 CBB9
routine65
203 199 CBC7
routine66
204 85 CC55
unknown64
204 86 CC56
FIREON
204 195 CCC3
routine67
205 42 CD2A
SPATAB
205 58 CD3A
SPADAT
205 60 CD3C
ADSPA
205 134 CD86
BUFPNT
205 136 CD88
string containing the direction keys
205 144 CD90
unknown65
205 146 CD92
routine68
205 170 CDAA
fill INBUF with $FF00
205 184 CDB8
routine69
205 192 CDC0
routine70
205 211 CDD3
game messages table 1
207 203 CFCB
game message strings 1
211 145 D391
temp_wizard_number ???
211 146 D392
Highlight objects belonging to temp_wizard_number.
211 240 D3F0
Unused
211 242 D3F2
INBUF
213 46 D52E
routine72
213 136 D588
routine73
213 236 D5EC
routine74
214 2 D602
routine75
214 81 D651
Unused
214 82 D652
routine76
214 134 D686
routine77
215 2 D702
routine78
215 50 D732
routine79
215 99 D763
routine80
215 166 D7A6
routine81
215 238 D7EE
routine82
216 45 D82D
routine83
216 135 D887
routine84
216 222 D8DE
routine85
217 8 D908
Font data.
223 8 DF08
Unused
223 12 DF0C
routine86
223 15 DF0F
print 8x8 char graphic for char in A at coordinates C,B
223 71 DF47
Unused
223 74 DF4A
C_DATA
223 76 DF4C
LC_POS
223 78 DF4E
P_CHAR
223 114 DF72
Update sprite for any objects which need to animate, and update counters.
224 5 E005
Temporary pointer to object table entry.
224 7 E007
Calculate Spectrum screen coordinates for an entry in map_object_table.
224 31 E01F
map_object_table
224 192 E0C0
map_animation_timeout_table
225 96 E160
map_animation_frame_table
226 0 E200
map_object_properties_table
226 160 E2A0
fifth_map_table
227 64 E340
sixth_map_table
227 224 E3E0
object address table
228 64 E440
object data table
234 57 EA39
wizard data
235 81 EB51
sprite data for creatures and objects
253 52 FD34
sprite data for wizard characters
254 52 FE34
Unused
254 86 FE56
switch to interrupt mode 2
254 93 FE5D
Unused
254 96 FE60
switch to interrupt mode 1
254 103 FE67
Unused
254 105 FE69
interrupt service routine
254 113 FE71
Unused
255 255 FFFF
Temporary casting chance.