src/mess/machine/apple2gs.c
| r15012 | r15013 | |
| 916 | 916 | UINT8 result; |
| 917 | 917 | scc8530_t *scc; |
| 918 | 918 | |
| 919 | if(space->debugger_access()) |
| 920 | { |
| 921 | return 0; |
| 922 | } |
| 923 | |
| 919 | 924 | offset &= 0xFF; |
| 920 | 925 | |
| 921 | 926 | switch(offset) |
| r15012 | r15013 | |
| 1599 | 1604 | slotdevice = NULL; |
| 1600 | 1605 | |
| 1601 | 1606 | // if CFFF accessed, reset C800 area to internal ROM |
| 1602 | | if ((address & 0xfff) == 0xfff) |
| 1603 | | { |
| 1604 | | state->m_a2_cnxx_slot = -1; |
| 1605 | | apple2_update_memory(space.machine()); |
| 1606 | | } |
| 1607 | if(!space.debugger_access()) |
| 1608 | { |
| 1609 | if ((address & 0xfff) == 0xfff) |
| 1610 | { |
| 1611 | state->m_a2_cnxx_slot = -1; |
| 1612 | apple2_update_memory(space.machine()); |
| 1613 | } |
| 1614 | } |
| 1607 | 1615 | |
| 1608 | 1616 | if ( state->m_a2_cnxx_slot >= 0 && state->m_a2_cnxx_slot <= 7 ) |
| 1609 | 1617 | { |
| r15012 | r15013 | |
| 1631 | 1639 | int slot; |
| 1632 | 1640 | |
| 1633 | 1641 | // if CFFF accessed, reset C800 area to internal ROM |
| 1634 | | if ((address & 0xfff) == 0xfff) |
| 1635 | | { |
| 1636 | | state->m_a2_cnxx_slot = -1; |
| 1637 | | apple2_update_memory(space.machine()); |
| 1638 | | } |
| 1642 | if(!space.debugger_access()) |
| 1643 | { |
| 1644 | if ((address & 0xfff) == 0xfff) |
| 1645 | { |
| 1646 | state->m_a2_cnxx_slot = -1; |
| 1647 | apple2_update_memory(space.machine()); |
| 1648 | } |
| 1649 | } |
| 1639 | 1650 | |
| 1640 | 1651 | if ((state->m_shadow & 0x40) && ((address & 0xF00000) == 0x000000)) |
| 1641 | 1652 | { |