Prev: 36434 Up: Map Next: 36472
36453: Print Handler: Bright
Set BRIGHT parameter handler. Called on the byte immediately following a 19 (BRIGHT) control code. Sets or clears bit 6 of the attribute byte at 32772.
PrintHandler_Bright 36453 LD B,2 B=2 (mask limit: parameter is 0 or 1).
36455 CALL PrintHandler_MaskParam Call PrintHandler_MaskParam to reset PrintState_Handler and mask B to 0 or 1.
36458 BIT 0,B Test bit 0 of the masked parameter.
36460 JR Z,PrintHandler_Bright_Off If the parameter is 0 jump to PrintHandler_Bright_Off to clear BRIGHT.
36462 SET 6,(IX+4) Set the BRIGHT bit (6) of the attribute byte at 32772.
36466 RET Return.
Handle turning BRIGHT off.
PrintHandler_Bright_Off 36467 RES 6,(IX+4) Clear the BRIGHT bit (6) of the attribute byte at 32772.
36471 RET Return.
Prev: 36434 Up: Map Next: 36472