summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/isbc.cpp
diff options
context:
space:
mode:
author Joakim Larsson Edstrom <joakimlarsson42@gmail.com>2017-03-19 00:41:38 +0100
committer Joakim Larsson Edstrom <joakimlarsson42@gmail.com>2017-03-19 00:41:38 +0100
commit101fb1eb18cf5b0abb740c7e11b086057c84b0cf (patch)
tree310bfa2bd5ffedb9f6446e6c44031092ca331294 /src/mame/drivers/isbc.cpp
parentf8064739e47a3bbdc3cb91ceb5251660a00403f8 (diff)
isbc2861: hooked up the SIO irq through the 8259 and removed the m1_r() workaround
Diffstat (limited to 'src/mame/drivers/isbc.cpp')
-rw-r--r--src/mame/drivers/isbc.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mame/drivers/isbc.cpp b/src/mame/drivers/isbc.cpp
index 7a468794fb3..9e0c9adc31b 100644
--- a/src/mame/drivers/isbc.cpp
+++ b/src/mame/drivers/isbc.cpp
@@ -60,7 +60,7 @@ public:
DECLARE_WRITE_LINE_MEMBER(isbc86_tmr2_w);
DECLARE_WRITE_LINE_MEMBER(isbc286_tmr2_w);
- DECLARE_WRITE_LINE_MEMBER(isbc_uart8274_irq);
+// DECLARE_WRITE_LINE_MEMBER(isbc_uart8274_irq);
DECLARE_READ8_MEMBER(get_slave_ack);
DECLARE_WRITE8_MEMBER(ppi_c_w);
protected:
@@ -218,11 +218,13 @@ WRITE8_MEMBER( isbc_state::ppi_c_w )
m_pic_1->ir7_w(0);
}
+#if 0
WRITE_LINE_MEMBER(isbc_state::isbc_uart8274_irq)
{
m_uart8274->m1_r(); // always set
m_pic_0->ir6_w(state);
}
+#endif
static MACHINE_CONFIG_START( isbc86, isbc_state )
/* basic machine hardware */
@@ -362,7 +364,8 @@ static MACHINE_CONFIG_START( isbc286, isbc_state )
MCFG_Z80SIO_OUT_TXDB_CB(DEVWRITELINE("rs232b", rs232_port_device, write_txd))
MCFG_Z80SIO_OUT_DTRB_CB(DEVWRITELINE("rs232b", rs232_port_device, write_dtr))
MCFG_Z80SIO_OUT_RTSB_CB(DEVWRITELINE("rs232b", rs232_port_device, write_rts))
- MCFG_Z80SIO_OUT_INT_CB(WRITELINE(isbc_state, isbc_uart8274_irq))
+// MCFG_Z80SIO_OUT_INT_CB(WRITELINE(isbc_state, isbc_uart8274_irq))
+ MCFG_Z80SIO_OUT_INT_CB(DEVWRITELINE("pic_0", pic8259_device, ir6_w))
#endif
MCFG_RS232_PORT_ADD("rs232a", default_rs232_devices, nullptr)