![]() |
Routines |
| Prev: 41387 | Up: Map | Next: 41479 |
|
Used by the routines at HandlerPoems, GameOver_1UP_Messaging, EnterInitials and NewHighScore_Return.
A simple delay loop. HL is counted down to zero, which is repeated B times. As HL wraps around when it is zero, every pass after the first one counts through all 65536 values.
|
||||||||||
| Pause | 41471 | DEC HL | Decrease the delay counter in HL by one. | |||||||
| 41472 | LD A,L | Loop back to Pause until the delay counter in HL is zero. | ||||||||
| 41473 | OR H | |||||||||
| 41474 | JR NZ,Pause | |||||||||
| 41476 | DJNZ Pause | Decrease the number of delays in B by one and loop back to Pause until all of the delays have been done. | ||||||||
| 41478 | RET | Return. | ||||||||
|
View the equivalent code in;
|
||||||||||
| Prev: 41387 | Up: Map | Next: 41479 |