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:
12
src/fdd.c
12
src/fdd.c
@@ -30,6 +30,8 @@ static struct
|
||||
int densel;
|
||||
|
||||
int head;
|
||||
|
||||
int turbo;
|
||||
} fdd[FDD_NUM];
|
||||
|
||||
/* Flags:
|
||||
@@ -312,6 +314,16 @@ int fdd_get_head(int drive)
|
||||
return fdd[drive].head;
|
||||
}
|
||||
|
||||
void fdd_set_turbo(int drive, int turbo)
|
||||
{
|
||||
fdd[drive].turbo = turbo;
|
||||
}
|
||||
|
||||
int fdd_get_turbo(int drive)
|
||||
{
|
||||
return fdd[drive].turbo;
|
||||
}
|
||||
|
||||
int fdd_get_densel(int drive)
|
||||
{
|
||||
if (drive_types[fdd[drive].type].flags & FLAG_INVERT_DENSEL)
|
||||
|
||||
Reference in New Issue
Block a user