| Gyruss | Routines |
| Prev: 9E5C | Up: Map | Next: 9E91 |
|
Tone. Increases frequency up to $016C.
|
||||||||||
| sound_fx_command_9 | 9E75 | INC (IX+$03) | Increment frequency LSB (starts at $00) | |||||||
| 9E78 | INC (IX+$03) | Increment frequency LSB | ||||||||
| 9E7B | JR NZ,sound_fx_command_9_0 | If it didn't turn over, skip ahead | ||||||||
| 9E7D | INC (IX+$04) | Increment frequency MSB | ||||||||
| sound_fx_command_9_0 | 9E80 | LD HL,(sound_fx_data_buffer_4_34) | Get attenuation/frequency of channel 4 (this channel) | |||||||
| 9E83 | LD DE,$F16C | Compare to this number | ||||||||
| 9E86 | AND A | Clear carry | ||||||||
| 9E87 | SBC HL,DE | ... | ||||||||
| 9E89 | RET NZ | And return if not the same | ||||||||
| 9E8A | CALL current_sound_fx_done | Sound fx done for this channel | ||||||||
| 9E8D | XOR A | Sound fx done for channel 0 (played together with noise) | ||||||||
| 9E8E | JP sound_fx_done | ... | ||||||||
| Prev: 9E5C | Up: Map | Next: 9E91 |