Diff for /np2/pccore.c between versions 1.22 and 1.25

version 1.22, 2003/11/30 11:20:55 version 1.25, 2003/12/04 09:47:08
Line 1 Line 1
 #include        "compiler.h"  #include        "compiler.h"
   #include        "strres.h"
   #include        "dosio.h"
 #include        "soundmng.h"  #include        "soundmng.h"
 #include        "sysmng.h"  #include        "sysmng.h"
 #include        "timemng.h"  #include        "timemng.h"
Line 31 Line 33
 #include        "timing.h"  #include        "timing.h"
 //#include      "hostdrv.h"  //#include      "hostdrv.h"
 #include        "debugsub.h"  #include        "debugsub.h"
 #include        "dosio.h"  
   
   
         const char      np2version[] = NP2VER_CORE;          const char      np2version[] = NP2VER_CORE;
Line 51 Line 52
                                 1, 0x82,                                  1, 0x82,
                                 0, {0x17, 0x04, 0x1f}, {0x0c, 0x0c, 0x02, 0x10, 0x3f, 0x3f},                                  0, {0x17, 0x04, 0x1f}, {0x0c, 0x0c, 0x02, 0x10, 0x3f, 0x3f},
                                 1, 80, 0,                                  1, 80, 0,
                                 {"", ""}, ""};                                  {"", ""}, "", ""};
   
         PCCORE  pc = {  PCBASECLOCK25,          PCCORE  pc = {  PCBASECLOCK25,
                                         4,                                          4,
Line 184  static void sound_term(void) { Line 185  static void sound_term(void) {
   
 void pccore_init(void) {  void pccore_init(void) {
   
           char    *p;
   
           p = np2cfg.biospath;
           if (p[0]) {
                   file_setseparator(p, sizeof(np2cfg.biospath));
           }
           else {
                   file_cpyname(p, file_getcd(str_null), sizeof(np2cfg.biospath));
           }
   
           i286_initialize();
   
         pal_initlcdtable();          pal_initlcdtable();
         pal_makelcdpal();          pal_makelcdpal();
         pal_makeskiptable();          pal_makeskiptable();
Line 519  void pccore_exec(BOOL draw) { Line 532  void pccore_exec(BOOL draw) {
         resetcnt++;          resetcnt++;
 #endif  #endif
                 pic_irq();                  pic_irq();
                 if (cpuio.reset_req) {                  if (i286core.s.resetreq) {
                         cpuio.reset_req = 0;                          i286core.s.resetreq = 0;
                         I286_CS = 0xf000;                          I286_CS = 0xf000;
                         CS_BASE = 0xf0000;                          CS_BASE = 0xf0000;
                         I286_IP = 0xfff0;                          I286_IP = 0xfff0;

Removed from v.1.22  
changed lines
  Added in v.1.25


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