add special waves
This commit is contained in:
parent
49773c9f47
commit
0d4d035c1f
3 changed files with 42 additions and 17 deletions
|
|
@ -134,8 +134,9 @@ void DivPlatformSID3::tick(bool sysTick)
|
|||
|
||||
if (chan[i].keyOn)
|
||||
{
|
||||
rWrite(i*SID3_REGISTERS_PER_CHANNEL,SID3_CHAN_ENABLE_GATE);
|
||||
rWrite(6 + i*SID3_REGISTERS_PER_CHANNEL,SID3_WAVE_PULSE);
|
||||
rWrite(i*SID3_REGISTERS_PER_CHANNEL,SID3_CHAN_ENABLE_GATE); //gate on
|
||||
rWrite(6 + i*SID3_REGISTERS_PER_CHANNEL,SID3_WAVE_SPECIAL); //waveform
|
||||
rWrite(9 + i*SID3_REGISTERS_PER_CHANNEL,10); //special wave
|
||||
|
||||
chan[i].duty = 0x1000;
|
||||
updateDuty(i);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue