Data
Page
Byte
Address
Label
Description
92
0
5C00
SYSTEM_VARIABLES
The system variables
92
177
5CB1
NMIADD_HIGH
The rest of the system variables
92
203
5CCB
BASIC_PROGRAM
The BASIC loader, and the game's stack
94
4
5E04
TOWN
The town map
98
4
6204
DRAW_ORDER
The drawing order
98
164
62A4
BUILDING_TABLE
Building table
99
52
6334
BOX_TABLE
Box table
99
124
637C
BOXES0
Boxes for cell type 0
99
125
637D
BOXES1
Boxes for cell types 1-2
99
142
638E
BOXES7
Boxes for cell types 7, 15, 23
99
167
63A7
BOXES4
Boxes for cell types 4, 12, 20
99
188
63BC
BOXES5
Boxes for cell types 5, 13, 21
99
209
63D1
BOXES6
Boxes for cell types 6, 14, 22
99
230
63E6
BOXES3
Boxes for cell types 3, 11, 19, 29, 31
99
251
63FB
BOXES8
Boxes for cell types 8, 16, 24
100
20
6414
BOXES9
Boxes for cell types 9, 17, 25
100
53
6435
BOXES18
Boxes for cell type 18
100
78
644E
BOXES10
Boxes for cell type 10
100
143
648F
BOXES26
Boxes for cell types 26, 28
100
168
64A8
BOXES27
Boxes for cell type 27
100
189
64BD
BOXES30
Boxes for cell type 30
100
218
64DA
BOXES32
Boxes for cell type 32
100
247
64F7
BOXES33
Boxes for cell type 33
101
16
6510
BOXES34
Boxes for cell type 34
101
41
6529
BOXES35
Boxes for cell type 35
101
66
6542
TILE_EDGES
The edge picture under each tile
101
118
6576
BUILDING14
Building for cell type 7
101
150
6596
BUILDING15
Building for cell type 7 turned round
101
182
65B6
BUILDING22
Building for cell type 11
101
214
65D6
BUILDING23
Building for cell type 11 turned round
101
246
65F6
BUILDING70
Building for cell type 35
102
22
6616
BUILDING71
Building for cell type 35 turned round
102
54
6636
BUILDING68
Building for cell type 34
102
86
6656
BUILDING69
Building for cell type 34 turned round
102
118
6676
BUILDING66
Building for cell type 33
102
150
6696
BUILDING67
Building for cell type 33 turned round
102
182
66B6
BUILDING64
Building for cell type 32
102
214
66D6
BUILDING65
Building for cell type 32 turned round
102
246
66F6
BUILDING62
Building for cell type 31
103
22
6716
BUILDING63
Building for cell type 31 turned round
103
54
6736
BUILDING60
Building for cell type 30
103
86
6756
BUILDING61
Building for cell type 30 turned round
103
118
6776
BUILDING58
Building for cell type 29
103
150
6796
BUILDING59
Building for cell type 29 turned round
103
182
67B6
BUILDING56
Building for cell type 28
103
214
67D6
BUILDING57
Building for cell type 28 turned round
103
246
67F6
BUILDING8
Building for cell type 4
104
22
6816
BUILDING9
Building for cell type 4 turned round
104
54
6836
BUILDING10
Building for cell type 5
104
86
6856
BUILDING11
Building for cell type 5 turned round
104
118
6876
BUILDING12
Building for cell type 6
104
150
6896
BUILDING13
Building for cell type 6 turned round
104
182
68B6
BUILDING6
Building for cell type 3
104
214
68D6
BUILDING7
Building for cell type 3 turned round
104
246
68F6
BUILDING16
Building for cell type 8, type 8 turned round
105
22
6916
BUILDING36
Building for cell type 18, type 18 turned round
105
54
6936
BUILDING20
Building for cell type 10, type 10 turned round
105
86
6956
BUILDING52
Building for cell type 26
105
118
6976
BUILDING53
Building for cell type 26 turned round
105
150
6996
BUILDING4
Building for cell type 2, type 2 turned round
105
182
69B6
BUILDING2
Building for cell type 1, type 1 turned round
105
214
69D6
BUILDING30
Building for cell type 15, type 15 turned round
105
246
69F6
BUILDING24
Building for cell type 12
106
22
6A16
BUILDING25
Building for cell type 12 turned round
106
54
6A36
BUILDING26
Building for cell type 13
106
86
6A56
BUILDING27
Building for cell type 13 turned round
106
118
6A76
BUILDING28
Building for cell type 14
106
150
6A96
BUILDING29
Building for cell type 14 turned round
106
182
6AB6
BUILDING54
Building for cell type 27
106
214
6AD6
BUILDING55
Building for cell type 27 turned round
106
246
6AF6
BUILDING32
Building for cell type 16, type 16 turned round
107
22
6B16
BUILDING34
Building for cell type 17, type 17 turned round
107
54
6B36
BUILDING18
Building for cell type 9, type 9 turned round
107
86
6B56
BUILDING40
Building for cell type 20
107
118
6B76
BUILDING41
Building for cell type 20 turned round
107
150
6B96
BUILDING38
Building for cell type 19
107
182
6BB6
BUILDING39
Building for cell type 19 turned round
107
214
6BD6
BUILDING44
Building for cell type 22
107
246
6BF6
BUILDING45
Building for cell type 22 turned round
108
22
6C16
BUILDING42
Building for cell type 21
108
54
6C36
BUILDING43
Building for cell type 21 turned round
108
86
6C56
BUILDING50
Building for cell type 25, type 25 turned round
108
118
6C76
BUILDING48
Building for cell type 24, type 24 turned round
108
150
6C96
BUILDING46
Building for cell type 23, type 23 turned round
108
182
6CB6
PANEL_CHARS
The panel's frame
108
222
6CDE
FONT
The font
110
54
6E36
TILE_TABLE
Tile table
110
158
6E9E
GRAPHICS
Graphic table
111
218
6FDA
SPRITE0
Sprite for graphics 0-1, 23, 31
111
220
6FDC
EDGE_TABLE
Edge table
111
228
6FE4
EDGE0
Edges 0-1
111
249
6FF9
EDGE2
Edge 2
112
14
700E
EDGE3
Edge 3
112
23
7017
SPRITE152
Sprite for graphic 152
112
233
70E9
SPRITE153
Sprite for graphic 153
113
63
713F
SPRITE154
Sprite for graphic 154
113
161
71A1
SPRITE155
Sprite for graphic 155
114
19
7213
SPRITE156
Sprite for graphic 156
114
101
7265
SPRITE157
Sprite for graphic 157
114
151
7297
SPRITE2
Sprite for graphic 2
115
49
7331
SPRITE136
Sprite for graphic 136
115
219
73DB
SPRITE137
Sprite for graphics 137, 139
116
175
74AF
SPRITE138
Sprite for graphic 138
117
113
7571
ICONS
The carried things' pictures
118
145
7691
SPRITE118
Sprite for graphic 118
119
53
7735
SPRITE119
Sprite for graphic 119
119
223
77DF
SPRITE122
Sprite for graphic 122
120
125
787D
SPRITE123
Sprite for graphic 123
121
27
791B
SPRITE126
Sprite for graphic 126
121
197
79C5
SPRITE127
Sprite for graphic 127
122
111
7A6F
PANEL_ICONS
The compass, the headings and a life
123
47
7B2F
SPRITE12
Sprite for graphics 12, 131-132
123
113
7B71
SPRITE13
Sprite for graphics 13, 130, 133
123
179
7BB3
SPRITE14
Sprite for graphics 14, 129, 134
123
245
7BF5
SPRITE15
Sprite for graphics 15, 128, 135
124
55
7C37
SPRITE3
Sprite for graphic 3
124
121
7C79
SPRITE106
Sprite for graphics 106-107
125
65
7D41
SPRITE96
Sprite for graphics 96, 98, 144
126
69
7E45
SPRITE97
Sprite for graphics 97, 99, 145
127
73
7F49
SPRITE5
Sprite for graphics 5, 9
127
165
7FA5
SPRITE4
Sprite for graphics 4, 8
128
25
8019
SPRITE7
Sprite for graphics 7, 11
128
117
8075
SPRITE6
Sprite for graphics 6, 10
129
13
810D
SPRITE108
Sprite for graphics 108, 150
129
219
81DB
SPRITE114
Sprite for graphic 114
130
157
829D
SPRITE115
Sprite for graphic 115
131
89
8359
SPRITE48
Sprite for graphics 48, 80, 140
131
143
838F
SPRITE49
Sprite for graphics 49, 81
131
197
83C5
SPRITE50
Sprite for graphics 50, 82
131
251
83FB
SPRITE51
Sprite for graphics 51, 83
132
49
8431
SPRITE52
Sprite for graphics 52, 84, 141
132
115
8473
SPRITE53
Sprite for graphics 53, 55, 85, 87
132
181
84B5
SPRITE54
Sprite for graphics 54, 86
132
247
84F7
SPRITE56
Sprite for graphics 56, 88, 142
133
57
8539
SPRITE57
Sprite for graphics 57, 89
133
123
857B
SPRITE58
Sprite for graphics 58, 90
133
189
85BD
SPRITE59
Sprite for graphics 59, 91
133
255
85FF
SPRITE60
Sprite for graphics 60, 92, 143
134
65
8641
SPRITE61
Sprite for graphics 61, 93
134
131
8683
SPRITE62
Sprite for graphics 62, 94
134
197
86C5
SPRITE63
Sprite for graphics 63, 95
135
7
8707
SPRITE109
Sprite for graphics 109, 151
135
225
87E1
SPRITE110
Sprite for graphic 110
136
187
88BB
SPRITE111
Sprite for graphic 111
137
149
8995
SPRITE104
Sprite for graphics 104-105, 148-149
138
99
8A63
SPRITE72
Sprite for graphic 72
138
221
8ADD
SPRITE73
Sprite for graphics 73, 75
139
87
8B57
SPRITE74
Sprite for graphic 74
139
203
8BCB
SPRITE64
Sprite for graphic 64
140
51
8C33
SPRITE65
Sprite for graphics 65, 67
140
155
8C9B
SPRITE66
Sprite for graphic 66
141
3
8D03
SPRITE77
Sprite for graphics 77, 79
141
141
8D8D
SPRITE78
Sprite for graphic 78
142
7
8E07
SPRITE76
Sprite for graphic 76
142
145
8E91
SPRITE68
Sprite for graphic 68
143
5
8F05
SPRITE69
Sprite for graphics 69, 71
143
127
8F7F
SPRITE70
Sprite for graphic 70
143
255
8FFF
SPRITE124
Sprite for graphic 124
144
169
90A9
SPRITE125
Sprite for graphic 125
145
83
9153
SPRITE121
Sprite for graphic 121
145
241
91F1
SPRITE120
Sprite for graphic 120
146
143
928F
SPRITE117
Sprite for graphic 117
147
63
933F
SPRITE116
Sprite for graphic 116
147
239
93EF
SPRITE112
Sprite for graphic 112
148
171
94AB
SPRITE113
Sprite for graphic 113
149
103
9567
SPRITE100
Sprite for graphics 100-101, 146-147
150
53
9635
SPRITE102
Sprite for graphics 102-103
151
3
9703
SPRITE33
Sprite for graphics 33, 37
151
149
9795
SPRITE42
Sprite for graphics 42, 44
152
45
982D
SPRITE38
Sprite for graphic 38
152
191
98BF
SPRITE32
Sprite for graphic 32
153
81
9951
SPRITE35
Sprite for graphic 35
153
227
99E3
SPRITE34
Sprite for graphics 34, 36
154
117
9A75
SPRITE43
Sprite for graphic 43
155
13
9B0D
SPRITE40
Sprite for graphic 40
155
165
9BA5
SPRITE41
Sprite for graphics 41, 45
156
61
9C3D
SPRITE39
Sprite for graphic 39
156
213
9CD5
SPRITE46
Sprite for graphic 46
157
109
9D6D
SPRITE47
Sprite for graphic 47
158
5
9E05
SPRITE30
Sprite for graphic 30
158
157
9E9D
SPRITE22
Sprite for graphic 22
159
47
9F2F
SPRITE19
Sprite for graphic 19
159
145
9F91
SPRITE18
Sprite for graphics 18, 20
159
243
9FF3
SPRITE17
Sprite for graphics 17, 21
160
85
A055
SPRITE16
Sprite for graphic 16
160
183
A0B7
SPRITE27
Sprite for graphic 27
161
31
A11F
SPRITE26
Sprite for graphics 26, 28
161
135
A187
SPRITE25
Sprite for graphics 25, 29
161
239
A1EF
SPRITE24
Sprite for graphic 24
162
87
A257
TILE0
Tiles 0, 42
162
200
A2C8
TILE1
Tile 1
163
57
A339
TILE2
Tile 2
163
170
A3AA
TILE3
Tile 3
164
27
A41B
TILE47
Tile 47
164
156
A49C
TILE48
Tile 48
165
29
A51D
TILE4
Tile 4
165
142
A58E
TILE5
Tile 5
166
15
A60F
TILE6
Tile 6
166
144
A690
TILE7
Tile 7
167
17
A711
TILE8
Tile 8
167
146
A792
TILE9
Tile 9
168
19
A813
TILE10
Tile 10
168
148
A894
TILE11
Tile 11
169
21
A915
TILE12
Tile 12
169
150
A996
TILE13
Tile 13
170
23
AA17
TILE14
Tile 14
170
152
AA98
TILE15
Tile 15
171
25
AB19
TILE16
Tile 16
171
154
AB9A
TILE17
Tile 17
172
27
AC1B
TILE18
Tile 18
172
156
AC9C
TILE19
Tile 19
173
29
AD1D
TILE20
Tile 20
173
158
AD9E
TILE22
Tile 22
174
15
AE0F
TILE21
Tile 21
174
144
AE90
TILE24
Tile 24
175
17
AF11
TILE25
Tile 25
175
146
AF92
TILE50
Tile 50
176
19
B013
TILE51
Tile 51
176
148
B094
TILE23
Tile 23
177
21
B115
TILE26
Tile 26
177
150
B196
TILE27
Tile 27
178
23
B217
TILE28
Tile 28
178
152
B298
TILE30
Tile 30
179
25
B319
TILE29
Tile 29
179
154
B39A
TILE31
Tile 31
180
11
B40B
TILE32
Tile 32
180
140
B48C
TILE33
Tile 33
180
253
B4FD
TILE34
Tile 34
181
110
B56E
TILE35
Tile 35
181
223
B5DF
TILE36
Tile 36
182
80
B650
TILE37
Tile 37
182
193
B6C1
TILE38
Tile 38
183
50
B732
TILE39
Tile 39
183
163
B7A3
TILE40
Tile 40
184
20
B814
TILE41
Tile 41
184
133
B885
TILE43
Tile 43
185
6
B906
TILE44
Tile 44
185
135
B987
TILE45
Tile 45
186
8
BA08
TILE46
Tile 46
186
137
BA89
TILE49
Tile 49
187
10
BB0A
BORDER_CHARS
The border's characters
192
101
C065
KNIGHT_COLOURS
The knight's colour by his hits
192
209
C0D1
MONSTER_HIT_TABLE
What an antibody does to a monster of graphics 112-127
194
196
C2C4
HEADING_ORDER
The heading's characters, in the order printed
194
223
C2DF
COMPASS_ORDER
The compass's characters, a block of two by two at a time
195
77
C34D
BLIP_PITCHES
Pitches for the blips: the creature's, and four for the villains that are never read
195
216
C3D8
EFFECT_TABLE
The sound effects
197
47
C52F
THING_COLOURS
Colours of the carried things and of the destroyed villains
198
185
C6B9
NOTES
The notes: two loop counts and a length for each
199
112
C770
TUNE_MENU
Tune: the menu's tune
199
244
C7F4
TUNE_CONTROL_CHOSEN
Tune: a control method chosen
199
248
C7F8
TUNE_GAME_START
Tune: a game starting
200
3
C803
TUNE_GAME_OVER
Tune: game over
200
26
C81A
TUNE_ENDING
Tune: the end of the ending
200
57
C839
TUNE_NEW_LIFE
Tune: a new life
201
98
C962
MENU_COLOURS
The menu: colours, places and text
202
229
CAE5
FRAME_PIECES
The layout of the frames, in the border's characters
204
46
CC2E
LIFE_ICON_CODES
The codes of a life's picture
204
54
CC36
START_RECORDS
The knight's two records at a new life
204
228
CCE4
ENDING_RECORDS
The ending's ten records
206
121
CE79
MONSTER_RECORD
What a monster starts as
208
160
D0A0
DEPTH_TABLE
Routines for the depth sort's outcomes
212
239
D4EF
TILE_MASKS
Masks for a shifted tile's first byte
213
153
D599
UPDATES
Update routines, by graphic
216
215
D8D7
OBJECT_RECORD
What each of the four objects starts as
217
50
D932
VILLAIN_RECORD
What each of the four villains starts as
220
113
DC71
COAST_TABLE
Routines for coming to a stop, by facing (
KNIGHT_WALKS
)
220
220
DCDC
FACING_LOOKS
How the knight looks for each facing
221
106
DD6A
TURN_TO_KNIGHT_TABLE
Routines to turn a chaser towards the knight, by where he is (
STEER
)
222
106
DE6A
MOVE_TABLE
Routines to trim a step at the walls, by facing (
MOVE_CLIPPED
)
229
196
E5C4
BUFFER
The screen buffer: the play area's pixels
230
0
E600
LOADER_LEFTOVER
The tail of the loaded block, left behind by the move (inside the buffer)
232
0
E800
BUFFER_REST
The rest of the screen buffer
240
68
F044
ATTR_BUFFER
The play area's attributes
241
148
F194
ATTR_SPILL
One byte past the attribute buffer
242
0
F200
MIRROR_TABLES
Lookup tables for drawing mirrored tiles at an even pixel
249
0
F900
REVERSE_TABLE
Each byte with its bits in reverse order
250
0
FA00
SHIFT_TABLES
Lookup tables for drawing at an even pixel