Prev: 54885 Up: Map Next: 54907
54899: Play Stored Sound
Never used. The routine from 54900 makes a tone of a pitch that is held in the byte at PlayStoredSound, which is the instruction at the start of this routine, a 0. That makes the tone the same as the pitch 255, as the byte is inverted. It carries on as PlayWaveSequence.
PlayStoredSound 54899 NOP Do nothing, as this byte is the pitch of the sound.
54900 LD A,(54899) Fetch the pitch.
54903 CPL Invert it.
54904 LD B,A Put it in B.
54905 LD C,8 Set the length of the tone to eight cycles.
Continue on to PlayWaveSequence.
Prev: 54885 Up: Map Next: 54907