OPL: some work - still does not work

This commit is contained in:
tildearrow 2022-03-07 17:07:29 -05:00
parent 27758434af
commit 03d2f87804
3 changed files with 114 additions and 72 deletions

View file

@ -67,22 +67,17 @@ class DivPlatformOPL: public DivDispatch {
const unsigned char** slotsNonDrums;
const unsigned char** slotsDrums;
const unsigned char** slots;
const unsigned char* chanMap;
const unsigned short* chanMap;
int delay, oplType;
unsigned char lastBusy;
unsigned char regPool[512];
bool dacMode;
int dacPeriod;
int dacRate;
unsigned int dacPos;
int dacSample;
unsigned char sampleBank;
bool properDrums, properDrumsSys;
unsigned char lfoValue;
bool extMode, useYMFM;
bool ladder;
bool useYMFM;
short oldWrites[512];
short pendingWrites[512];
@ -107,7 +102,7 @@ class DivPlatformOPL: public DivDispatch {
void muteChannel(int ch, bool mute);
bool isStereo();
void setYMFM(bool use);
void setOPLType(int type);
void setOPLType(int type, bool drums);
bool keyOffAffectsArp(int ch);
bool keyOffAffectsPorta(int ch);
void toggleRegisterDump(bool enable);