Prev: C096 Up: Map Next: C10E
C0B8: Interruptable routine 0 - Play a musical note
C0B8 LD HL,$A450
C0BB DEC (HL)
C0BC JR NZ,$C0B2
This entry point is used by the routine at C1C0.
C0BE LD HL,($A451)
C0C1 LD C,(HL)
C0C2 INC HL
C0C3 LD B,(HL)
C0C4 INC HL
C0C5 LD ($A451),HL
C0C8 LD A,C
C0C9 INC A
C0CA JR Z,$C10E
C0CC INC A
C0CD JP Z,$C091
C0D0 INC A
C0D1 JR Z,$C11B
C0D3 INC A
C0D4 JR Z,$C140
C0D6 LD ($A44F),BC
C0DA LD B,$00
C0DC LD HL,$A67B
C0DF ADD HL,BC
C0E0 ADD HL,BC
C0E1 LD C,(HL)
C0E2 INC HL
C0E3 LD B,(HL)
This entry point is used by the routine at C10E.
C0E4 LD HL,($A44D)
C0E7 LD ($A453),BC
C0EB AND A
C0EC LD A,($A443)
C0EF SBC HL,BC
C0F1 JR NC,$C0F8
C0F3 CP $00
C0F5 JP $C0FB
C0F8 NEG
C0FA NOP
C0FB LD ($A444),A
C0FE JR NZ,$C107
C100 LD ($A44D),BC
C104 JP $C05C
C107 CP $00
C109 NOP
C10A NOP
C10B JP $C05C
Prev: C096 Up: Map Next: C10E