64 void (*
const write)(uint8_t reg, uint8_t value);
const struct OPLL_Device * device
Pointer to device interface.
uint8_t version
Version/Identifier of the OPLL.
uint8_t slot
Slot address of the OPLL.
void OPLL_disable(const struct OPLL *opll)
MSX Disable OPLL sound chip.
uint8_t OPLL_find(struct OPLL *opll)
MSX Find OPLL sound chip.
uint8_t OPLL_inspect(uint8_t slot)
MSX Inspect whether OPLL is on the given slot.
void OPLL_enable(const struct OPLL *opll)
MSX Enable OPLL sound chip.
Device interface for OPLL sound chip.
void(*const write)(uint8_t reg, uint8_t value)
MSX Function pointer to write data to a OPLL register.