For detecting available drives there are routines on: http://www.gdsoft.com/swag/swag.html
(SWAG).
If You download the snippets about drives handling (drives.swg, You ned the viewer too), You will find 5 or more routines for detecting drives, for finding out parameters of drives (CDROM, HDD, FDD) etc. Or write to me, I will send You the package.
But remember to put directive {$ASMMODE intel} to all codes, because there are made for TP and without this directive cannot be compiled under FPC.
Have a good time
Martin H.
