mirror of
https://github.com/holub/mame
synced 2025-07-01 08:18:59 +03:00
abc1600: Disable debugger side effects. [Curt Coder]
This commit is contained in:
parent
16a8b6da43
commit
9afdc9c6d8
@ -194,7 +194,10 @@ inline offs_t abc1600_mac_device::get_physical_offset(offs_t offset, int task, b
|
|||||||
nonx = PAGE_NONX;
|
nonx = PAGE_NONX;
|
||||||
wp = PAGE_WP;
|
wp = PAGE_WP;
|
||||||
|
|
||||||
m_cause = ((offset >> 13) & 0x1f) | DMAOK;
|
if (!machine().side_effects_disabled())
|
||||||
|
{
|
||||||
|
m_cause = ((offset >> 13) & 0x1f) | DMAOK;
|
||||||
|
}
|
||||||
|
|
||||||
if (LOG && (offset != virtual_offset)) logerror("%s MAC %05x:%06x (SEGA %03x SEGD %02x PGA %03x PGD %04x NONX %u WP %u TASK %u FC %u MAGIC %u)\n",
|
if (LOG && (offset != virtual_offset)) logerror("%s MAC %05x:%06x (SEGA %03x SEGD %02x PGA %03x PGD %04x NONX %u WP %u TASK %u FC %u MAGIC %u)\n",
|
||||||
machine().describe_context(), offset, virtual_offset, sega, segd, pga, page_data, nonx, wp, task, m_cpu->get_fc(), m_magic);
|
machine().describe_context(), offset, virtual_offset, sega, segd, pga, page_data, nonx, wp, task, m_cpu->get_fc(), m_magic);
|
||||||
@ -339,7 +342,10 @@ uint8_t abc1600_mac_device::cause_r()
|
|||||||
data = 0x02 | m_cause;
|
data = 0x02 | m_cause;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_watchdog->watchdog_reset();
|
if (!machine().side_effects_disabled())
|
||||||
|
{
|
||||||
|
m_watchdog->watchdog_reset();
|
||||||
|
}
|
||||||
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user