Prev: 8251 Up: Map Next: 82A5
8271: The special words, and what PARSE_SPECIAL does with each
Thirteen word references, then a handler for each, reached through JP (HL) -- so the handlers are code seeds. Among them are the game's own commands: SAVE and LOAD, which the playthrough never types, QUIT, PAUSE, HELP, SCORE, and PRINT and NOPRINT. Slot 0 holds no word -- the reference zero -- and that is what a quote mark comes through the tokeniser as: its handler is SPECIAL_QUOTE's. ONE's handler just goes on to the next word.
SPECIAL_WORDS 8271 DEFW $0000 NO WORD
8273 DEFW $004E ALL
8275 DEFW $0245 EXCEPT
8277 DEFW $039E IT
8279 DEFW $04AD ONE
827B DEFW $04FB PRINT
827D DEFW $0479 NOPRINT
827F DEFW $03EE LOAD
8281 DEFW $0580 SAVE
8283 DEFW $0518 QUIT
8285 DEFW $031E HELP
8287 DEFW $058A SCORE
8289 DEFW $04D8 PAUSE
828B DEFW SPECIAL_QUOTE Handler for SLOT 0
828D DEFW WORD_ALL Handler for ALL
828F DEFW WORD_EXCEPT Handler for EXCEPT
8291 DEFW WORD_IT Handler for IT
8293 DEFW NEW_NOUN_PHRASE Handler for ONE
8295 DEFW PRINTER_ON Handler for PRINT
8297 DEFW WORD_NOPRINT Handler for NOPRINT
8299 DEFW DO_LOAD Handler for LOAD
829B DEFW DO_SAVE Handler for SAVE
829D DEFW DO_QUIT Handler for QUIT
829F DEFW DO_HELP Handler for HELP
82A1 DEFW DO_SCORE Handler for SCORE
82A3 DEFW DO_PAUSE Handler for PAUSE
Prev: 8251 Up: Map Next: 82A5