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

@ -349,6 +349,14 @@ void DivPlatformC64::reset() {
vol=15;
}
void DivPlatformC64::poke(unsigned int addr, unsigned short val) {
rWrite(addr,val);
}
void DivPlatformC64::poke(std::vector<DivRegWrite>& wlist) {
for (DivRegWrite& i: wlist) rWrite(i.addr,i.val);
}
void DivPlatformC64::setChipModel(bool is6581) {
if (is6581) {
sid.set_chip_model(MOS6581);