C64: add a sample channel

but don't get too excited! it's just $D418 PCM for now...
This commit is contained in:
tildearrow 2025-01-28 17:33:08 -05:00
parent f16b23772e
commit 0d8b97b1a3
8 changed files with 168 additions and 14 deletions

View file

@ -1228,6 +1228,7 @@ const int availableSystems[]={
DIV_SYSTEM_NES,
DIV_SYSTEM_C64_8580,
DIV_SYSTEM_C64_6581,
DIV_SYSTEM_C64_PCM,
DIV_SYSTEM_YM2151,
DIV_SYSTEM_SEGAPCM,
DIV_SYSTEM_SEGAPCM_COMPAT,
@ -1402,6 +1403,7 @@ const int chipsSpecial[]={
DIV_SYSTEM_NES,
DIV_SYSTEM_C64_8580,
DIV_SYSTEM_C64_6581,
DIV_SYSTEM_C64_PCM,
DIV_SYSTEM_SFX_BEEPER,
DIV_SYSTEM_SFX_BEEPER_QUADTONE,
DIV_SYSTEM_DUMMY,

View file

@ -680,7 +680,8 @@ bool FurnaceGUI::drawSysConf(int chan, int sysPos, DivSystem type, DivConfig& fl
break;
}
case DIV_SYSTEM_C64_8580:
case DIV_SYSTEM_C64_6581: {
case DIV_SYSTEM_C64_6581:
case DIV_SYSTEM_C64_PCM: {
int clockSel=flags.getInt("clockSel",0);
bool keyPriority=flags.getBool("keyPriority",true);
bool no1EUpdate=flags.getBool("no1EUpdate",false);