Page Byte Address Description
91 0 23296
Current game state (saved and loaded)
92 0 23552
System variables
97 168 25000
Buffer holding what user has entered
97 231 25063
Quill start point
98 7 25095
Error handling
98 53 25141
Start game
98 89 25177
Initialise game
98 143 25231
Describe current location
98 212 25300
Describe lit location
99 24 25368
Process Status table
99 34 25378
Start of turn
99 174 25518
Noun check
99 248 25592
Process Response table
100 40 25640
Does process table entry match words entered?
100 72 25672
Execute CondActs
100 112 25712
AT condition
100 120 25720
NOTAT condition
100 127 25727
ATGT condition
100 134 25734
ATLT condition
100 143 25743
PRESENT condition
100 155 25755
ABSENT condition
100 167 25767
WORN condition
100 174 25774
NOTWORN condition
100 181 25781
CARR condition
100 188 25788
NOTCARR condition
100 195 25795
CHANCE condition
100 207 25807
ZERO condition
100 213 25813
NOTZERO condition
100 222 25822
EQ condition
100 229 25829
GT condition
100 236 25836
LT condition
100 245 25845
Addresses of condition routines
101 21 25877
Process actions
101 61 25917
INVEN action
101 149 26005
Display 'worn' message
101 166 26022
Display 'Nothing at all' message if appropriate
101 177 26033
DESC action
101 181 26037
QUIT action
101 211 26067
END action
101 253 26109
Print message and fall through to DONE action
102 0 26112
DONE action
102 7 26119
OK action
102 12 26124
ANYKEY action
102 40 26152
SAVE action
102 80 26192
LOAD action
102 100 26212
TURNS action
102 149 26261
SCORE action
102 170 26282
CLS action
102 181 26293
DROPALL action
102 205 26317
AUTOG action
102 213 26325
ATUOD action
102 222 26334
AUTOW action
102 231 26343
AUTOR action
102 239 26351
PAUSE action
102 246 26358
PAPER action
102 255 26367
INK action
103 16 26384
BORDER action
103 22 26390
GOTO action
103 28 26396
MESSAGE action
103 46 26414
REMOVE action
103 60 26428
GET action
103 101 26469
DROP action
103 138 26506
WEAR action
103 161 26529
DESTROY action .
103 174 26542
CREATE action .
103 183 26551
SWAP action .
103 200 26568
PLACE action .
103 208 26576
SET action .
103 212 26580
CLEAR action .
103 219 26587
PLUS action .
103 228 26596
MINUS action .
103 239 26607
LET action .
103 244 26612
BEEP action
104 28 26652
Addresses of action routines
104 102 26726
Lookup Word
104 174 26798
Detect object for 'AUTO' actions
104 221 26845
Look up system message
104 234 26858
Print system message followed by newline
104 239 26863
Print system message (no newline)
104 244 26868
Print stuff to screen
105 28 26908
Print Newline
105 41 26921
Keyboard processing loop
105 133 27013
Newline key pressed
105 151 27031
Store charcter entered
105 162 27042
Delete character
105 176 27056
Beep on keypress
105 192 27072
Wait for keypress
105 206 27086
Random number generator
105 237 27117
Open screen channel
105 241 27121
Open printer channel
105 245 27125
Open channel 253
105 250 27130
Set default colours
106 15 27151
Dump flags and location information to channel 253
106 54 27190
Message <space><backspace><paper blue><space><backspace><paper black>
106 64 27200
Message <inverse 1>'>'<inverse 0><paper blue><space><backspace><paper black>
106 76 27212
Message: Database full
106 90 27226
Message: Limit reached
106 104 27240
Message: BREAK
106 218 27354
Address of routine to call on exit
106 220 27356
User-defined graphics
107 133 27525
Colour table
107 146 27538
Base of lookup table is here
107 171 27563
Unknown data
107 229 27621
Main adventure data starts here
249 220 63964
Addresses of pictures
250 110 64110
Picture flags table
250 181 64181
Data TBD
250 184 64184
Address of picture table
250 186 64186
Address of picture flags
250 188 64188
Address TBD
250 190 64190
Number of pictures in database
250 191 64191
Data block at 64191
250 226 64226
Current picture scaling factor
250 227 64227
Reset 'Picture Shown' flags
250 245 64245
Draw location graphic, if present
251 38 64294
Clear screen before drawing picture
251 114 64370
Draw picture
251 146 64402
Wait for keypress
251 189 64445
Next graphic instruction (skip 4 bytes)
251 193 64449
Next graphic instruction (skip 3 bytes)
251 197 64453
Next graphic instruction (skip 2 bytes)
251 201 64457
Next graphic instruction (skip 1 byte)
251 210 64466
Process drawing instruction
251 231 64487
Data block at 64487 TBD
251 239 64495
Addresses of graphics routines
251 255 64511
PLOT routine
252 13 64525
LINE routine
252 32 64544
Draw a line
252 80 64592
Set inverse and over bits
252 108 64620
FILL routine
253 6 64774
Convert pixel to screen address
253 18 64786
Pixel conversion table
253 26 64794
BLOCK routine
253 91 64859
GOSUB routine
253 159 64927
FREEHAND routine
253 223 64991
Lookup table for FREEHAND
253 239 65007
Set paper or bright values
254 5 65029
Set ink or flash values
254 18 65042
END of picture routine
254 36 65060
Do some shading
254 146 65170
Perform a shade
254 172 65196
Retrieve screen address of co-ordinates
254 188 65212
TBD shading
254 243 65267
TBD shading
254 251 65275
TBD shading
255 6 65286
SHADE routine
255 26 65306
Defines shade routine used if bit 4 of instruction is set
255 29 65309
Set shade routine to alternate version
255 43 65323
Defines shade routine used if bit 4 of instruction is clear
255 46 65326
Calculate new co-ordinates using relative offsets
255 92 65372
Get offsets
255 106 65386
Scale both X and Y offsets
255 124 65404
Applies scaling to offset value