#pragma once #include"../x86/kernel/deviceproc.h" struct floppyDrv { bool physFloppySize; //true=5.25, false=3.5 word kbSize; word SectorSize; byte SectorsPerTrack; byte Gap; dword data_rate; }; typedef struct _chs { byte head; byte cylinder; byte sector; }chs; struct floppyDrv; word fdc_readSector(byte drive, dword sector, byte * buf); int initFdc(extendDevInfo * _ex); int deinitFdc();