Previous 15994 Revisions Next

r15013 Monday 23rd April, 2012 at 13:13:06 UTC by R. Belmont
Apple IIgs: make softswitches debugger-safe (nw)
[src/mess/machine]apple2gs.c

src/mess/machine/apple2gs.c
r15012r15013
916916   UINT8 result;
917917   scc8530_t *scc;
918918
919   if(space->debugger_access())
920    {
921        return 0;
922    }
923
919924   offset &= 0xFF;
920925
921926   switch(offset)
r15012r15013
15991604         slotdevice = NULL;
16001605
16011606         // 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            }
16071615
16081616         if ( state->m_a2_cnxx_slot >= 0 && state->m_a2_cnxx_slot <= 7 )
16091617         {
r15012r15013
16311639   int slot;
16321640
16331641   // 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    }
16391650
16401651   if ((state->m_shadow & 0x40) && ((address & 0xF00000) == 0x000000))
16411652   {

Previous 15994 Revisions Next


© 1998-2018 The MESS Team