diff options
Diffstat (limited to 'src/mame/includes/xavix.h')
-rw-r--r-- | src/mame/includes/xavix.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/mame/includes/xavix.h b/src/mame/includes/xavix.h index d8004c00817..4bb1084ec1a 100644 --- a/src/mame/includes/xavix.h +++ b/src/mame/includes/xavix.h @@ -122,7 +122,6 @@ public: DECLARE_WRITE_LINE_MEMBER(ioevent_trg04); DECLARE_WRITE_LINE_MEMBER(ioevent_trg08); - int m_rgnlen; uint8_t* m_rgn; @@ -211,6 +210,11 @@ private: virtual void video_start() override; + DECLARE_WRITE8_MEMBER(debug_mem_w) + { + m_mainram[offset] = data; + }; + virtual uint8_t opcodes_000000_r(offs_t offset) { if (offset & 0x8000) @@ -909,6 +913,20 @@ protected: required_device<i2cmem_device> m_i2cmem; }; +class xavix_popira2_cart_state : public xavix_cart_state +{ +public: + xavix_popira2_cart_state(const machine_config &mconfig, device_type type, const char *tag) + : xavix_cart_state(mconfig,type,tag) + { } + + DECLARE_CUSTOM_INPUT_MEMBER(i2c_r); + +protected: + virtual void write_io1(uint8_t data, uint8_t direction) override; + +}; + class xavix_ekara_state : public xavix_cart_state { |