![]() |
Routines |
| Prev: 33393 | Up: Map | Next: 33459 |
|
Turns the printer on when bit 6 of port 251 is clear. Command_PRINT_NOPRINT is NOPRINT, which turns it off. Reached through the special-key table at 33393, dispatched from Command_MatchASpecialKey.
|
||||
| Command_PRINT | 33445 | IN A,(251) | Read the printer port 251. | |
| 33447 | BIT 6,A | Test bit 6. | ||
| 33449 | JR NZ,CommandDispatchAControl | Jump to CommandDispatchAControl if bit 6 is set. | ||
| 33451 | LD A,1 | Take 1. | ||
| 33453 | JR Command_PRINT_0 | Jump to Command_PRINT_0 to store the flag. | ||
|
Reached through the special-key table at 33393, dispatched from Command_MatchASpecialKey.
|
||||
| Command_PRINT_NOPRINT | 33455 | XOR A | Clear the accumulator. | |
| Command_PRINT_0 | 33456 | LD (46834),A | Write it to the printer-on flag at 46834. | |
| Prev: 33393 | Up: Map | Next: 33459 |