Diff for /np2/i386c/ia32/interface.c between versions 1.14 and 1.15

version 1.14, 2004/03/05 14:17:35 version 1.15, 2004/03/06 18:07:37
Line 31 Line 31
 #include "cpu.h"  #include "cpu.h"
 #include "ia32.mcr"  #include "ia32.mcr"
   
   #include "pccore.h"
   #include "iocore.h"
 #include "dmap.h"  #include "dmap.h"
 #include "bios.h"  #include "bios.h"
 #if defined(IA32_REBOOT_ON_PANIC)  #if defined(IA32_REBOOT_ON_PANIC)
Line 115  ia32(void) Line 117  ia32(void)
                 break;                  break;
         }          }
   
         do {          if (CPU_TRAP) {
                 exec_1step();                  do {
         } while (CPU_REMCLOCK > 0);                          exec_1step();
 }                          if (CPU_TRAP) {
                                   ia32_interrupt(1);
 void                          }
 ia32withtrap(void)                          dmap_i286();
 {                  } while (CPU_REMCLOCK > 0);
         int rv;          } else if (dmac.working) {
                   do {
         rv = sigsetjmp(exec_1step_jmpbuf, 1);                          exec_1step();
         switch (rv) {                          dmap_i286();
         case 0:                  } while (CPU_REMCLOCK > 0);
                 break;          } else {
                   do {
         case 1:                          exec_1step();
                 VERBOSE(("ia32withtrap: return from exception"));                  } while (CPU_REMCLOCK > 0);
                 break;  
   
         case 2:  
                 VERBOSE(("ia32withtrap: return from panic"));  
                 return;  
   
         default:  
                 VERBOSE(("ia32withtrap: return from unknown cause"));  
                 break;  
         }  
   
         do {  
                 exec_1step();  
                 if (CPU_TRAP) {  
                         ia32_interrupt(1);  
                 }  
         } while (CPU_REMCLOCK > 0);  
 }  
   
 void  
 ia32withdma(void)  
 {  
         int rv;  
   
         rv = sigsetjmp(exec_1step_jmpbuf, 1);  
         switch (rv) {  
         case 0:  
                 break;  
   
         case 1:  
                 VERBOSE(("ia32withdma: return from exception"));  
                 break;  
   
         case 2:  
                 VERBOSE(("ia32withdma: return from panic"));  
                 return;  
   
         default:  
                 VERBOSE(("ia32withdma: return from unknown cause"));  
                 break;  
         }          }
   
         do {  
                 exec_1step();  
                 dmap_i286();  
         } while (CPU_REMCLOCK > 0);  
 }  }
   
 void  void

Removed from v.1.14  
changed lines
  Added in v.1.15


RetroPC.NET-CVS <cvs@retropc.net>