int8_t waveform[5][32]
Waveform for each of five channels.
uint8_t updated
Update-bit for each of five channels.
uint8_t channel_mask
Enable / Disable bit for each of the five channels.
uint8_t volume[5]
Volume (0-15) for each of the five channels.
uint16_t fdr[5]
Frequency division ratio for each of the five channels.
void SCC_init(void)
MSX Initialize scc_buffer and internal waveform buffer.
struct SCC_wave_buffer scc_wave_buffer
MSX Buffer for SCC/SCC+ waveform registers.
void SCC_set_waveform(uint8_t ch, const int8_t waveform[32])
MSX Set waveform to the internal waveform buffer, for the specified channel.
void SCC_play(struct SCC *scc)
MSX Play sound on SCC/SCC+.
void SCC_stop(struct SCC *scc)
MSX Stop (Pause) playing sound on SCC/SCC+.
struct SCC_buffer scc_buffer
MSX Buffer for SCC/SCC+ registers (except for waveform registers).
Device interface for Konami SCC/SCC+ sound cartridge.