diff options
Diffstat (limited to 'src/mame/machine/decioga.h')
-rw-r--r-- | src/mame/machine/decioga.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mame/machine/decioga.h b/src/mame/machine/decioga.h index 5e446f9ba2a..28e7ce53990 100644 --- a/src/mame/machine/decioga.h +++ b/src/mame/machine/decioga.h @@ -21,6 +21,12 @@ public: // irq inputs DECLARE_WRITE_LINE_MEMBER(rtc_irq_w); + DECLARE_WRITE_LINE_MEMBER(lance_irq_w); + DECLARE_WRITE_LINE_MEMBER(scc0_irq_w); + DECLARE_WRITE_LINE_MEMBER(scc1_irq_w); + + // multiplex irq output + auto irq_out() { return m_irq_out_cb.bind(); } protected: virtual void device_start() override; @@ -32,8 +38,13 @@ protected: DECLARE_WRITE32_MEMBER(intr_w); DECLARE_READ32_MEMBER(imsk_r); DECLARE_WRITE32_MEMBER(imsk_w); + private: uint32_t m_csr, m_intr, m_imsk; + + devcb_write_line m_irq_out_cb; + + void recalc_irq(); }; DECLARE_DEVICE_TYPE(DECSTATION_IOGA, dec_ioga_device) |