Diff for /xmil/io/ctc.c between versions 1.11 and 1.12

version 1.11, 2004/08/13 06:49:31 version 1.12, 2004/08/14 12:16:17
Line 74  static REG8 ctcwork(CTCCH *ch) { Line 74  static REG8 ctcwork(CTCCH *ch) {
                 if (count <= 0) {                  if (count <= 0) {
                         count = ch->countmax[3] - ((0 - count) % ch->countmax[3]);                          count = ch->countmax[3] - ((0 - count) % ch->countmax[3]);
                         intr |= (ch->cmd[3] & 0x80) >> (7 - 3);                          intr |= (ch->cmd[3] & 0x80) >> (7 - 3);
   TRACEOUT(("ctc3 !"));
                 }                  }
                 ch->count[3] = count;                  ch->count[3] = count;
         }          }
Line 174  BRESULT ieitem_ctc(UINT id) { Line 175  BRESULT ieitem_ctc(UINT id) {
                                 else if (!r) {                                  else if (!r) {
                                         r = TRUE;                                          r = TRUE;
                                         intr ^= bit;                                          intr ^= bit;
 //                                      TRACEOUT(("ctc int %d %d", ch->num, i));                                          TRACEOUT(("ctc int %d %d", ch->num, i));
                                         Z80_INTERRUPT((REG8)(ch->vector + (i << 1)));                                          Z80_INTERRUPT((REG8)(ch->vector + (i << 1)));
                                 }                                  }
                         }                          }

Removed from v.1.11  
changed lines
  Added in v.1.12


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