command stream ALG/FMS/AMS effects
This commit is contained in:
parent
1d786a0c77
commit
b98ff13753
|
@ -405,4 +405,11 @@ hex | description
|
|||
dc | resonance scaling (b)
|
||||
----|------------------------------------
|
||||
dd | WonderSwan speaker volume (b)
|
||||
----|------------------------------------
|
||||
| **FM commands (continued)**
|
||||
de | ALG (b)
|
||||
df | FMS (b)
|
||||
e0 | AMS (b)
|
||||
e1 | FMS2 (b)
|
||||
e2 | AMS2 (b)
|
||||
```
|
||||
|
|
|
@ -447,6 +447,11 @@ bool DivCSPlayer::tick() {
|
|||
case DIV_CMD_SID3_CUTOFF_SCALING:
|
||||
case DIV_CMD_SID3_RESONANCE_SCALING:
|
||||
case DIV_CMD_WS_GLOBAL_SPEAKER_VOLUME:
|
||||
case DIV_CMD_FM_ALG:
|
||||
case DIV_CMD_FM_FMS:
|
||||
case DIV_CMD_FM_AMS:
|
||||
case DIV_CMD_FM_FMS2:
|
||||
case DIV_CMD_FM_AMS2:
|
||||
arg0=(unsigned char)stream.readC();
|
||||
break;
|
||||
// TWO BYTE COMMANDS
|
||||
|
|
|
@ -163,6 +163,11 @@ int DivCS::getCmdLength(unsigned char ext) {
|
|||
case DIV_CMD_SID3_CUTOFF_SCALING:
|
||||
case DIV_CMD_SID3_RESONANCE_SCALING:
|
||||
case DIV_CMD_WS_GLOBAL_SPEAKER_VOLUME:
|
||||
case DIV_CMD_FM_ALG:
|
||||
case DIV_CMD_FM_FMS:
|
||||
case DIV_CMD_FM_AMS:
|
||||
case DIV_CMD_FM_FMS2:
|
||||
case DIV_CMD_FM_AMS2:
|
||||
return 1;
|
||||
case DIV_CMD_FM_TL:
|
||||
case DIV_CMD_FM_AM:
|
||||
|
@ -545,6 +550,11 @@ void writeCommandValues(SafeWriter* w, const DivCommand& c, bool bigEndian) {
|
|||
case DIV_CMD_SID3_CUTOFF_SCALING:
|
||||
case DIV_CMD_SID3_RESONANCE_SCALING:
|
||||
case DIV_CMD_WS_GLOBAL_SPEAKER_VOLUME:
|
||||
case DIV_CMD_FM_ALG:
|
||||
case DIV_CMD_FM_FMS:
|
||||
case DIV_CMD_FM_AMS:
|
||||
case DIV_CMD_FM_FMS2:
|
||||
case DIV_CMD_FM_AMS2:
|
||||
w->writeC(c.value);
|
||||
break;
|
||||
case DIV_CMD_FM_TL:
|
||||
|
|
Loading…
Reference in a new issue