Command 0x19: Set noise clock
Sets the DSP noise frequency.
Syntax
0x19, byte clock
Parameters
| Parameter | Type | Description |
|---|---|---|
| clock | byte | Noise clock (0-31) |
Description
Saves the noise clock to $0E, combines it with the high bits of the FLG register ($0F), and immediately writes it to the DSP FLG register.
This command takes no time to process; the following event is read within the same tick.
Note
- If clock is 32 or more, the high bits of the FLG register (reset, mute, echo write disable) are also overwritten.