Prev: 25814 Up: Map Next: 25831
25820: Play Low Tone
Used by the routine at PutCanInCubbyHole.
Plays 40 square waves with a duration of 80.
PlayLowTone 25820 LD D,80 Set the duration of the wave in D to 80.
25822 LD C,40 Set the wave counter in C to 40.
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 25824 CALL PlaySquareWave Play a wave using PlaySquareWave.
25827 DEC C Decrease the wave counter by one.
25828 JR NZ,PlayTone_Loop Loop back to PlayTone_Loop until all of the waves have been played.
25830 RET Return.
Prev: 25814 Up: Map Next: 25831