![]() |
Routines |
| Prev: 8271 | Up: Map | Next: 82B3 |
|
Turns the printer on when bit 6 of port FB is clear. Command_PRINT_NOPRINT is NOPRINT, which turns it off. Reached through the special-key table at 8271, dispatched from Command_MatchASpecialKey.
|
||||
| Command_PRINT | 82A5 | IN A,($FB) | Read the printer port FB. | |
| 82A7 | BIT 6,A | Test bit 6. | ||
| 82A9 | JR NZ,CommandDispatchAControl | Jump to CommandDispatchAControl if bit 6 is set. | ||
| 82AB | LD A,$01 | Take 01. | ||
| 82AD | JR Command_PRINT_0 | Jump to Command_PRINT_0 to store the flag. | ||
|
Reached through the special-key table at 8271, dispatched from Command_MatchASpecialKey.
|
||||
| Command_PRINT_NOPRINT | 82AF | XOR A | Clear the accumulator. | |
| Command_PRINT_0 | 82B0 | LD ($B6F2),A | Write it to the printer-on flag at B6F2. | |
| Prev: 8271 | Up: Map | Next: 82B3 |