![]() |
Routines |
| Prev: 40570 | Up: Map | Next: 40693 |
|
Used by the routines at CheckPause and CheckPauseAndSilence.
Tests the SPACE and CAPS SHIFT keys.
|
||||||||
| ReadPauseKeys | 40675 | LD A,127 | Select the keyboard row with SPACE. | |||||
| 40677 | OUT (253),A | Put the row on the address lines. | ||||||
| 40679 | IN A,(254) | Read the keyboard. | ||||||
| 40681 | AND %00000001 | Keep the bit for SPACE. | ||||||
| 40683 | RET Z | Return if SPACE is pressed. | ||||||
| 40684 | LD A,254 | Select the keyboard row with CAPS SHIFT. | ||||||
| 40686 | OUT (253),A | Put the row on the address lines. | ||||||
| 40688 | IN A,(254) | Read the keyboard. | ||||||
| 40690 | AND %00000001 | Keep the bit for CAPS SHIFT. | ||||||
| 40692 | RET | Return. | ||||||
| Prev: 40570 | Up: Map | Next: 40693 |