Prev: 7CF0 Up: Map Next: 7D35
7D2B: Delay (fixed: 80 × 256 iterations)
Used by the routine at main.
Outer counter loaded into C
delay 7D2B LD C,$50 C = $50 (80 iterations of inner loop)
Inner loop — B counts down from 0 (256 iterations)
delay_0 7D2D LD B,$00 B = $00
delay_1 7D2F DJNZ delay_1 DJNZ self (spin until B wraps to 0)
Outer loop check
7D31 DEC C DEC C
7D32 JR NZ,delay_0 If C != 0 restart inner loop
7D34 RET
Prev: 7CF0 Up: Map Next: 7D35