/* Copyright (C) 2025-2026 Harley Travis . This software (including source code) is licensed under the BSD Zero Clause License. See the Copying.TXT file for details. */ // TO INSTALL: In Kernel.PRJ, #include this file after KFloppyA.HH. // Also #include it after this file in StartOS.HC. // headers for floppy driver public extern Bool FDCIrq; public extern U16 fdc_base; public extern U0 CMOSGetFloppyDrives(); public extern U0 FDCSendCmd(U16 base, U8 cmd); public extern U8 FDCReadData(U16 base); public extern U0 FDCCheckInt(U16 base, U8 *st0, U8 *cyl); public extern I16 fdc_mtr_ticks; public extern U8 fdc_mtr_state; public extern U0 FDCMotorOff(U16 base); public extern U0 FDCMotorPwrOffTimer(); public extern U0 FDCMotorCtrl(U16 base, Bool onoff); public extern I8 FDCRecalibrate(U16 base); public extern I8 FDCReset(U16 base); public extern I8 FDCSeek(U16 base, U8 cyli, U8 head); public extern U0 FDCRead(U16 base, U8 cyl, U8 head, U8 sect, U8 trklen); public extern U0 FDCReadMulti(U16 base, U8 cyl, U8 head, U8 sect, U8 trklen); public extern U0 FDCWrite(U16 base, U8 cyl, U8 head, U8 sect, U8 trklen); public extern U0 FDCWriteMulti(U16 base, U8 cyl, U8 head, U8 sect, U8 trklen);