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:
tildearrow 2022-01-18 18:21:27 -05:00
parent 488bd45907
commit 5a7cf57aa2
6 changed files with 68 additions and 24 deletions

View file

@ -28,14 +28,7 @@ class DivPlatformAY8930: public DivDispatch {
};
std::queue<QueuedWrite> writes;
ay8930_device* ay;
unsigned char lastBusy;
bool dacMode;
int dacPeriod;
int dacRate;
int dacPos;
int dacSample;
unsigned char sampleBank;
unsigned char ayNoiseAnd, ayNoiseOr;
bool bank;
int delay;