Prev: F7C2 Up: Map Next: F7F6
F7D8: Sound Handler: Bomb Fuse
Used by the routine at Controller_BombSounds.
SoundHandler_BombFuse F7D8 PUSH BC Stash BC and DE on the stack.
F7D9 PUSH DE
F7DA LD A,($FE88) A=*InterruptCounter.
F7DD AND %00000111 Keep only bits 0-2.
F7DF JP Z,SoundHandler_FuseQuiet Jump to SoundHandler_FuseQuiet on the quiet fuse frames.
F7E2 PUSH HL Stash HL on the stack.
F7E3 LD DE,$000A DE=000A (duration).
F7E6 LD B,$1F B=1F (noise pitch).
F7E8 CALL SoundGenerator_WhiteNoise Play white noise for the burning fuse.
F7EB POP HL Restore HL, DE, BC, AF and AF from the stack.
F7EC POP DE
F7ED POP BC
F7EE POP AF
F7EF POP AF
F7F0 CALL $0038 Call MASK_INT.
F7F3 POP IY Restore IY from the stack.
F7F5 RET Return.
Prev: F7C2 Up: Map Next: F7F6