![]() |
Routines |
| Prev: 8E52 | Up: Map | Next: 8E78 |
|
Set BRIGHT parameter handler. Called on the byte immediately following a 13 (BRIGHT) control code. Sets or clears bit 6 of the attribute byte at 8004.
|
||||
| PrintHandler_Bright | 8E65 | LD B,$02 | B=02 (mask limit: parameter is 00 or 01). | |
| 8E67 | CALL PrintHandler_MaskParam | Call PrintHandler_MaskParam to reset PrintState_Handler and mask B to 00 or 01. | ||
| 8E6A | BIT 0,B | Test bit 0 of the masked parameter. | ||
| 8E6C | JR Z,PrintHandler_Bright_Off | If the parameter is 00 jump to PrintHandler_Bright_Off to clear BRIGHT. | ||
| 8E6E | SET 6,(IX+$04) | Set the BRIGHT bit (6) of the attribute byte at 8004. | ||
| 8E72 | RET | Return. | ||
|
Handle turning BRIGHT off.
|
||||
| PrintHandler_Bright_Off | 8E73 | RES 6,(IX+$04) | Clear the BRIGHT bit (6) of the attribute byte at 8004. | |
| 8E77 | RET | Return. | ||
| Prev: 8E52 | Up: Map | Next: 8E78 |