Diff for /np2/cbus/pc9861k.c between versions 1.6 and 1.7

version 1.6, 2004/01/30 14:33:27 version 1.7, 2005/02/07 14:46:08
Line 82  static UINT32 pc9861k_getspeed(REG8 dip) Line 82  static UINT32 pc9861k_getspeed(REG8 dip)
                         speed = 0;                          speed = 0;
                 }                  }
         }          }
         if (speed > ((sizeof(pc9861k_speed) / sizeof(UINT32)) - 1)) {          if (speed > (NELEMENTS(pc9861k_speed) - 1)) {
                 speed = (sizeof(pc9861k_speed) / sizeof(UINT32)) - 1;                  speed = NELEMENTS(pc9861k_speed) - 1;
         }          }
         return(pc9861k_speed[speed]);          return(pc9861k_speed[speed]);
 }  }
Line 131  static void IOOUTCALL pc9861data_w8(COMM Line 131  static void IOOUTCALL pc9861data_w8(COMM
   
         switch(port & 0x3) {          switch(port & 0x3) {
                 case 0x01:                  case 0x01:
                         cm->write(cm, (BYTE)value);                          cm->write(cm, (UINT8)value);
                         if (m->signal & 4) {                          if (m->signal & 4) {
                                 m->send = 0;                                  m->send = 0;
                                 pic_setirq(m->irq);                                  pic_setirq(m->irq);

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


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