AY8930: finally implement auto noise freq

This commit is contained in:
tildearrow 2024-05-07 02:31:22 -05:00
parent c2565b1300
commit f64adfa8dd
3 changed files with 35 additions and 3 deletions

View file

@ -452,6 +452,7 @@ void DivEngine::registerSystems() {
[](unsigned char, unsigned char val) -> int { return 0x10+(val&15); }}},
{0x27, {DIV_CMD_AY_NOISE_MASK_AND, "27xx: Set noise AND mask"}},
{0x28, {DIV_CMD_AY_NOISE_MASK_OR, "28xx: Set noise OR mask"}},
{0x2c, {DIV_CMD_AY_AUTO_PWM, "2Cxy: Automatic noise frequency (x: mode (0: disable, 1: freq, 2: freq + OR mask); y: offset"}},
{0x2d, {DIV_CMD_AY_IO_WRITE, "2Dxx: NOT TO BE EMPLOYED BY THE COMPOSER", constVal<255>, effectVal}},
};