Diff for /np2/pccore.c between versions 1.76 and 1.80

version 1.76, 2004/02/29 03:10:02 version 1.80, 2004/03/21 11:47:19
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 69 Line 69
                                                 0, 0,                                                  0, 0,
                                                 4 * PCBASECLOCK25};                                                  4 * PCBASECLOCK25};
   
 static const BYTE msw_default[8] =  
                                                         {0x48, 0x05, 0x04, 0x00, 0x01, 0x00, 0x00, 0x6e};  
   
         BYTE    screenupdate = 3;          BYTE    screenupdate = 3;
         int             screendispflag = 1;          int             screendispflag = 1;
         int             soundrenewal = 0;          int             soundrenewal = 0;
Line 349  void pccore_reset(void) { Line 346  void pccore_reset(void) {
   
         bios_initialize();          bios_initialize();
   
         if (np2cfg.ITF_WORK) {          CS_BASE = 0xf0000;
                 CS_BASE = 0xf0000;          CPU_CS = 0xf000;
                 CPU_CS = 0xf000;          CPU_IP = 0xfff0;
                 CPU_IP = 0xfff0;  
         }  
         else {  
                 for (i=0; i<8; i++) {  
                         mem[0xa3fe2 + i*4] = msw_default[i];  
                 }  
                 CS_BASE = 0xfd800;  
                 CPU_CS = 0xfd80;  
                 CPU_IP = 0x0002;  
         }  
         CPU_CLEARPREFETCH();          CPU_CLEARPREFETCH();
         sysmng_cpureset();          sysmng_cpureset();
   
Line 548  void screenvsync(NEVENTITEM item) { Line 536  void screenvsync(NEVENTITEM item) {
 // #define      IPTRACE                 (1 << 12)  // #define      IPTRACE                 (1 << 12)
   
 #if defined(TRACE) && IPTRACE  #if defined(TRACE) && IPTRACE
 static UINT             trpos = 0;  static  UINT    trpos = 0;
 static UINT32   treip[IPTRACE];  static  UINT32  treip[IPTRACE];
   
 void iptrace_out(void) {  void iptrace_out(void) {
   
Line 652  void pccore_exec(BOOL draw) { Line 640  void pccore_exec(BOOL draw) {
                                                                         CPU_DX, CPU_DS, CPU_DI, mem[0xa3fe0]));                                                                          CPU_DX, CPU_DS, CPU_DI, mem[0xa3fe0]));
                         }                          }
 #endif  #endif
 //                      if ((CPU_CS == 0x2516) && (CPU_IP == 0x97B0)) {  #if 0
 //                              TRACEOUT(("DS = %.4x", CPU_DS));                          if (CPU_IP == 0x2E4F) {
 //                      }                                  TRACEOUT(("CS = %.4x - 0x2e4f", CPU_CS));
                           }
   #endif
                           if (CPU_CS == 0x8b6) {
                                   TRACEOUT(("%.4x:%.4x", CPU_CS, CPU_IP));
                           }
 //                      i286x_step();  //                      i286x_step();
                         i286c_step();                          i286c_step();
                 }                  }

Removed from v.1.76  
changed lines
  Added in v.1.80


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