Diff for /np2/pccore.c between versions 1.96 and 1.98

version 1.96, 2005/02/04 05:32:22 version 1.98, 2005/02/27 15:07:35
Line 502  static void drawscreen(void) { Line 502  static void drawscreen(void) {
                 }                  }
         }          }
         if (screenupdate) {          if (screenupdate) {
                 screenupdate = scrndraw_draw((BYTE)(screenupdate & 2));                  screenupdate = scrndraw_draw((UINT8)(screenupdate & 2));
                 drawcount++;                  drawcount++;
         }          }
 }  }
Line 548  void screenvsync(NEVENTITEM item) { Line 548  void screenvsync(NEVENTITEM item) {
   
 // ---------------------------------------------------------------------------  // ---------------------------------------------------------------------------
   
 // #define SINGLESTEPONLY  // #define      SINGLESTEPONLY
 // #define      IPTRACE                 (1 << 12)  // #define      IPTRACE                 (1 << 12)
   
 #if defined(TRACE) && IPTRACE  #if defined(TRACE) && IPTRACE
Line 634  void pccore_exec(BOOL draw) { Line 634  void pccore_exec(BOOL draw) {
 #else  #else
                 while(CPU_REMCLOCK > 0) {                  while(CPU_REMCLOCK > 0) {
 #if 0  #if 0
                           if (CPU_CS == 0x05a0) {
                                   if (CPU_IP == 0xe2) {
                                           TRACEOUT(("result: %.2x", CPU_AH));
                                   }
                           }
   #endif
   #if 0
                         if (CPU_CS == 0x0000) {                          if (CPU_CS == 0x0000) {
                                 if (CPU_IP == 0x1191) {                                  if (CPU_IP == 0x1191) {
                                         char buf[10];                                          char buf[10];
Line 690  void pccore_exec(BOOL draw) { Line 697  void pccore_exec(BOOL draw) {
                                 if (CPU_IP == 0x4BF8) {                                  if (CPU_IP == 0x4BF8) {
                                         debugsub_memorydump();                                          debugsub_memorydump();
                                 }                                  }
 #if 1  #if 0
                                 if (CPU_IP == 0x4B7A) {                                  if (CPU_IP == 0x4B7A) {
                                         TRACEOUT(("datum = %x", CPU_AX));                                          TRACEOUT(("datum = %x", CPU_AX));
                                 }                                  }
Line 723  void pccore_exec(BOOL draw) { Line 730  void pccore_exec(BOOL draw) {
                                 }                                  }
                         }                          }
 #endif  #endif
 #if 1  #if 0
                         if (CPU_CS == 0x60) {                          if (CPU_CS == 0x60) {
                                 if (CPU_IP == 0x8AC2) {                                  if (CPU_IP == 0x8AC2) {
                                         UINT pos = CPU_SI + (CPU_AX * 6);                                          UINT pos = CPU_SI + (CPU_AX * 6);

Removed from v.1.96  
changed lines
  Added in v.1.98


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