Prev: C18C Up: Map Next: C1CF
C1A8: Routine at C1A8
C1A8 LD A,($8D48) A=*8D48.
C1AB AND %00111111 Keep only bits 0-5.
C1AD ADD A,(IX+$01) E=A + *IX+01.
C1B0 LD E,A
C1B1 LD D,$01 D=01.
C1B3 CALL Sounds_PlaySquareWave_Loop Call Sounds_PlaySquareWave_Loop.
Add 08 to *IX+01.
C1B6 LD A,(IX+$01) A=*IX+01.
C1B9 ADD A,$08 A+=08.
C1BB LD (IX+$01),A Write A to *IX+01.
C1BE CP $A1 Jump to C1CA if A is equal to A1.
C1C0 JR Z,$C1CA
C1C2 CP $60 Return if A is not equal to 60.
C1C4 RET NZ
C1C5 LD (IX+$01),$21 Write 21 to *IX+01.
C1C9 RET Return.
C1CA LD (IX+$00),$00 Write 00 to *IX+00.
C1CE RET Return.
Prev: C18C Up: Map Next: C1CF