Diff for /np2/pccore.c between versions 1.34 and 1.38

version 1.34, 2003/12/21 16:05:25 version 1.38, 2003/12/28 08:05:18
Line 84  void getbiospath(char *path, const char  Line 84  void getbiospath(char *path, const char 
 const char      *p;  const char      *p;
   
         p = np2cfg.biospath;          p = np2cfg.biospath;
   
         p = np2cfg.biospath;  
         if (p[0]) {          if (p[0]) {
                 file_cpyname(path, p, maxlen);                  file_cpyname(path, p, maxlen);
                 file_setseparator(path, maxlen);                  file_setseparator(path, maxlen);
Line 317  void pccore_reset(void) { Line 315  void pccore_reset(void) {
         cbuscore_reset();          cbuscore_reset();
         fmboard_reset(np2cfg.SOUND_SW);          fmboard_reset(np2cfg.SOUND_SW);
   
           i286_memorymap((pc.model & PCMODEL_EPSON)?1:0);
         iocore_build();          iocore_build();
         iocore_bind();          iocore_bind();
         cbuscore_bind();          cbuscore_bind();
Line 551  void pccore_exec(BOOL draw) { Line 550  void pccore_exec(BOOL draw) {
                 pic_irq();                  pic_irq();
                 if (CPU_RESETREQ) {                  if (CPU_RESETREQ) {
                         CPU_RESETREQ = 0;                          CPU_RESETREQ = 0;
   #if 1
                           CPU_SHUT();
   #else
                         CPU_CS = 0xf000;                          CPU_CS = 0xf000;
                         CS_BASE = 0xf0000;                          CS_BASE = 0xf0000;
                         CPU_IP = 0xfff0;                          CPU_IP = 0xfff0;
Line 558  void pccore_exec(BOOL draw) { Line 560  void pccore_exec(BOOL draw) {
                         CPU_DX = 0x0300;                          CPU_DX = 0x0300;
 #endif  #endif
                         CPU_CLEARPREFETCH();                          CPU_CLEARPREFETCH();
   #endif
                 }                  }
   
 #if 1 // ndef TRACE  #if 1 // ndef TRACE
Line 587  void pccore_exec(BOOL draw) { Line 590  void pccore_exec(BOOL draw) {
 #if defined(TRACE)  #if defined(TRACE)
         execcnt++;          execcnt++;
         if (execcnt >= 60) {          if (execcnt >= 60) {
                 TRACEOUT(("resetcnt = %d / pic %d", resetcnt, piccnt));  //              TRACEOUT(("resetcnt = %d / pic %d", resetcnt, piccnt));
                 execcnt = 0;                  execcnt = 0;
                 resetcnt = 0;                  resetcnt = 0;
                 piccnt = 0;                  piccnt = 0;

Removed from v.1.34  
changed lines
  Added in v.1.38


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