ZX beeper: "register" view
This commit is contained in:
parent
cb63921747
commit
c685b60a3c
|
@ -250,11 +250,12 @@ DivDispatchOscBuffer* DivPlatformZXBeeper::getOscBuffer(int ch) {
|
|||
}
|
||||
|
||||
unsigned char* DivPlatformZXBeeper::getRegisterPool() {
|
||||
return regPool;
|
||||
ulaOut=sOffTimer?0x10:0x08;
|
||||
return &ulaOut;
|
||||
}
|
||||
|
||||
int DivPlatformZXBeeper::getRegisterPoolSize() {
|
||||
return 112;
|
||||
return 1;
|
||||
}
|
||||
|
||||
void DivPlatformZXBeeper::reset() {
|
||||
|
@ -274,6 +275,7 @@ void DivPlatformZXBeeper::reset() {
|
|||
curChan=0;
|
||||
sOffTimer=0;
|
||||
sampleBank=0;
|
||||
ulaOut=0;
|
||||
}
|
||||
|
||||
bool DivPlatformZXBeeper::keyOffAffectsArp(int ch) {
|
||||
|
|
|
@ -73,7 +73,7 @@ class DivPlatformZXBeeper: public DivDispatch {
|
|||
QueuedWrite(unsigned char a, unsigned char v): addr(a), val(v) {}
|
||||
};
|
||||
std::queue<QueuedWrite> writes;
|
||||
unsigned char lastPan;
|
||||
unsigned char lastPan, ulaOut;
|
||||
|
||||
int cycles, curChan, sOffTimer, delay;
|
||||
int tempL[32];
|
||||
|
|
Loading…
Reference in New Issue