Routines |
Prev: 77F6 | Up: Map | Next: 78B0 |
Used by the routine at 739D.
|
||||
7890 | LD B,$37 | B=37 (counter). | ||
7892 | LD HL,$09C4 | HL=09C4 (loop delay parameter). | ||
7895 | LD DE,$0001 | DE=0001 (number of passes). | ||
7898 | PUSH BC | Stash BC and HL on the stack. | ||
7899 | PUSH HL | |||
789A | CALL $03B5 | Call BEEPER. | ||
789D | POP HL | Restore HL from the stack. | ||
789E | LD BC,$001E | HL-=001E. | ||
78A1 | SBC HL,BC | |||
78A3 | POP BC | Restore BC from the stack. | ||
78A4 | DJNZ $7895 | Decrease counter by one and loop back to 7895 until counter is zero. | ||
78A6 | LD HL,$5C78 | A=FRAMES. | ||
78A9 | LD A,(HL) | |||
78AA | ADD A,$08 | A+=08. | ||
78AC | CP (HL) | Loop until A and FRAMES are equal. | ||
78AD | JR NZ,$78AC | |||
78AF | RET | Return. |
Prev: 77F6 | Up: Map | Next: 78B0 |