AY8930: implement noise and/or mask
cannot confirm whether this behavior is accurate to hardware though... thanks Eulous for details on this!
This commit is contained in:
parent
488bd45907
commit
5a7cf57aa2
6 changed files with 68 additions and 24 deletions
|
|
@ -76,6 +76,8 @@ const char* cmdName[DIV_CMD_MAX]={
|
|||
"AY_ENVELOPE_LOW",
|
||||
"AY_ENVELOPE_HIGH",
|
||||
"AY_ENVELOPE_SLIDE",
|
||||
"AY_NOISE_MASK_AND",
|
||||
"AY_NOISE_MASK_OR",
|
||||
|
||||
"SAA_ENVELOPE",
|
||||
|
||||
|
|
@ -359,6 +361,12 @@ bool DivEngine::perSystemPostEffect(int ch, unsigned char effect, unsigned char
|
|||
case 0x26: // envelope slide down
|
||||
dispatchCmd(DivCommand(DIV_CMD_AY_ENVELOPE_SLIDE,ch,effectVal));
|
||||
break;
|
||||
case 0x27: // noise and mask
|
||||
dispatchCmd(DivCommand(DIV_CMD_AY_NOISE_MASK_AND,ch,effectVal));
|
||||
break;
|
||||
case 0x28: // noise or mask
|
||||
dispatchCmd(DivCommand(DIV_CMD_AY_NOISE_MASK_OR,ch,effectVal));
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case DIV_SYSTEM_SAA1099:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue