mirror of
https://github.com/holub/mame
synced 2025-04-23 17:00:53 +03:00
(nw) Fixed the build.
This commit is contained in:
parent
a6608152b9
commit
b1de88f51d
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user