(nw) Fixed the build.

This commit is contained in:
Robbbert 2019-12-07 21:26:46 +11:00
parent a6608152b9
commit b1de88f51d

View File

@ -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;