![]() |
Routines |
| Prev: 6A73 | Up: Map | Next: 6A9B |
|
Waits for as long as "SHIFT" is held down, then counts the frame and starts the main loop again.
|
||||||||||||||||||||
| Pause_Loop | 6A87 | LD A,$FE | Read from the keyboard;
|
|||||||||||||||||
| 6A89 | OUT ($FD),A | |||||||||||||||||||
| 6A8B | IN A,($FE) | |||||||||||||||||||
| 6A8D | BIT 0,A | Is "SHIFT" being pressed? If it is then jump back to Pause_Loop. | ||||||||||||||||||
| 6A8F | JR Z,Pause_Loop | |||||||||||||||||||
| 6A91 | LD HL,($5E29) | Fetch the game timer from GameTimer. | ||||||||||||||||||
| 6A94 | INC HL | Add one to the game timer, as a frame has passed. | ||||||||||||||||||
| 6A95 | LD ($5E29),HL | Write the new game timer back to GameTimer. | ||||||||||||||||||
| 6A98 | JP MainLoop_NewPass | Jump to MainLoop_NewPass to handle the entities again. | ||||||||||||||||||
| Prev: 6A73 | Up: Map | Next: 6A9B |