summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa/isa.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-12-22 12:46:18 -0500
committer AJR <ajrhacker@users.noreply.github.com>2019-12-22 12:46:18 -0500
commit9f745f786e645e7ac57142fbe6f28aefe844deee (patch)
tree940e3caa3f1105a268d5df7e2fb7ed18907920a6 /src/devices/bus/isa/isa.cpp
parent3dd22962b91bbdd76b6158c9a9c59cc2040517fa (diff)
isa: Provisional ready line interface (nw)
Diffstat (limited to 'src/devices/bus/isa/isa.cpp')
-rw-r--r--src/devices/bus/isa/isa.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/devices/bus/isa/isa.cpp b/src/devices/bus/isa/isa.cpp
index 5d56e949380..303ffb289ae 100644
--- a/src/devices/bus/isa/isa.cpp
+++ b/src/devices/bus/isa/isa.cpp
@@ -125,6 +125,7 @@ isa8_device::isa8_device(const machine_config &mconfig, device_type type, const
m_out_drq1_cb(*this),
m_out_drq2_cb(*this),
m_out_drq3_cb(*this),
+ m_write_iochrdy(*this),
m_write_iochck(*this)
{
std::fill(std::begin(m_dma_device), std::end(m_dma_device), nullptr);
@@ -223,6 +224,7 @@ void isa8_device::device_config_complete()
void isa8_device::device_resolve_objects()
{
// resolve callbacks
+ m_write_iochrdy.resolve_safe();
m_write_iochck.resolve_safe();
m_out_irq2_cb.resolve_safe();
@@ -407,6 +409,11 @@ void isa8_device::eop_w(int channel, int state)
m_dma_device[channel]->eop_w(state);
}
+void isa8_device::set_ready(bool ready)
+{
+ m_write_iochrdy(ready);
+}
+
void isa8_device::nmi()
{
// active low pulse