Prev: 48971 Up: Map Next: 49012
49005: Play Wave Sequence
Plays a number of cycles of a square wave, one after the other.
Input
B Duration of wave
C Number of times to repeat
PlayWaveSequence 49005 CALL PlaySquareWave Play a cycle of the wave.
49008 DEC C Decrease the repeat counter by one and loop back to PlayWaveSequence until all of the cycles have been played.
49009 JR NZ,PlayWaveSequence
49011 RET Return.
View the equivalent code in;
Prev: 48971 Up: Map Next: 49012