| Routines

6752: Ring the bell

Used by the routine at 66E6. Your browser doesn't support HTML5 audio. Here is a link to the audio instead.
Input
L | 0xF9
6752 | DI | Disable interrupts
6753 | LD H,$11 | HL=11F9 (duration parameter)
6755 | LD D,H | D=0x11 (blue border)
6756 | LD A,D | Make the bell sound
6757 | OUT ($FE),A
6759 | XOR $10
675B | LD D,A
675C | LD B,$80
675E | DJNZ $675E
6760 | DEC HL
6761 | LD A,H
6762 | OR L
6763 | JR NZ,$6756
6765 | EI | Re-enable interrupts before returning
6766 | RET |