Diff for /np2/pccore.c between versions 1.47 and 1.48

version 1.47, 2004/01/23 06:03:40 version 1.48, 2004/01/23 08:44:30
Line 76  static const BYTE msw_default[8] = Line 76  static const BYTE msw_default[8] =
         int             soundrenewal = 0;          int             soundrenewal = 0;
         BOOL    drawframe;          BOOL    drawframe;
         UINT    drawcount = 0;          UINT    drawcount = 0;
           BOOL    hardwarereset = FALSE;
   
   
 // ---------------------------------------------------------------------------  // ---------------------------------------------------------------------------
Line 178  static void pccore_set(void) { Line 179  static void pccore_set(void) {
         pccore.extmem = 0;          pccore.extmem = 0;
   
         // HDDの接続 (I/Oの使用状態が変わるので..          // HDDの接続 (I/Oの使用状態が変わるので..
 //      if (np2cfg.dipsw[1] & 0x20) {          if (np2cfg.dipsw[1] & 0x20) {
                 pccore.hddif |= PCHDD_IDE;                  pccore.hddif |= PCHDD_IDE;
 //      }          }
         pccore.hddif |= PCHDD_SCSI;          pccore.hddif |= PCHDD_SCSI;
   
         // サウンドボードの接続          // サウンドボードの接続
Line 365  void pccore_reset(void) { Line 366  void pccore_reset(void) {
         cbuscore_bind();          cbuscore_bind();
         fmboard_bind();          fmboard_bind();
   
         timing_reset();  
         fddmtr_init();          fddmtr_init();
         calendar_init();          calendar_init();
         vram_init();          vram_init();
Line 396  void pccore_reset(void) { Line 396  void pccore_reset(void) {
 #if defined(SUPPORT_HOSTDRV)  #if defined(SUPPORT_HOSTDRV)
         hostdrv_reset();          hostdrv_reset();
 #endif  #endif
   
           timing_reset();
 }  }
   
 static void drawscreen(void) {  static void drawscreen(void) {
Line 606  static int execcnt = 0; Line 608  static int execcnt = 0;
 int piccnt = 0;  int piccnt = 0;
 int tr = 0;  int tr = 0;
 UINT    gr = 0;  UINT    gr = 0;
   UINT    cflg;
 #endif  #endif
   
         UINT    cflg;  
   
 void pccore_exec(BOOL draw) {  void pccore_exec(BOOL draw) {
   
Line 705  void pccore_exec(BOOL draw) { Line 707  void pccore_exec(BOOL draw) {
         S98_sync();          S98_sync();
         sound_sync();                                                                                                   // happy!          sound_sync();                                                                                                   // happy!
   
           if (hardwarereset) {
                   hardwarereset = FALSE;
                   pccore_cfgupdate();
                   pccore_reset();
           }
   
 #if defined(TRACE)  #if defined(TRACE)
         execcnt++;          execcnt++;
         if (execcnt >= 60) {          if (execcnt >= 60) {

Removed from v.1.47  
changed lines
  Added in v.1.48


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