const struct SCC_Device * device
Pointer to device interface.
volatile uint8_t * rw_volume
Pointer to read/write data from/to the volume register.
volatile uint8_t * wo_deformation
Pointer to write a value to the deformation register.
uint8_t slot
Slot address of the SCC/SCC+.
uint8_t version
1 if SCC, 2 or greater value if SCC+.
volatile const struct SCC_Waveform * ro_waveform
Pointer to read data from the 32-byte waveform data register.
volatile uint8_t * rw_channel_mask
Pointer to read/write a value from/to the channel mask register.
volatile struct SCC_Waveform * wo_waveform
Pointer to write data to the 32-byte waveform data register.
struct SCC_Channel channels[5]
Device interface for each 5 channels.
volatile uint16_t * rw_fdr
Pointer to read/write data from/to the frequency division ratio register.
uint8_t mode
1 if SCC compatible mode, 2 if SCC+ mode.
uint8_t SCC_get_mode(struct SCC *scc)
MSX Check which mode the SCC handle is set to.
void SCC_enable(const struct SCC *scc)
MSX Enable SCC/SCC+ sound chip.
void SCC_set_mode(struct SCC *scc, uint8_t mode)
MSX Set the SCC handle to SCC compatible mode or SCC+ mode.
uint8_t SCC_find(struct SCC *scc)
MSX Find SCC/SCC+ sound chip.
void SCC_disable(const struct SCC *scc)
MSX Disable SCC/SCC+ sound chip.
uint8_t SCC_inspect(uint8_t slot)
MSX Inspect whether SCC/SCC+ is on the given slot.
Device interface for a sound channel of SCC/SCC+ sound chip.
Device interface for SCC/SCC+ sound chip.