Prev: B6CE Up: Map Next: B712
B702: One wave
Speaker bit on for B turns of a 13 T-state loop, then off for as long, with the border black throughout; B is kept. Knight Lore's routine, and Pentagram's CLICK.
Input
B the half-wave count, kept
CLICK B702 LD A,$10 speaker on; wait
B704 OUT ($FE),A
B706 LD A,B
CLICK_0 B707 DJNZ CLICK_0
B709 LD B,A
B70A XOR A speaker off; wait; B back
B70B OUT ($FE),A
B70D LD A,B
CLICK_1 B70E DJNZ CLICK_1
B710 LD B,A
B711 RET
Prev: B6CE Up: Map Next: B712