Prev: C1ED Up: Map Next: C21D
C200: Routine at C200
C200 LD A,($A85F) Return if *A85F is non-zero.
C203 AND A
C204 RET NZ
C205 LD E,(IX+$01) E=*IX+01.
C208 LD D,$01 D=01.
C20A CALL Sounds_PlaySquareWave_Loop Call Sounds_PlaySquareWave_Loop.
Subtract 0B from *IX+01.
C20D LD A,(IX+$01) A=*IX+01.
C210 SUB $0B A-=0B.
C212 LD (IX+$01),A Write A to *IX+01.
C215 CP $10 Return if A is higher than 10.
C217 RET NC
C218 LD (IX+$00),$00 Write 00 to *IX+00.
C21C RET Return.
Prev: C1ED Up: Map Next: C21D