SCV unification

This commit is contained in:
tildearrow 2025-03-10 04:05:12 -05:00
parent 85981822fa
commit d853c59b3d
14 changed files with 114 additions and 557 deletions

View file

@ -2058,12 +2058,12 @@ void DivEngine::registerSystems() {
);
sysDefs[DIV_SYSTEM_UPD1771C]=new DivSysDef(
_("NEC μPD1771C-017 (wave mode)"), NULL, 0xe4, 0, 1, false, true, 0, false, 0, 0, 0,
_("a microcontroller which has been used as a sound generator in the Super Cassette Vision. this is the waveform mode."),
{_("Wave/Noise")},
{"W"},
{DIV_CH_NOISE},
{DIV_INS_UPD1771C},
_("NEC μPD1771C-017"), NULL, 0xe5, 0, 4, false, true, 0, false, 0, 0, 0,
_("a microcontroller which has been used as a sound generator in the Super Cassette Vision."),
{_("Square 1"), _("Square 2"), _("Square 3"), _("Wave/Noise")},
{"S1", "S2", "S3", "NO"},
{DIV_CH_PULSE, DIV_CH_PULSE, DIV_CH_PULSE, DIV_CH_NOISE},
{DIV_INS_UPD1771C, DIV_INS_UPD1771C, DIV_INS_UPD1771C, DIV_INS_UPD1771C},
{},
{
{0x10, {DIV_CMD_STD_NOISE_MODE, _("10xx: Set duty/waveform (bit 0-3: waveform; bit 4: mode)")}},
@ -2071,17 +2071,6 @@ void DivEngine::registerSystems() {
}
);
sysDefs[DIV_SYSTEM_UPD1771C_TONE]=new DivSysDef(
_("NEC μPD1771C-017 (tone mode)"), NULL, 0xe5, 0, 4, false, true, 0, false, 0, 0, 0,
_("a microcontroller which has been used as a sound generator in the Super Cassette Vision. this is the tone mode."),
{_("Square 1"), _("Square 2"), _("Square 3"), _("Noise")},
{"S1", "S2", "S3", "NO"},
{DIV_CH_PULSE, DIV_CH_PULSE, DIV_CH_PULSE, DIV_CH_NOISE},
{DIV_INS_BEEPER, DIV_INS_BEEPER, DIV_INS_BEEPER, DIV_INS_UPD1771C},
{},
{}
);
sysDefs[DIV_SYSTEM_SM8521]=new DivSysDef(
_("Sharp SM8521"), NULL, 0xc8, 0, 3, false, true, 0, false, 0, 32, 16,
_("a SoC with wavetable sound hardware."),