Prev: A107 Up: Map Next: A131
A122: Unused
Never reached, as nothing jumps here. Plays 10 cycles of a tone whose half period is made from byte 06 of the object: it is inverted, rotated left and cut down to the low six bits, and then bit 6 is set.
Input
IX Object record
Unused_Play_Object_Tone A122 LD A,(IX+$06) Fetch byte 06 of the object.
A125 CPL Invert the bits.
A126 RLCA Rotate it left.
A127 AND %00111111 Keep only the low six bits.
A129 OR %01000000 Set bit 6.
A12B LD B,A Use the result as the half period.
A12C LD C,$10 C=10 (the number of cycles).
A12E JP SoundsBeep Jump to SoundsBeep to play the tone.
Prev: A107 Up: Map Next: A131