Prev: 47359 Up: Map Next: 47394
47384: Play Inverted Tone
Play PlaySquareWave, invert the pitch, and repeat D times.
Input
C Pitch
D Number of times to repeat
Play PlaySquareWave, invert the pitch, and repeat D times.
PlayInvertedTone 47384 CALL PlaySquareWave Call PlaySquareWave.
47387 LD A,C A=C.
47388 CPL Flip the bits.
47389 LD C,A C=A.
47390 DEC D Decrease D by one.
47391 JR NZ,PlayInvertedTone Jump to PlayInvertedTone until D is zero.
47393 RET Return.
Prev: 47359 Up: Map Next: 47394