| void PSG_SetRegister( |
| ) |
Set the value of a given register
| u8 PSG_GetRegister( |
| ) |
Get the value of a given register
| void PSG_SetTone( |
| ) |
Set the tone period of a given channel (tone generator control register)
| void PSG_SetNoise( |
| ) |
Set the noise period (noise generator control register)
| void PSG_SetMixer( |
| ) |
Setup mixer by enabling tune and noise generators for each channel (mixer control enable register)
| void PSG_SetVolume( |
| ) |
Set the volume of a given channel (Amplitude control register)
| void PSG_SetEnvelope( |
| ) |
Set the envelope period (Envelope priod control register)
| void PSG_SetShape( |
| ) |
Set the envelope shape (Envelope shape control register)
| void PSG_EnableTone( |
| ) |
Enable/disable tone on the given channel
| void PSG_EnableNoise( |
| ) |
Enable/disable noise on the given channel
| void PSG_EnableEnvelope( |
| ) |
Enable/disable envelope on the given channel
Silent the PSG (set according registers)
Resume PSG sound
Send data to PSG registers #0 to #13