genesis: implement 10xx command

This commit is contained in:
tildearrow 2021-06-05 23:27:02 -05:00
parent c519b84c91
commit 0b8fcc6e8d
3 changed files with 9 additions and 0 deletions

View file

@ -279,6 +279,10 @@ int DivPlatformGenesis::dispatch(DivCommand c) {
chan[c.chan].freqChanged=true;
break;
}
case DIV_CMD_FM_LFO: {
rWrite(0x22,(c.value&7)|((c.value>>4)<<3));
break;
}
case DIV_CMD_FM_MULT: {
unsigned short baseAddr=chanOffs[c.chan]|opOffs[orderedOps[c.value]];
DivInstrument* ins=parent->getIns(chan[c.chan].ins);