![]() |
Routines |
| Prev: EBE3 | Up: Map | Next: EBF3 |
|
Used by the routines at DisplayStartScreen, DisplayChangeControls, CheckPassword and DisplayInstructions.
|
||||
|
Countdown from FFFF to 0000 a total of 05 times. This is creating a big pause of ~3 seconds before allowing input.
|
||||
| PauseLong | EBE6 | LD B,$05 | B=05 (counter). | |
| EBE8 | LD HL,$0000 | HL=0000. | ||
| PauseLong_Loop | EBEB | DEC HL | Decrease HL by one. | |
| EBEC | LD A,H | Jump to PauseLong_Loop until HL is zero. | ||
| EBED | OR L | |||
| EBEE | JR NZ,PauseLong_Loop | |||
| EBF0 | DJNZ PauseLong_Loop | Decrease counter by one and loop back to PauseLong_Loop until counter is zero. | ||
| EBF2 | RET | Return. | ||
| Prev: EBE3 | Up: Map | Next: EBF3 |