summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/bus/s100/ascsasi.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/s100/ascsasi.cpp b/src/devices/bus/s100/ascsasi.cpp
index 7a52a8cb7e0..ef8b2d329e3 100644
--- a/src/devices/bus/s100/ascsasi.cpp
+++ b/src/devices/bus/s100/ascsasi.cpp
@@ -170,7 +170,7 @@ u8 asc_sasi_device::s100_sinp_r(offs_t offset)
else
{
// INDAT: 74LS240 buffer (IC13)
- if (!machine().side_effects_disabled() && (m_sasi->ctrl_r() && nscsi_device::S_REQ))
+ if (!machine().side_effects_disabled() && (m_sasi->ctrl_r() & nscsi_device::S_REQ))
m_sasi->ctrl_w(7, nscsi_device::S_ACK, nscsi_device::S_ACK);
return m_sasi->data_r();
}
@@ -187,10 +187,10 @@ void asc_sasi_device::s100_sout_w(offs_t offset, u8 data)
{
case 0:
// LATENA: 74LS373 latch (IC8) outputs to 74LS240 buffer (IC9)
- if (!machine().side_effects_disabled() && (m_sasi->ctrl_r() && nscsi_device::S_REQ))
+ if (!machine().side_effects_disabled() && (m_sasi->ctrl_r() & nscsi_device::S_REQ))
m_sasi->ctrl_w(7, nscsi_device::S_ACK, nscsi_device::S_ACK);
m_data_latch = data;
- if (!(m_sasi->ctrl_r() && nscsi_device::S_INP))
+ if (!(m_sasi->ctrl_r() & nscsi_device::S_INP))
m_sasi->data_w(7, data);
break;