Prev: C1A8 Up: Map Next: C1ED
C1CF: Routine at C1CF
C1CF LD A,(IX+$01) A=*IX+01.
C1D2 AND %00000011 Keep only bits 0-1.
C1D4 JR NZ,$C1E1 Jump to C1E1 if A is not zero.
C1D6 LD A,(IX+$01) E=*IX+01 + 14.
C1D9 ADD A,$14
C1DB LD E,A
C1DC LD D,$03 D=03.
C1DE CALL Sounds_PlaySquareWave_Loop Call Sounds_PlaySquareWave_Loop.
C1E1 DEC (IX+$01) Decrease *IX+01 by two.
C1E4 DEC (IX+$01)
C1E7 RET NZ Return if *IX+01 is not zero.
C1E8 LD (IX+$00),$00 Write 00 to *IX+00.
C1EC RET Return.
Prev: C1A8 Up: Map Next: C1ED