summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa/aha174x.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/isa/aha174x.cpp')
-rw-r--r--src/devices/bus/isa/aha174x.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/devices/bus/isa/aha174x.cpp b/src/devices/bus/isa/aha174x.cpp
index 4568eb32762..be248ca8931 100644
--- a/src/devices/bus/isa/aha174x.cpp
+++ b/src/devices/bus/isa/aha174x.cpp
@@ -47,6 +47,7 @@ aha174x_device::aha174x_device(const machine_config &mconfig, device_type type,
, device_isa16_card_interface(mconfig, *this)
, m_hpc(*this, "hpc")
, m_busaic(*this, "busaic")
+ , m_fifo(*this, "fifo%u", 0U)
, m_bios(*this, "bios")
{
}
@@ -72,6 +73,10 @@ void aha174x_device::hpc_map(address_map &map)
map(0x2000, 0x2003).rw(m_busaic, FUNC(aic565_device::local_r), FUNC(aic565_device::local_w));
map(0x4000, 0x4002).rw("bmic", FUNC(i82355_device::local_r), FUNC(i82355_device::local_w));
map(0x5000, 0x500f).m("scsi:7:scsic", FUNC(aic6251a_device::map));
+ map(0x7000, 0x7000).w(m_fifo[0], FUNC(fifo7200_device::data_byte_w));
+ map(0x7001, 0x7001).w(m_fifo[1], FUNC(fifo7200_device::data_byte_w));
+ map(0x7002, 0x7002).r(m_fifo[0], FUNC(fifo7200_device::data_byte_r));
+ map(0x7003, 0x7003).r(m_fifo[1], FUNC(fifo7200_device::data_byte_r));
map(0x8000, 0xffff).rom().region("mcode", 0);
}
@@ -122,6 +127,9 @@ void aha1742a_device::device_add_mconfig(machine_config &config)
I82355(config, "bmic", 0);
//bmic.lint_callback().set_inputline(m_hpc, hpc_device::I2_LINE);
+ IDT7201(config, m_fifo[0]);
+ IDT7201(config, m_fifo[1]);
+
NSCSI_BUS(config, "scsi");
NSCSI_CONNECTOR(config, "scsi:0", aha174x_scsi_devices, nullptr);
NSCSI_CONNECTOR(config, "scsi:1", aha174x_scsi_devices, nullptr);