summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/hpc3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/hpc3.cpp')
-rw-r--r--src/mame/machine/hpc3.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/mame/machine/hpc3.cpp b/src/mame/machine/hpc3.cpp
index aa866bd29e4..e682b0d5c60 100644
--- a/src/mame/machine/hpc3.cpp
+++ b/src/mame/machine/hpc3.cpp
@@ -1055,3 +1055,27 @@ WRITE32_MEMBER(hpc3_base_device::eeprom_w)
m_eeprom->cs_write(BIT(data, 1));
m_eeprom->clk_write(BIT(data, 2));
}
+
+WRITE_LINE_MEMBER(hpc3_base_device::gio_int0)
+{
+ if (state == ASSERT_LINE)
+ raise_local_irq(0, ioc2_device::INT3_LOCAL0_FIFO);
+ else
+ lower_local_irq(0, ioc2_device::INT3_LOCAL0_FIFO);
+}
+
+WRITE_LINE_MEMBER(hpc3_base_device::gio_int1)
+{
+ if (state == ASSERT_LINE)
+ raise_local_irq(0, ioc2_device::INT3_LOCAL0_GRAPHICS);
+ else
+ lower_local_irq(0, ioc2_device::INT3_LOCAL0_GRAPHICS);
+}
+
+WRITE_LINE_MEMBER(hpc3_base_device::gio_int2)
+{
+ if (state == ASSERT_LINE)
+ raise_local_irq(1, ioc2_device::INT3_LOCAL1_RETRACE);
+ else
+ lower_local_irq(1, ioc2_device::INT3_LOCAL1_RETRACE);
+}