Diff for /np2/pccore.c between versions 1.79 and 1.90

version 1.79, 2004/03/08 12:45:57 version 1.90, 2004/06/18 07:42:13
Line 52 Line 52
                                 "VX", PCBASECLOCK25, 4,                                  "VX", PCBASECLOCK25, 4,
                                 {0x48, 0x05, 0x04, 0x00, 0x01, 0x00, 0x00, 0x6e},                                  {0x48, 0x05, 0x04, 0x00, 0x01, 0x00, 0x00, 0x6e},
                                 1, 1, 2, 1, 0x000000, 0xffffff,                                  1, 1, 2, 1, 0x000000, 0xffffff,
                                 22050, 800, 4, 0,                                  22050, 500, 4, 0,
                                 {0, 0, 0}, 0xd1, 0x7f, 0xd1, 0, 0, 1,                                  {0, 0, 0}, 0xd1, 0x7f, 0xd1, 0, 0, 1,
                                 3, {0x0c, 0x0c, 0x08, 0x06, 0x03, 0x0c}, 64, 64, 64, 64, 64,                                  3, {0x0c, 0x0c, 0x08, 0x06, 0x03, 0x0c}, 64, 64, 64, 64, 64,
                                 1, 0x82,                                  1, 0x82,
Line 259  void pccore_cfgupdate(void) { Line 259  void pccore_cfgupdate(void) {
   
         renewal = FALSE;          renewal = FALSE;
         for (i=0; i<8; i++) {          for (i=0; i<8; i++) {
                 if (np2cfg.memsw[i] != mem[MEMB_MSW + i*4]) {                  if (np2cfg.memsw[i] != mem[MEMX_MSW + i*4]) {
                         np2cfg.memsw[i] = mem[MEMB_MSW + i*4];                          np2cfg.memsw[i] = mem[MEMX_MSW + i*4];
                         renewal = TRUE;                          renewal = TRUE;
                 }                  }
         }          }
Line 574  UINT cflg; Line 574  UINT cflg;
 #endif  #endif
   
   
   void pccore_postevent(UINT32 event) {   // yet!
   
           (void)event;
   }
   
 void pccore_exec(BOOL draw) {  void pccore_exec(BOOL draw) {
   
         drawframe = draw;          drawframe = draw;
         keystat_sync();  //      keystat_sync();
         soundmng_sync();          soundmng_sync();
         mouseif_sync();          mouseif_sync();
         pal_eventclear();          pal_eventclear();
Line 611  void pccore_exec(BOOL draw) { Line 616  void pccore_exec(BOOL draw) {
 #endif  #endif
                 }                  }
   
 #if 1 // ndef TRACE  #if !defined(SINGLESTEPONLY)
                 if (CPU_REMCLOCK > 0) {                  if (CPU_REMCLOCK > 0) {
                         if (!(CPU_TYPE & CPUTYPE_V30)) {                          if (!(CPU_TYPE & CPUTYPE_V30)) {
                                 CPU_EXEC();                                  CPU_EXEC();
Line 626  void pccore_exec(BOOL draw) { Line 631  void pccore_exec(BOOL draw) {
                         treip[trpos & (IPTRACE - 1)] = (CPU_CS << 16) + CPU_IP;                          treip[trpos & (IPTRACE - 1)] = (CPU_CS << 16) + CPU_IP;
                         trpos++;                          trpos++;
 #endif  #endif
 #if 0                          i286x_step();
                         if ((CPU_CS == 0xf800) && (CPU_IP == 0x0B5B)) {  //                      i286c_step();
                                 TRACEOUT(("%.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x %.2x",  
                                                         mem[0x9000], mem[0x9001],  
                                                         mem[0x9002], mem[0x9003],  
                                                         mem[0x9004], mem[0x9005],  
                                                         mem[0x9006], mem[0x9007],  
                                                         mem[0x9008], mem[0x9009]));  
                         }  
                         if ((CPU_CS == 0xf800) && (CPU_IP == 0x15FF)) {  
                                 TRACEOUT(("DX = %.4x / DS:DI = %.4x:%.4x [%.2x]",  
                                                                         CPU_DX, CPU_DS, CPU_DI, mem[0xa3fe0]));  
                         }  
 #endif  
 #if 0  
                         if (CPU_IP == 0x2E4F) {  
                                 TRACEOUT(("CS = %.4x - 0x2e4f", CPU_CS));  
                         }  
 #endif  
                         if (CPU_CS == 0x8b6) {  
                                 TRACEOUT(("%.4x:%.4x", CPU_CS, CPU_IP));  
                         }  
 //                      i286x_step();  
                         i286c_step();  
                 }                  }
 #endif  #endif
                 nevent_progress();                  nevent_progress();

Removed from v.1.79  
changed lines
  Added in v.1.90


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