[comp.sys.ibm.pc] How to find out what kind of drives are in the system

bill@vax1.acs.udel.EDU (William Tsai) (07/20/89)

Is there anyway to findout what kind of floppy drives (ie, 1.2meg,
360k, 1.44, 720. etc), or even how many sectors, without actually
access the drive?  There is a routine in TC *finddfree* that
reports the total sectors in a *disk*, I need one that reports
what KIND.  After hours of thinking, I thought that the only place
where we can find it is in CMOS, and reading IBM BIOS listing didn't
really helping me any.  Help??

bill@vax1.udel.edu

-- 
       Bill Tsai
University of Delaware CIS		ARPA:  bill@vax1.acs.udel.EDU
     (302) 738-1716	" The computer doesn't hate everybody - just you... "

bill@vax1.acs.udel.EDU (William Tsai) (07/22/89)

In article <4014@udccvax1.acs.udel.EDU> bill@vax1.acs.udel.EDU (William Tsai) writes:
>Is there anyway to findout what kind of floppy drives (ie, 1.2meg,
>360k, 1.44, 720. etc), or even how many sectors, without actually
>access the drive?
>
I meant to findout drive specifications WITHIN a C program, or any
language.  I need to write a program that automaticly detects
and formats disk for general users who do not know what kinda drive
they have.

-- 
       Bill Tsai
University of Delaware CIS		ARPA:  bill@vax1.acs.udel.EDU
     (302) 738-1716	" The computer doesn't hate everybody - just you... "