summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ti99_peb/ti_fdc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ti99_peb/ti_fdc.cpp')
-rw-r--r--src/devices/bus/ti99_peb/ti_fdc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/ti99_peb/ti_fdc.cpp b/src/devices/bus/ti99_peb/ti_fdc.cpp
index c4bf5e2c19c..8bcfb4ac179 100644
--- a/src/devices/bus/ti99_peb/ti_fdc.cpp
+++ b/src/devices/bus/ti99_peb/ti_fdc.cpp
@@ -142,7 +142,7 @@ void ti_fdc_device::debug_read(offs_t offset, uint8_t* value)
READ8Z_MEMBER(ti_fdc_device::readz)
{
- if (space.debugger_access())
+ if (machine().side_effect_disabled())
{
debug_read(offset, value);
return;
@@ -156,7 +156,7 @@ READ8Z_MEMBER(ti_fdc_device::readz)
if (m_WDsel && ((m_address & 9)==0))
{
- if (!space.debugger_access()) reply = m_fd1771->gen_r((offset >> 1)&0x03);
+ if (!machine().side_effect_disabled()) reply = m_fd1771->gen_r((offset >> 1)&0x03);
if (TRACE_DATA)
{
if ((m_address & 0xffff)==0x5ff6)
@@ -183,7 +183,7 @@ READ8Z_MEMBER(ti_fdc_device::readz)
WRITE8_MEMBER(ti_fdc_device::write)
{
- if (space.debugger_access()) return;
+ if (machine().side_effect_disabled()) return;
if (m_inDsrArea && m_selected)
{
@@ -201,7 +201,7 @@ WRITE8_MEMBER(ti_fdc_device::write)
{
// As this is a memory-mapped access we must prevent the debugger
// from messing with the operation
- if (!space.debugger_access()) m_fd1771->gen_w((offset >> 1)&0x03, data);
+ if (!machine().side_effect_disabled()) m_fd1771->gen_w((offset >> 1)&0x03, data);
}
}
}