summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/xavix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/xavix.h')
-rw-r--r--src/mame/includes/xavix.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mame/includes/xavix.h b/src/mame/includes/xavix.h
index 6749bc0f10b..d38c0f04de6 100644
--- a/src/mame/includes/xavix.h
+++ b/src/mame/includes/xavix.h
@@ -41,6 +41,7 @@ public:
m_in1(*this, "IN1"),
m_region(*this, "REGION"),
m_gfxdecode(*this, "gfxdecode"),
+ m_lowbus(*this, "lowbus"),
m_i2cmem(*this, "i2cmem")
{ }
@@ -62,7 +63,8 @@ private:
void xavix_map(address_map &map);
void xavix_lowbus_map(address_map &map);
- void superxavix_lowbus_map(address_map &map);
+ void xavix_extbus_map(address_map &map);
+void superxavix_lowbus_map(address_map &map);
INTERRUPT_GEN_MEMBER(interrupt);
TIMER_DEVICE_CALLBACK_MEMBER(scanline_cb);
@@ -80,6 +82,9 @@ private:
DECLARE_READ8_MEMBER(main3_r);
DECLARE_WRITE8_MEMBER(main3_w);
+ DECLARE_READ8_MEMBER(extbus_r) { return m_rgn[(offset) & (m_rgnlen - 1)]; }
+ DECLARE_WRITE8_MEMBER(extbus_w) { logerror("write to external bus %06x %02x\n", offset, data); }
+
DECLARE_WRITE8_MEMBER(extintrf_7900_w);
DECLARE_WRITE8_MEMBER(extintrf_7901_w);
DECLARE_WRITE8_MEMBER(extintrf_7902_w);
@@ -292,6 +297,7 @@ private:
uint8_t get_next_byte();
int get_current_address_byte();
+ required_device<address_map_bank_device> m_lowbus;
optional_device<i2cmem_device> m_i2cmem;
};