public void Poke(int addr, int val) { switch (addr & 0xFC00) { case 0x1800: Via0.Poke(addr, val); break; case 0x1C00: Via1.Poke(addr, val); break; default: if ((addr & 0x8000) == 0 && (addr & 0x1F00) < 0x800) _ram[addr & 0x7FF] = val & 0xFF; break; } }
public void PokeVia0(int addr, int val) { Via0.Poke(addr, val); }