libmsx
C library for MSX
|
Device interface for MSX-MUSIC (OPLL). More...
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | OPLL_Device |
Device interface for OPLL sound chip. More... | |
struct | OPLL |
OPLL Handle. More... | |
Macros | |
#define | OPLL_H_ |
Functions | |
uint8_t | OPLL_inspect (uint8_t slot) |
MSX Inspect whether OPLL is on the given slot. | |
uint8_t | OPLL_find (struct OPLL *opll) |
MSX Find OPLL sound chip. | |
void | OPLL_enable (const struct OPLL *opll) |
MSX Enable OPLL sound chip. | |
void | OPLL_disable (const struct OPLL *opll) |
MSX Disable OPLL sound chip. | |
Device interface for MSX-MUSIC (OPLL).
Example
The following code detects the MSX-MUSIC (OPLL) and plays a test tone if detected.
Definition in file opll.h.