Prev: C04E Up: Map Next: C062
C05B: Play Wave Sequence
Makes a tone, which is made of a number of cycles.
Input
B Pitch (the higher it is, the lower the note)
C Number of cycles
PlayWaveSequence C05B CALL PlaySquareWave Make a single cycle using PlaySquareWave.
C05E DEC C Loop back until all of the cycles have been made.
C05F JR NZ,PlayWaveSequence
C061 RET Return.
View the equivalent code in;
Prev: C04E Up: Map Next: C062