Better implementation of FDC 'not found' errors - can now distinguish missing

address mark (eg disc not present or track not formatted), sector not found,
wrong cylinder and bad cylinder.
This commit is contained in:
SarahW 2020-03-04 22:03:08 +00:00
commit 38f19f7c9f
6 changed files with 106 additions and 26 deletions

View file

@ -24,3 +24,13 @@ void fdc_update_boot_drive(int boot_drive);
void fdc_update_densel_polarity(int densel_polarity);
void fdc_update_densel_force(int densel_force);
void fdc_update_drvrate(int drive, int drvrate);
enum
{
FDC_STATUS_AM_NOT_FOUND,
FDC_STATUS_NOT_FOUND,
FDC_STATUS_WRONG_CYLINDER,
FDC_STATUS_BAD_CYLINDER
};