Example #1
0
void AdLibMusic::startDriver() {
	uint16 cnt = 0;
	while (_initSequence[cnt] || _initSequence[cnt + 1]) {
		OPLWriteReg (_opl, _initSequence[cnt], _initSequence[cnt + 1]);
		cnt += 2;
	}
}
Example #2
0
void AdLibMidiDriver::adlibWrite(uint8 port, uint8 value) {
	OPLWriteReg(_opl, port, value);
}