Diff for /np2/pccore.c between versions 1.110 and 1.111

version 1.110, 2011/01/15 05:33:07 version 1.111, 2011/02/23 10:11:44
Line 1 Line 1
   /**
    * @file        pccore.c
    * @brief       emluration core
    *
    * @author      $Author$
    * @date        $Date$
    */
   
 #include        "compiler.h"  #include        "compiler.h"
 #include        "strres.h"  #include        "strres.h"
 #include        "dosio.h"  #include        "dosio.h"
Line 315  void pccore_cfgupdate(void) { Line 323  void pccore_cfgupdate(void) {
         }          }
 }  }
   
   /**
    * Reset the virtual machine
    */
 void pccore_reset(void) {  void pccore_reset(void) {
   
         int             i;          int             i;
           BOOL    epson;
   
         soundmng_stop();          soundmng_stop();
 #if !defined(DISABLE_SOUND)  #if !defined(DISABLE_SOUND)
Line 348  void pccore_reset(void) { Line 360  void pccore_reset(void) {
         if (pccore.dipsw[2] & 0x80) {          if (pccore.dipsw[2] & 0x80) {
                 CPU_TYPE = CPUTYPE_V30;                  CPU_TYPE = CPUTYPE_V30;
         }          }
         if (pccore.model & PCMODEL_EPSON) {                     // RAM ctrl  
           epson = (pccore.model & PCMODEL_EPSON) ? TRUE : FALSE;
           if (epson) {
                   /* enable RAM (D0000-DFFFF) */
                 CPU_RAM_D000 = 0xffff;                  CPU_RAM_D000 = 0xffff;
         }          }
           font_setchargraph(epson);
   
         // HDDセット          // HDDセット
         diskdrv_hddbind();          diskdrv_hddbind();
Line 381  void pccore_reset(void) { Line 397  void pccore_reset(void) {
         cbuscore_reset(&np2cfg);          cbuscore_reset(&np2cfg);
         fmboard_reset(&np2cfg, pccore.sound);          fmboard_reset(&np2cfg, pccore.sound);
   
         MEMM_ARCH((pccore.model & PCMODEL_EPSON)?1:0);          MEMM_ARCH((epson) ? 1 : 0);
         iocore_build();          iocore_build();
         iocore_bind();          iocore_bind();
         cbuscore_bind();          cbuscore_bind();

Removed from v.1.110  
changed lines
  Added in v.1.111


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