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:
parent
2e3444697f
commit
38f19f7c9f
6 changed files with 106 additions and 26 deletions
10
src/fdc.h
10
src/fdc.h
|
|
@ -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
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue