![]() |
Routines |
| Prev: 60646 | Up: Map | Next: 60688 |
|
Used by the routines at Display_High_Score_Entry_Screen and Attract_Mode_Loop.
Reads keyboard row 253 (A-S-D-F-G) during the high score display loops. Forces the upper three bits high and checks for the S key alone. If S is the only key held, discards the caller's return address and jumps to the tape load continuation handler at PlayerDeath_TapeLoadContinue with the header parameters from 50429 and 50430. Returns normally if no matching key is detected.
|
||||||||||||||||||||
| Check_S_Key_During_Display | 60667 | LD A,253 | Read from the keyboard;
|
|||||||||||||||||
| 60669 | IN A,(254) | |||||||||||||||||||
| 60671 | OR %11100000 | Force bits 5-7 high. | ||||||||||||||||||
| 60673 | CP 253 | Return if the S key is not the only key pressed. | ||||||||||||||||||
| 60675 | RET NZ | |||||||||||||||||||
| 60676 | POP HL | Discard the caller's return address from the stack. | ||||||||||||||||||
| 60677 | LD A,(50429) | Load the tape header byte from 50429 into B. | ||||||||||||||||||
| 60680 | LD B,A | |||||||||||||||||||
| 60681 | LD A,(50430) | Load the tape header byte from 50430 into E. | ||||||||||||||||||
| 60684 | LD E,A | |||||||||||||||||||
| 60685 | JP PlayerDeath_TapeLoadContinue | Jump to the tape load continuation at PlayerDeath_TapeLoadContinue. | ||||||||||||||||||
| Prev: 60646 | Up: Map | Next: 60688 |