Prev: 07318 Up: Map Next: 07387
07358: THE 'COMMAND CLASS 9' ROUTINE
The address of this routine is derived from an offset found in the command class table.
This routine is used by PLOT, DRAW and CIRCLE statements in order to specify the default conditions of 'FLASH 8; BRIGHT 8; PAPER 8;' that are set up before any embedded colour items are considered.
CLASS_09 07358 CALL SYNTAX_Z Jump forward if checking syntax.
07361 JR Z,CL_09_1
07363 RES 0,(IY+2) Signal 'main screen' (reset bit 0 of TV-FLAG).
07367 CALL TEMPS Set the temporary colours for the main screen.
07370 LD HL,23696 This is MASK-T.
07373 LD A,(HL) Fetch its present value but keep only its INK part 'unmasked'.
07374 OR 248
07376 LD (HL),A Restore the value which now indicates 'FLASH 8; BRIGHT 8; PAPER 8;'.
07377 RES 6,(IY+87) Also ensure NOT 'PAPER 9' (reset bit 6 of P-FLAG).
07381 RST 24 Fetch the present character before continuing to deal with embedded colour items.
CL_09_1 07382 CALL CO_TEMP_2 Deal with the locally dominant colour items.
07385 JR CLASS_08 Now get the first two operands for PLOT, DRAW or CIRCLE.
Prev: 07318 Up: Map Next: 07387