AY/8930: implement tone and env period macros

This commit is contained in:
tildearrow 2024-07-05 16:18:08 -05:00
parent e495c8d990
commit 8f577fb669
5 changed files with 45 additions and 6 deletions

View file

@ -79,6 +79,7 @@ class DivPlatformAY8930: public DivDispatch {
unsigned char autoEnvNum, autoEnvDen, duty, autoNoiseMode;
signed char konCycles, autoNoiseOff;
unsigned short fixedFreq;
Channel():
SharedChannel<int>(31),
envelope(Envelope()),
@ -90,7 +91,8 @@ class DivPlatformAY8930: public DivDispatch {
duty(4),
autoNoiseMode(0),
konCycles(0),
autoNoiseOff(0) {}
autoNoiseOff(0),
fixedFreq(0) {}
};
Channel chan[3];
bool isMuted[3];