| Routines

26450: Ring the bell

Used by the routine at 26342. Your browser doesn't support HTML5 audio. Here is a link to the audio instead.
Input
L | 249
26450 | DI | Disable interrupts
26451 | LD H,17 | HL=4601 (duration parameter)
26453 | LD D,H | D=17 (blue border)
26454 | LD A,D | Make the bell sound
26455 | OUT (254),A
26457 | XOR 16
26459 | LD D,A
26460 | LD B,128
26462 | DJNZ 26462
26464 | DEC HL
26465 | LD A,H
26466 | OR L
26467 | JR NZ,26454
26469 | EI | Re-enable interrupts before returning
26470 | RET |