Device interface for OPLL sound chip.
More...
#include <opll.h>
|
void(*const | write )(uint8_t reg, uint8_t value) |
| MSX Function pointer to write data to a OPLL register.
|
|
Device interface for OPLL sound chip.
Definition at line 49 of file opll.h.
◆ write
void(*const OPLL_Device::write) (uint8_t reg, uint8_t value) |
MSX
Function pointer to write data to a OPLL register.
- Parameters
-
reg | OPLL register number
- 0x00..0x07 : INSTURUMENT DATA registers
- 0x0e : RHYTHM control register
- 0x0f : TEST register
- 0x10..0x18 : F-Number (LSB 8 bits) registers
- 0x20..0x28 : SUS/KEY/BLOCK/F-Number (MSB) registers
- 0x30..0x38 : INSTRUMENT/VOLUME registers
|
value | a value to be written. |
- Postcondition
- Interrupt is disabled.
Definition at line 64 of file opll.h.
The documentation for this struct was generated from the following file: