Deathchase | Routines |
Prev: 60A3 | Up: Map | Next: 60C1 |
60AA | EX AF,AF' | Swap out A | ||
60AB | LD D,$64 | Length of sound | ||
60AD | LD E,$14 | Initial length | ||
60AF | LD H,$0A | Initial frequency | ||
60B1 | XOR $10 | Toggle the speaker on / off | ||
60B3 | OUT ($FE),A | |||
60B5 | LD B,E | Hold in that position for E frames | ||
60B6 | DJNZ $60B6 | |||
60B8 | DEC H | Increase frequency and repeat | ||
60B9 | JR NZ,$60B1 | |||
60BB | DEC E | Increase frequency, decrease length | ||
60BC | DEC D | |||
60BD | JR NZ,$60AF | |||
60BF | EX AF,AF' | Swap back in A | ||
60C0 | RET |
Prev: 60A3 | Up: Map | Next: 60C1 |