Deathchase | Routines |
Prev: 6B71 | Up: Map | Next: 6B96 |
6B7F | EX AF,AF' | Swap out A | ||
6B80 | LD D,$FF | Length of sound | ||
6B82 | LD E,$1E | Initial length | ||
6B84 | LD H,$06 | Initial frequency | ||
6B86 | XOR $10 | Toggle the speaker on / off | ||
6B88 | OUT ($FE),A | |||
6B8A | LD B,E | Hold in that position for E frames | ||
6B8B | DJNZ $6B8B | |||
6B8D | DEC H | Decrease frequency and repeat | ||
6B8E | JR NZ,$6B86 | |||
6B90 | INC E | Decrease frequency and length | ||
6B91 | DEC D | |||
6B92 | JR NZ,$6B84 | |||
6B94 | EX AF,AF' | Swap back in A | ||
6B95 | RET |
Prev: 6B71 | Up: Map | Next: 6B96 |