Fixed a compile-breaking error;
Added the ability to set each floppy drive to turbo speed which will make it opperate at an effective 8000 kbps @ 300 rpm, for those who want faster but less accurate floppy timings.
This commit is contained in:
@@ -195,6 +195,11 @@ double disc_byteperiod(int drive)
|
||||
|
||||
if (drives[drive].byteperiod)
|
||||
{
|
||||
if (fdd_get_turbo(drive))
|
||||
{
|
||||
return 1.0;
|
||||
}
|
||||
|
||||
return drives[drive].byteperiod(drive);
|
||||
}
|
||||
else
|
||||
@@ -213,7 +218,7 @@ double disc_real_period(int drive)
|
||||
dusec = (double) TIMER_USEC;
|
||||
|
||||
/* This is a giant hack but until the timings become even more correct, this is needed to make floppies work right on that BIOS. */
|
||||
if (romset == ROM_MRTHOR)
|
||||
if ((romset == ROM_MRTHOR) && !fdd_get_turbo(drive))
|
||||
{
|
||||
return (ddbp * dusec) / 4.0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user