Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Detecting floppy disk drives (Developers)

posted by Rugxulo Homepage, Usono, 27.05.2009, 02:46

> > What methods are available to detect if (or what type of) floppy disk
> > drives are present on a DOS system?
>
> I don't know, but I think I know where to find out:
>
> DJGPP's
> mntent.c

gcc -DTEST mntent.c -o mntent.exe
mntent.exe

0:  Drive A:                            fd      rw,dev=00       a:/
1:  Drive C:                            hd      rw,dev=02       c:/
2:  PRESARIO_RP                         hd      rw,dev=03       d:/
3:  C:\Armslurp\utils\                  subst   rw,dev=02       u:/
4:  C:\Armslurp\zips\                   subst   rw,dev=02       z:/

 

Complete thread:

Back to the forum
Board view  Mix view
22750 Postings in 2119 Threads, 402 registered users (1 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum