Previous 199869 Revisions Next

r31667 Saturday 16th August, 2014 at 02:46:26 UTC by R. Belmont
(MESS) Apple II: add more debugger guards around C800 bankswitch [Peter Ferrie, R. Belmont]
[src/mess/machine]apple2.c

trunk/src/mess/machine/apple2.c
r31666r31667
450450
451451   if (slotdevice != NULL)
452452   {
453      if (slotdevice->take_c800())
453      if ((slotdevice->take_c800()) && (!space.debugger_access()))
454454      {
455455//          printf("c1xx_r: taking cnxx_slot to %d\n", slotnum);
456456         m_a2_cnxx_slot = slotnum;
r31666r31667
499499   // is a card installed in this slot?
500500   if (slotdevice != NULL)
501501   {
502      if (slotdevice->take_c800())
502      if ((slotdevice->take_c800()) && (!space.debugger_access()))
503503      {
504504//          printf("c3xx_r: taking cnxx_slot to %d\n", slotnum);
505505         m_a2_cnxx_slot = slotnum;
r31666r31667
526526
527527   if (slotdevice != NULL)
528528   {
529      if (slotdevice->take_c800())
529      if ((slotdevice->take_c800()) && (!space.debugger_access()))
530530      {
531531//          printf("c3xx_w: taking cnxx_slot to %d\n", slotnum);
532532         m_a2_cnxx_slot = slotnum;
r31666r31667
552552   // is a card installed in this slot?
553553   if (slotdevice != NULL)
554554   {
555      if (slotdevice->take_c800() && (m_a2_cnxx_slot != slotnum))
555      if (slotdevice->take_c800() && (m_a2_cnxx_slot != slotnum) && (!space.debugger_access()))
556556      {
557557         m_a2_cnxx_slot = slotnum;
558558         apple2_update_memory();
r31666r31667
578578
579579   if (slotdevice != NULL)
580580   {
581      if (slotdevice->take_c800())
581      if ((slotdevice->take_c800()) && (!space.debugger_access()))
582582      {
583583//          printf("c4xx_w: taking cnxx_slot to %d\n", slotnum);
584584         m_a2_cnxx_slot = slotnum;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team