Routines |
Prev: 60387 | Up: Map | Next: 60403 |
Used by the routines at DisplayStartScreen, DisplayChangeControls, CheckPassword and DisplayInstructions.
|
||||
Countdown from 65535 to 0000 a total of 5 times. This is creating a big pause of ~3 seconds before allowing input.
|
||||
PauseLong | 60390 | LD B,5 | B=5 (counter). | |
60392 | LD HL,0 | HL=0000. | ||
PauseLong_Loop | 60395 | DEC HL | Decrease HL by one. | |
60396 | LD A,H | Jump to PauseLong_Loop until HL is zero. | ||
60397 | OR L | |||
60398 | JR NZ,PauseLong_Loop | |||
60400 | DJNZ PauseLong_Loop | Decrease counter by one and loop back to PauseLong_Loop until counter is zero. | ||
60402 | RET | Return. |
Prev: 60387 | Up: Map | Next: 60403 |