Prev: B441 Up: Map Next: B451
B443: One step of the jump sweep
Five right-rotations are three left ones, so the half-wave count is 8 * C: shorter, so higher, as C falls. The very first step, with C = 32, wraps round to a count of 1.
jump_sweep B443 LD A,C half-wave count 8 * C, one wave
B444 RRCA
B445 RRCA
B446 RRCA
B447 RRCA
B448 RRCA
B449 LD B,A
B44A CALL toggle_audio_hw
B44D DEC C until C runs out
B44E JR NZ,jump_sweep
B450 RET
Prev: B441 Up: Map Next: B451