implement phase reset macro on supported systems

This commit is contained in:
tildearrow 2022-04-15 03:16:14 -05:00
parent c76e719371
commit c743a9e96a
16 changed files with 89 additions and 7 deletions

View file

@ -264,6 +264,12 @@ void DivPlatformArcade::tick() {
rWrite(0x1b,chan[i].std.wave.val&3);
}
if (chan[i].std.phaseReset.had) {
if (chan[i].std.phaseReset.val==1) {
chan[i].keyOn=true;
}
}
if (chan[i].std.ex1.had) {
amDepth=chan[i].std.ex1.val;
immWrite(0x19,amDepth);