![]() |
Routines |
| Prev: 33706 | Up: Map | Next: 33949 |
|
Used by the routines at GameMenu, Select_Yes/No, PlayerNameInput, Handler_LocationChoice and HighScoreTable.
|
||||||||||||||||||||
| PauseCheck | 33913 | LD B,1 | Call 32853 with a count of 1. | |||||||||||||||||
| 33915 | CALL 32853 | |||||||||||||||||||
| 33918 | CALL PauseCheck_Input | Call PauseCheck_Input. | ||||||||||||||||||
| 33921 | JR C,PauseCheck | Jump to PauseCheck if the carry flag is set. | ||||||||||||||||||
|
Repeat of the above.
|
||||||||||||||||||||
| 33923 | LD B,1 | Call 32853 with a count of 1. | ||||||||||||||||||
| 33925 | CALL 32853 | |||||||||||||||||||
| 33928 | CALL PauseCheck_Input | Call PauseCheck_Input. | ||||||||||||||||||
| 33931 | JR C,PauseCheck | Jump to PauseCheck if the carry flag is set. | ||||||||||||||||||
| 33933 | RET | Return. | ||||||||||||||||||
|
Check to see if the SHIFT, Z, X, C, and V keys are being held down.
|
||||||||||||||||||||
| PauseCheck_Input | 33934 | LD BC,65278 | Read from the keyboard;
|
|||||||||||||||||
| PauseCheck_Loop | 33937 | IN A,(C) | ||||||||||||||||||
| 33939 | AND %00011111 | Keep only bits 0-4. | ||||||||||||||||||
| 33941 | CP 31 | Return if A is not equal to 31 (which is ALL of the keys above - 00011111). | ||||||||||||||||||
| 33943 | RET NZ | |||||||||||||||||||
| 33944 | RLC B | Rotate B left (with carry). | ||||||||||||||||||
| 33946 | JR C,PauseCheck_Loop | Jump to PauseCheck_Loop if B has the carry flag set. | ||||||||||||||||||
| 33948 | RET | Return. | ||||||||||||||||||
| Prev: 33706 | Up: Map | Next: 33949 |