summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/spg2xx_io.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/spg2xx_io.h')
-rw-r--r--src/devices/machine/spg2xx_io.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/devices/machine/spg2xx_io.h b/src/devices/machine/spg2xx_io.h
index 37cd0d6141f..f9bd8c4e1fb 100644
--- a/src/devices/machine/spg2xx_io.h
+++ b/src/devices/machine/spg2xx_io.h
@@ -40,7 +40,6 @@ public:
virtual DECLARE_READ16_MEMBER(io_extended_r);
virtual DECLARE_WRITE16_MEMBER(io_extended_w);
-
auto pal_read_callback() { return m_pal_read_cb.bind(); };
auto write_timer_irq_callback() { return m_timer_irq_cb.bind(); };
@@ -49,6 +48,8 @@ public:
auto write_ffrq_tmr1_irq_callback() { return m_ffreq_tmr1_irq_cb.bind(); };
auto write_ffrq_tmr2_irq_callback() { return m_ffreq_tmr2_irq_cb.bind(); };
+ auto write_fiq_vector_callback() { return m_fiq_vector_w.bind(); };
+
protected:
spg2xx_io_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, const uint32_t sprite_limit)
: spg2xx_io_device(mconfig, type, tag, owner, clock)
@@ -140,6 +141,9 @@ protected:
emu_timer *m_rng_timer;
+ uint8_t m_sio_bits_remaining;
+ bool m_sio_writing;
+
required_device<unsp_device> m_cpu;
required_device<screen_device> m_screen;
@@ -150,6 +154,8 @@ protected:
devcb_write_line m_external_irq_cb;
devcb_write_line m_ffreq_tmr1_irq_cb;
devcb_write_line m_ffreq_tmr2_irq_cb;
+
+ devcb_write8 m_fiq_vector_w;
};
class spg24x_io_device : public spg2xx_io_device