19class Isepic final :
public Cartridge {
21 CartridgeTraits traits = {
31 virtual const CartridgeTraits &getCartridgeTraits()
const override {
return traits; }
37 MemoryType oldPeekSource;
38 MemoryType oldPokeTarget;
54 void _dump(Category category, std::ostream& os)
const override;
63 Isepic& operator= (
const Isepic& other) {
65 Cartridge::operator=(other);
73 virtual void clone(
const Cartridge &other)
override { *
this = (
const Isepic &)other; }
76 void serialize(T& worker)
82 if (isResetter(worker))
return;
89 } CARTRIDGE_SERIALIZERS(serialize);
91 void _reset(
bool hard)
override;
98 u8 peek(u16 addr)
override;
99 u8 peekIO1(u16 addr)
override;
100 u8 spypeekIO1(u16 addr)
const override;
101 u8 peekIO2(u16 addr)
override;
102 u8 spypeekIO2(u16 addr)
const override;
103 void poke(u16 addr, u8 value)
override;
104 void pokeIO1(u16 addr, u8 value)
override;
105 void pokeIO2(u16 addr, u8 value)
override;
112 const char *getSwitchDescription(isize pos)
const override;
113 void setSwitch(isize pos)
override;
114 bool switchInOffPosition()
const {
return switchIsLeft(); }
115 bool switchInOnPosition()
const {
return switchIsRight(); }
117 bool cartIsVisible()
const {
return switchInOnPosition(); }
118 bool cartIsHidden()
const {
return !cartIsVisible(); }
125 void updatePeekPokeLookupTables()
override;
VirtualC64 project namespace.
Definition CmdQueue.cpp:16