Diff for /np2/io/artic.c between versions 1.5 and 1.7

version 1.5, 2004/01/15 14:06:58 version 1.7, 2005/04/05 18:43:52
Line 10  void artic_callback(void) { Line 10  void artic_callback(void) {
         SINT32  leng;          SINT32  leng;
   
         mul = pccore.multiple;          mul = pccore.multiple;
         if (pccore.baseclock == PCBASECLOCK25) {          if (pccore.cpumode & CPUMODE_8MHZ) {
                 mul *= 16;                  mul *= 13;
         }          }
         else {          else {
                 mul *= 13;                  mul *= 16;
         }          }
         leng = CPU_CLOCK + CPU_BASECLOCK + CPU_REMCLOCK;          leng = CPU_CLOCK + CPU_BASECLOCK - CPU_REMCLOCK;
         leng *= 2;          leng *= 2;
         leng -= artic.lastclk2;          leng -= artic.lastclk2;
         if (leng > 0) {          if (leng > 0) {
Line 32  static UINT32 artic_getcnt(void) { Line 32  static UINT32 artic_getcnt(void) {
         SINT32  leng;          SINT32  leng;
   
         mul = pccore.multiple;          mul = pccore.multiple;
         if (pccore.baseclock != PCBASECLOCK20) {          if (pccore.cpumode & CPUMODE_8MHZ) {
                 mul *= 16;                  mul *= 13;
         }          }
         else {          else {
                 mul *= 13;                  mul *= 16;
         }          }
         leng = CPU_CLOCK + CPU_BASECLOCK + CPU_REMCLOCK;          leng = CPU_CLOCK + CPU_BASECLOCK - CPU_REMCLOCK;
         leng *= 2;          leng *= 2;
         leng -= artic.lastclk2;          leng -= artic.lastclk2;
         if (leng > 0) {          if (leng > 0) {

Removed from v.1.5  
changed lines
  Added in v.1.7


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