Prev: B4BB Up: Map Next: B4ED
B4E6: Play Wave Sequence
Plays a tone made of a number of cycles with the same pitch.
Input
B Pitch of the tone (smaller values are higher)
C Number of cycles
PlayWaveSequence B4E6 CALL PlaySquareWave Play a single cycle of the tone.
B4E9 DEC C Decrease the cycle counter and loop back to PlayWaveSequence until all of the cycles have been played.
B4EA JR NZ,PlayWaveSequence
B4EC RET Return.
View the equivalent code in;
Prev: B4BB Up: Map Next: B4ED