Address Description
7D00
Start.
7D04
routine01
8300
Get address of the wizard object data of the current player.
8324
routine02
834B
routine03
8357
routine04
836A
MagicArmour spell.
839C
MagicSword spell.
83D0
MagicKnife spell.
8404
MagicShield spell.
8438
MagicWings spell.
846A
MagicBow spell.
84B0
ChaosOrLawSpell.
84C0
ShadowForm spell.
84F7
Subversion spell.
85F6
RaiseDead spell.
86C3
RAISDO
86EF
Turmoil spell.
8741
TUR_DO
87EF
Print a message from game messages table 2.
89B0
CHONUM
89F9
The main game routine.
8F8B
ATTRDO
8F9A
TREPUT
904B
Generate a semi-random number.
907B
NKEY2
90F0
PR_CHR
9168
CAST_S
92AA
Calculate address of spells for current player.
92BE
user selected "Examine board" from options in CAST_S routine
92F9
Calculate the casting chance of the current spell.
9385
Display list of possessed spells.
94A7
Display information about the selected spell.
95B8
Get player controlled flag from WIZCON table
95C7
routine06
967A
Display wizard name, spell being cast, and spell casting range
96D1
routine07
96E6
PAUSER
96F3
routine08
9760
routine09
9786
routine10
97A3
routine11
97D1
routine12
980E
OFBORD
981A
routine13
98DB
routine14
98F1
routine15
9941
routine16
9975
CreatureCast spell
99F1
Disbelieve spell
9ADD
Trees&Castles spell
9B76
Wall spell
9B85
routine17
9BB3
routine18
9C0F
routine19
9C59
Lightning spell
9DE0
DarkPowerEtc spell
9F50
INTERO
A173
WALKYS
A17E
GETPLA
A18A
routine20
AC36
routine21
ACC6
routine22
ACED
routine23
AECC
COUNTL
B0A8
routine24
B168
routine25
B375
routine26
B3C9
WIZKIL
B60D
routine27
B626
routine28
B746
routine29
B755
test_pixel
B7D3
routine30
B7FD
routine31
B81C
routine32
B845
routine33
B8BD
routine34
B8DD
routine35
BA77
TEMP_C
BABE
routine36
BAD6
DH_P
BAEE
Print string loop
BAFB
MPRINT
BB57
ZRDR_P
BBB0
wait for a key and set SEED based on how long no key is pressed
BBCC
wait for no key to be pressed and set SEED based on how long a key is pressed
BBE7
Move cursor on screen depending on direction key pressed
BC6C
cursor_up
BC72
cursor_down
BC7D
cursor_left
BC83
cursor_right
BC8D
GET_LC
BC96
routine41
BDA5
Print cursor sprite.
BDD1
Get address of entry in map_object_table.
BDE7
routine44
BE0A
GETCHR
BE21
routine45
BE52
routine46
BE94
Generate a random number from 0 to 9
BEB2
routine47
BED7
clear bottom of screen by printing 32 spaces on line 22
BEEF
Calculate the distance between two pairs of coordinates.
C0D8
routine49
C0DD
routine50
C2F6
play_sound_effect_pointer
C33A
sound_playback_delay_routine
C3B3
Display information about the object at the current cursor position.
C5EE
CLS
C5FC
Print a spell property
C612
Print an attribute for a creature spell.
C63D
routine51
C64C
SORT
C67A
routine52
C703
routine53
C710
routine54
C78D
routine55
C7BC
EN_AN
C825
routine56
C859
routine57
C8B9
routine58
C8C7
routine59
C955
routine60
C9D4
routine61
CA19
routine62
CA7C
routine63
CA92
routine64
CBB9
routine65
CBC7
routine66
CC56
FIREON
CCC3
routine67
CD3C
ADSPA
CD92
routine68
CDAA
fill INBUF with $FF00
CDB8
routine69
CDC0
routine70
D392
Highlight objects belonging to temp_wizard_number.
D52E
routine72
D588
routine73
D5EC
routine74
D602
routine75
D652
routine76
D686
routine77
D702
routine78
D732
routine79
D763
routine80
D7A6
routine81
D7EE
routine82
D82D
routine83
D887
routine84
D8DE
routine85
DF0C
routine86
DF0F
print 8x8 char graphic for char in A at coordinates C,B
DF4E
P_CHAR
DF72
Update sprite for any objects which need to animate, and update counters.
E007
Calculate Spectrum screen coordinates for an entry in map_object_table.
FE56
switch to interrupt mode 2
FE60
switch to interrupt mode 1
FE69
interrupt service routine