The new code is based on timestamps, rather than delays. This eliminates the need to update every timer in timer_process(), which cost a non-trivial amount of CPU time on low-end machines. This involved changes to every user of the timer code, so this change almost certainly introduces bugs.
15 lines
427 B
C
15 lines
427 B
C
#define SEEK_RECALIBRATE -999
|
|
uint64_t fdd_seek(int drive, int track_diff);
|
|
int fdd_track0(int drive);
|
|
int fdd_getrpm(int drive);
|
|
void fdd_set_densel(int densel);
|
|
int fdd_can_read_medium(int drive);
|
|
int fdd_doublestep_40(int drive);
|
|
int fdd_is_525(int drive);
|
|
int fdd_is_ed(int drive);
|
|
void fdd_disc_changed(int drive);
|
|
|
|
void fdd_set_type(int drive, int type);
|
|
int fdd_get_type(int drive);
|
|
|
|
extern int fdd_swap;
|