| Gyruss | Routines |
| Prev: 9DB9 | Up: Map | Next: 9DD7 |
|
Tone.
|
||||||||||
| sound_fx_command_1_4 | 9DC4 | LD A,(IX+$03) | Get frequency LSB (starts at $40 or $80) | |||||||
| 9DC7 | SUB $0C | Subtract 12 | ||||||||
| 9DC9 | LD (IX+$03),A | Save again | ||||||||
| 9DCC | RET P | Return if positive | ||||||||
| 9DCD | LD A,(IX+$06) | Get reset value (starts same as IX+$03) | ||||||||
| 9DD0 | LD (IX+$03),A | Reset value | ||||||||
| 9DD3 | LD C,$20 | Value to increase attenuation by | ||||||||
| 9DD5 | JR sound_fx_command_0_0 | Jump to increase attenuation | ||||||||
| Prev: 9DB9 | Up: Map | Next: 9DD7 |