Prev: 64D6 Up: Map Next: 64E7
64DC: Play Low Tone
Used by the routine at PutCanInCubbyHole.
Plays 28 square waves with a duration of 50.
PlayLowTone 64DC LD D,$50 Set the duration of the wave in D to 50.
64DE LD C,$28 Set the wave counter in C to 28.
This entry point is used by the routines at PlayHighTone and PlayMidTone.
Play each wave until all of the waves have been played.
PlayTone_Loop 64E0 CALL PlaySquareWave Play a wave using PlaySquareWave.
64E3 DEC C Decrease the wave counter by one.
64E4 JR NZ,PlayTone_Loop Loop back to PlayTone_Loop until all of the waves have been played.
64E6 RET Return.
Prev: 64D6 Up: Map Next: 64E7