Prev: 8271 Up: Map Next: 82AF
82A5: PRINT: copy the game's text to a ZX Printer, if there is one
Bit 6 of port $FB is low when a ZX Printer is attached; only then is TO_PRINTER set. NOPRINT, at WORD_NOPRINT, clears it. Both go back to the parser for the next word at SPECIAL_WORD_DONE.
PRINTER_ON 82A5 IN A,($FB) No printer: nothing changes
82A7 BIT 6,A
82A9 JR NZ,SPECIAL_WORD_DONE
82AB LD A,$01 Copy to the printer from now on
82AD JR SET_TO_PRINTER
Prev: 8271 Up: Map Next: 82AF