Diff for /np2/io/pit.c between versions 1.14 and 1.16

version 1.14, 2004/01/13 05:30:58 version 1.16, 2004/02/19 11:32:12
Line 16 Line 16
   
 // --- Interval timer  // --- Interval timer
   
 // ver0.31 常に回す…  
 static void setsystimerevent_noint(BOOL absolute) {  
   
         nevent_set(NEVENT_ITIMER, pccore.multiple << 16,  
                                                                                                 systimer_noint, absolute);  
 }  
   
 void systimer_noint(NEVENTITEM item) {  
   
         if (item->flag & NEVENT_SETEVENT) {  
                 setsystimerevent_noint(NEVENT_RELATIVE);  
         }  
 }  
   
 static void setsystimerevent(BOOL absolute) {  static void setsystimerevent(BOOL absolute) {
   
         SINT32  cnt;          SINT32  cnt;
Line 337  static const IOINP piti71[4] = { Line 323  static const IOINP piti71[4] = {
 void itimer_reset(void) {  void itimer_reset(void) {
   
         ZeroMemory(&pit, sizeof(pit));          ZeroMemory(&pit, sizeof(pit));
         if (pccore.cpumode & CPUMODE_8MHz) {          if (pccore.cpumode & CPUMODE_8MHZ) {
                 pit.value[1] = 998;                             // 4MHz                  pit.value[1] = 998;                             // 4MHz
         }          }
         else {          else {

Removed from v.1.14  
changed lines
  Added in v.1.16


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