add a chip playground

in debug menu
This commit is contained in:
tildearrow 2022-02-01 18:08:19 -05:00
parent 3ca7ebd1fc
commit d691ec6d76
30 changed files with 226 additions and 0 deletions

View file

@ -408,6 +408,14 @@ void DivPlatformAY8930::notifyInsDeletion(void* ins) {
}
}
void DivPlatformAY8930::poke(unsigned int addr, unsigned short val) {
immWrite(addr,val);
}
void DivPlatformAY8930::poke(std::vector<DivRegWrite>& wlist) {
for (DivRegWrite& i: wlist) immWrite(i.addr,i.val);
}
void DivPlatformAY8930::setFlags(unsigned int flags) {
switch (flags&15) {
case 1: