![]() |
Unused |
| Prev: 41223 | Up: Map | Next: 41265 |
|
Never reached, as nothing jumps here. Plays 16 cycles of a tone whose half period is made from byte 6 of the object: it is inverted, rotated left and cut down to the low six bits, and then bit 6 is set.
|
||||||||
| Unused_Play_Object_Tone | 41250 | LD A,(IX+6) | Fetch byte 6 of the object. | |||||
| 41253 | CPL | Invert the bits. | ||||||
| 41254 | RLCA | Rotate it left. | ||||||
| 41255 | AND %00111111 | Keep only the low six bits. | ||||||
| 41257 | OR %01000000 | Set bit 6. | ||||||
| 41259 | LD B,A | Use the result as the half period. | ||||||
| 41260 | LD C,16 | C=16 (the number of cycles). | ||||||
| 41262 | JP SoundsBeep | Jump to SoundsBeep to play the tone. | ||||||
| Prev: 41223 | Up: Map | Next: 41265 |