Diff for /np2/fdd/fdd_mtr.c between versions 1.5 and 1.6

version 1.5, 2004/02/21 17:52:04 version 1.6, 2004/02/22 00:05:56
Line 131  void fddmtr_seek(REG8 drv, REG8 c, UINT  Line 131  void fddmtr_seek(REG8 drv, REG8 c, UINT 
         SINT32  waitcnt;          SINT32  waitcnt;
   
         drv &= 3;          drv &= 3;
         regmove = fddmtr.head[drv] - c;          regmove = c - fddmtr.head[drv];
         fddmtr.head[drv] = c;          fddmtr.head[drv] = c;
   
         if (!np2cfg.MOTOR) {          if (!np2cfg.MOTOR) {
Line 145  void fddmtr_seek(REG8 drv, REG8 c, UINT  Line 145  void fddmtr_seek(REG8 drv, REG8 c, UINT 
   
         waitcnt = (size * DISK1ROL_MS) / (1024 * 8);          waitcnt = (size * DISK1ROL_MS) / (1024 * 8);
         if (regmove < 0) {          if (regmove < 0) {
                 regmove = 0 - 1;                  regmove = 0 - regmove;
         }          }
         if (regmove == 1) {          if (regmove == 1) {
                 if (fddmtr.curevent < 80) {                  if (fddmtr.curevent < 80) {

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


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