Prev: B451 Up: Map Next: B45D
B454: Play Sound From Value
Plays six cycles of a tone whose pitch is worked out from the value in A.
Input
A Value that the pitch is made from
Turn the value into a pitch and play six beeps.
PlaySoundFromHeight_PlaySoundFromValue B454 CPL Invert the value.
B455 RLCA Multiply it by four to get the pitch.
B456 RLCA
B457 LD B,A Set B to the pitch.
B458 LD C,$06 Set the number of cycles.
B45A JP PlayWaveSequence Play the tone.
View the equivalent code in;
Prev: B451 Up: Map Next: B45D