Prev: 644D Up: Map Next: 64AA
6473: Sound Effects
Used by the routine at 64FA.
6473 LD C,$0F C=0F.
6475 LD A,C
6476 RRCA
6477 RRCA
6478 RRCA
6479 AND %00000111 Keep only bits 0-2.
647B CPL
647C DAA
647D LD D,A
647E CALL PlaySquareWave Call PlaySquareWave.
6481 DEC C
6482 JR NZ,$6475
6484 RET Return.
This entry point is used by the routine at 64FA.
6485 LD A,($5E19)
6488 AND $7F
648A OR $30
648C LD ($6495),A
648F LD C,$20
6491 LD A,C
6492 XOR $0F
6494 AND $1F
6496 LD D,A
6497 CALL PlaySquareWave Call PlaySquareWave.
649A DEC C
649B JR NZ,$6491
649D RET Return.
This entry point is used by the routine at 6A98.
649E LD C,$10
64A0 LD A,C
64A1 RRCA
64A2 LD D,A
64A3 CALL PlaySquareWave Call PlaySquareWave.
64A6 DEC C
64A7 JR NZ,$64A0
64A9 RET
Prev: 644D Up: Map Next: 64AA