Prev: DAC8 Up: Map Next: DAFA
DAE5: Start the "lose a life" sound effect
Used by the routine at DA8D.
DAE5 LD HL,$EE34 Point HL at the "life lost" sound effect data. (EE34)
DAE8 LD B,$09 Loop 9 times.
DAEA LD E,(HL) Put the next frequency in DE.
DAEB LD D,$00
DAED INC HL Put the next length in B.
DAEE LD B,(HL)
DAEF PUSH HL Remember HL and BC.
DAF0 PUSH BC
DAF1 CALL $DAB2 Beep.
DAF4 POP BC Restore HL and BC.
DAF5 POP HL
DAF6 INC HL Move to the next entry.
DAF7 DJNZ $DAEA Repeat until all sound has been played.
DAF9 RET
Prev: DAC8 Up: Map Next: DAFA