Diff for /np2/io/pit.c between versions 1.21 and 1.22

version 1.21, 2004/03/31 19:23:37 version 1.22, 2004/07/01 11:42:54
Line 178  static UINT getcount(const _PITCH *pitch Line 178  static UINT getcount(const _PITCH *pitch
                         clock = nevent_getremain(NEVENT_RS232C);                          clock = nevent_getremain(NEVENT_RS232C);
                         break;                          break;
   
   #if !defined(DISABLE_SOUND)
                 case 3:                  case 3:
                         return(board14_pitcount());                          return(board14_pitcount());
   #endif
   
                 default:                  default:
                         clock = 0;                          clock = 0;
Line 419  void itimer_reset(void) { Line 421  void itimer_reset(void) {
         pit.ch[1].value = beepcnt;          pit.ch[1].value = beepcnt;
         pit.ch[2].ctrl = 0xb6 & 0x3f;          pit.ch[2].ctrl = 0xb6 & 0x3f;
         pit.ch[2].ch = 2;          pit.ch[2].ch = 2;
   #if !defined(DISABLE_SOUND)
         pit.ch[3].ctrl = 0x36;          pit.ch[3].ctrl = 0x36;
         pit.ch[3].ch = 3;          pit.ch[3].ch = 3;
         pit.ch[4].ctrl = 0x36;          pit.ch[4].ctrl = 0x36;
         pit.ch[4].ch = 4;          pit.ch[4].ch = 4;
   #endif
         setsystimerevent(0, NEVENT_ABSOLUTE);          setsystimerevent(0, NEVENT_ABSOLUTE);
         beep_hzset(beepcnt);          beep_hzset(beepcnt);
 }  }

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


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