mirror of
https://github.com/holub/mame
synced 2025-06-01 10:31:48 +03:00
apple3: debugger-guard the $C800 switching [R. Belmont, Rob Justice]
This commit is contained in:
parent
56b000344e
commit
c7aa273254
@ -124,7 +124,10 @@ uint8_t apple3_state::apple3_c0xx_r(offs_t offset)
|
|||||||
case 0x24: case 0x25: case 0x26: case 0x27:
|
case 0x24: case 0x25: case 0x26: case 0x27:
|
||||||
case 0x28: case 0x29: case 0x2A: case 0x2B:
|
case 0x28: case 0x29: case 0x2A: case 0x2B:
|
||||||
case 0x2C: case 0x2D: case 0x2E: case 0x2F:
|
case 0x2C: case 0x2D: case 0x2E: case 0x2F:
|
||||||
|
if (!machine().side_effects_disabled())
|
||||||
|
{
|
||||||
m_cnxx_slot = -1;
|
m_cnxx_slot = -1;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x30: case 0x31: case 0x32: case 0x33:
|
case 0x30: case 0x31: case 0x32: case 0x33:
|
||||||
@ -813,6 +816,10 @@ uint8_t apple3_state::apple3_memory_r(offs_t offset)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (machine().side_effects_disabled())
|
||||||
|
{
|
||||||
|
return 0xff;
|
||||||
|
}
|
||||||
/* now identify the device */
|
/* now identify the device */
|
||||||
device_a2bus_card_interface *slotdevice = m_a2bus->get_a2bus_card((offset>>8) & 0x7);
|
device_a2bus_card_interface *slotdevice = m_a2bus->get_a2bus_card((offset>>8) & 0x7);
|
||||||
|
|
||||||
@ -838,6 +845,8 @@ uint8_t apple3_state::apple3_memory_r(offs_t offset)
|
|||||||
rv = m_bank11[offset - 0xc800];
|
rv = m_bank11[offset - 0xc800];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
if (!machine().side_effects_disabled())
|
||||||
{
|
{
|
||||||
if (offset == 0xcfff)
|
if (offset == 0xcfff)
|
||||||
{
|
{
|
||||||
@ -855,6 +864,7 @@ uint8_t apple3_state::apple3_memory_r(offs_t offset)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if (offset < 0xf000)
|
else if (offset < 0xf000)
|
||||||
{
|
{
|
||||||
rv = m_bank6[offset - 0xd000];
|
rv = m_bank6[offset - 0xd000];
|
||||||
|
Loading…
Reference in New Issue
Block a user