Diff for /np2/pccore.c between versions 1.19 and 1.21

version 1.19, 2003/11/21 06:51:10 version 1.21, 2003/11/28 08:01:32
Line 31 Line 31
 #include        "timing.h"  #include        "timing.h"
 //#include      "hostdrv.h"  //#include      "hostdrv.h"
 #include        "debugsub.h"  #include        "debugsub.h"
   #include        "dosio.h"
   
   
         const char      np2version[] = NP2VER_CORE;          const char      np2version[] = NP2VER_CORE;
Line 519  void pccore_exec(BOOL draw) { Line 520  void pccore_exec(BOOL draw) {
                         i286_resetprefetch();                          i286_resetprefetch();
                 }                  }
   
 #ifndef TRACE  #if 1   // ndef TRACE
                 if (I286_REMCLOCK > 0) {                  if (I286_REMCLOCK > 0) {
                         if (!(CPUTYPE & CPUTYPE_V30)) {                          if (!(CPUTYPE & CPUTYPE_V30)) {
                                 i286();                                  i286();
Line 530  void pccore_exec(BOOL draw) { Line 531  void pccore_exec(BOOL draw) {
                 }                  }
 #else  #else
                 while(I286_REMCLOCK > 0) {                  while(I286_REMCLOCK > 0) {
 #if 0  
                         TRACEOUT(("%.4x:%.4x", I286_CS, I286_IP));  
 #elif 1  
                         if ((I286_CS == 0x1c29) && (I286_IP == 0x01E9)) {  
                                 if (I286_BX) {  
                                         TRACEOUT(("set %.4x", I286_BX));  
                                 }  
                         }  
                         if ((I286_CS == 0x4159) && (I286_IP == 0x02d6)) {  
                                 if (I286_AX) {  
                                         TRACEOUT(("get %d", (short)I286_AX));  
                                 }  
                         }  
 #else  
                         if (I286_CS == 0x4159) {  
                                 if ((I286_IP >= 0x02d1) && (I286_IP < 0x02e3)) {  
                                         TRACEOUT(("%s", debugsub_regs()));  
                                 }  
                         }  
 #endif  
                         i286_step();                          i286_step();
                 }                  }
 #endif  #endif
                 nevent_progress();                  nevent_progress();
         }          }
         artic_callback();                                                                                               // ver0.28          artic_callback();
         mpu98ii_callback();          mpu98ii_callback();
         diskdrv_callback();          diskdrv_callback();
         calendar_inc();          calendar_inc();

Removed from v.1.19  
changed lines
  Added in v.1.21


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