summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/hp_dio/hp_dio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/hp_dio/hp_dio.h')
-rw-r--r--src/devices/bus/hp_dio/hp_dio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/bus/hp_dio/hp_dio.h b/src/devices/bus/hp_dio/hp_dio.h
index 938e267b7f6..d44a9e3bf66 100644
--- a/src/devices/bus/hp_dio/hp_dio.h
+++ b/src/devices/bus/hp_dio/hp_dio.h
@@ -89,6 +89,7 @@ public:
void unmap_bank(offs_t start, offs_t end);
void unmap_rom(offs_t start, offs_t end);
+ address_space *program_space() { return m_prgspace; }
// IRQs 1, 2, and 7 are reserved for non-bus usage.
@@ -186,6 +187,7 @@ protected:
virtual void interface_pre_start() override;
int get_index() { return m_index; };
+ address_space *program_space() { return m_dio_dev->program_space(); }
DECLARE_WRITE_LINE_MEMBER(irq1_out) { m_dio_dev->set_irq(m_index, 0, state); }
DECLARE_WRITE_LINE_MEMBER(irq2_out) { m_dio_dev->set_irq(m_index, 1, state); }