Diff for /xmil/pccore.c between versions 1.29 and 1.32

version 1.29, 2004/08/13 02:16:33 version 1.32, 2004/08/14 12:16:17
Line 36  const OEMCHAR xmilversion[] = OEMTEXT(XM Line 36  const OEMCHAR xmilversion[] = OEMTEXT(XM
 #if defined(SUPPORT_BANKMEM)  #if defined(SUPPORT_BANKMEM)
         UINT8           mBANK[16][0x8000];          UINT8           mBANK[16][0x8000];
 #endif  #endif
         BYTE            *RAM0r;          UINT8           *RAM0r;
         BYTE            *RAM0w;          UINT8           *RAM0w;
   
   
 // ----  // ----
Line 177  void iptrace_out(void) { Line 177  void iptrace_out(void) {
 void neitem_disp(UINT id) {  void neitem_disp(UINT id) {
   
         corestat.vsync = 1;          corestat.vsync = 1;
         pcg.r.vsync = 1;  
         if (xmilcfg.DISPSYNC & 1) {          if (xmilcfg.DISPSYNC & 1) {
                 scrnupdate();                  scrnupdate();
         }          }
Line 193  void neitem_vsync(UINT id) { Line 192  void neitem_vsync(UINT id) {
   
 // ----  // ----
   
 // #define      SINGLESTEPONLY  #define SINGLESTEPONLY
   
 void pccore_exec(BRESULT draw) {  void pccore_exec(BRESULT draw) {
   
Line 203  void pccore_exec(BRESULT draw) { Line 202  void pccore_exec(BRESULT draw) {
         corestat.drawframe = draw;          corestat.drawframe = draw;
         soundmng_sync();          soundmng_sync();
   
         frameclock = 266 * RASTER_CLOCK * pccore.multiple / 2;          timing_setrate(crtc.e.frameclock);
           frameclock = crtc.e.frameclock * pccore.multiple / 2;
         dispclock = min(frameclock, crtc.e.dispclock);          dispclock = min(frameclock, crtc.e.dispclock);
         corestat.dispclock = dispclock;          corestat.dispclock = dispclock;
         corestat.syncclock = frameclock - dispclock;          corestat.syncclock = frameclock - dispclock;
Line 216  void pccore_exec(BRESULT draw) { Line 216  void pccore_exec(BRESULT draw) {
                 }                  }
 #else  #else
                 while(CPU_REMCLOCK > 0) {                  while(CPU_REMCLOCK > 0) {
                   //      TRACEOUT(("%.4x", Z80_PC));
 #if defined(TRACE) && IPTRACE  #if defined(TRACE) && IPTRACE
                         treip[trpos & (IPTRACE - 1)] = Z80_PC;                          treip[trpos & (IPTRACE - 1)] = Z80_PC;
                         trpos++;                          trpos++;

Removed from v.1.29  
changed lines
  Added in v.1.32


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