libmsx
C library for MSX
|
Buffered access to SCC/SCC+ registers. More...
#include <scc.h>
Go to the source code of this file.
Data Structures | |
struct | SCC_buffer |
struct | SCC_wave_buffer |
Macros | |
#define | SCC_BUF_H_ |
Functions | |
void | SCC_init (void) |
MSX Initialize scc_buffer and internal waveform buffer. | |
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_stop (struct SCC *scc) |
MSX Stop (Pause) playing sound on SCC/SCC+. | |
void | SCC_play (struct SCC *scc) |
MSX Play sound on SCC/SCC+. | |
Variables | |
struct SCC_wave_buffer | scc_wave_buffer |
MSX Buffer for SCC/SCC+ waveform registers. | |
struct SCC_buffer | scc_buffer |
MSX Buffer for SCC/SCC+ registers (except for waveform registers). | |
Buffered access to SCC/SCC+ registers.
Example
The following code shows a sound driver/replayer template for the Konami SCC/SCC+ sound chip.
Definition in file scc_buf.h.