![]() |
Routines |
| Prev: A1AB | Up: Map | Next: A207 |
|
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 10000 values.
|
||||||||||
| Pause | A1FF | DEC HL | Decrease the delay counter in HL by one. | |||||||
| A200 | LD A,L | Loop back to Pause until the delay counter in HL is zero. | ||||||||
| A201 | OR H | |||||||||
| A202 | JR NZ,Pause | |||||||||
| A204 | DJNZ Pause | Decrease the number of delays in B by one and loop back to Pause until all of the delays have been done. | ||||||||
| A206 | RET | Return. | ||||||||
|
View the equivalent code in;
|
||||||||||
| Prev: A1AB | Up: Map | Next: A207 |