Previous 199869 Revisions Next

r19033 Monday 19th November, 2012 at 09:23:32 UTC by O. Galibert
imd_dsk: *duh* (nw)
[src/lib/formats]imd_dsk.c

trunk/src/lib/formats/imd_dsk.c
r19032r19033
418418      static const int rates[3] = { 500000, 300000, 250000 };
419419      bool fm = mode < 3;
420420      int rate = rates[mode % 3];
421      int rpm = form_factor == floppy_image::FF_8 || (floppy_image::FF_525 && rate >= 300) ? 360 : 300;
421      int rpm = form_factor == floppy_image::FF_8 || (form_factor == floppy_image::FF_525 && rate >= 300) ? 360 : 300;
422422      int cell_count = (fm ? 1 : 2)*rate*60/rpm;
423423
424424      const UINT8 *snum = img+pos;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team