🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #5134

Accessing BIOS drive settings

#5134
From: Mark Medici
Date: Tue, 12 Mar 1991 04:16
26 lines
1678 bytes
Greetings!

I'm trying to find out how a MS-DOS workstation knows what type of
diskette drives are installed WITHOUT checking the physical
characteristics of a diskette mounted in the drive.  I plan on running
a program at network login to set environment variables according the
type of disk drives installed, but I can't plan on the user (a
student) to have a disk in each drive (or any disks at all).

I know that AT's and better save this information in CMOS, but have no
idea where and how that information is stored.  Also, this doesn't
help me with the still large installed base of PC/XT class systems
still in use.

So, how does DOS know what floppy drives are installed?  Format seems
to find this info pretty easily, even when a non-standard drive
requiring a device driver is used.  How can I read and interpret this
info?

Thanks.

-- 
-----------------------------------------------------------------------------
Mark Medici ** Systems Programmer III * Rutgers University Computing Services
medici@elbereth.rutgers.edu * medici@cancer.BITNET * !rutgers!elbereth!medici
My opinions are not necessarily my employers'. *Reality is context-sensitive.
Technical Details
Message-ID: <Mar.11.23.16.32.1991.12376@dorm.rutgers.edu>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!rutgers!dimacs.rutgers.edu!dorm.rutgers.edu!medici

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!rutgers!dimacs.rutgers.edu!dorm.rutgers.edu!medici
From: medici@dorm.rutgers.edu (Mark Medici)
Newsgroups: comp.os.msdos.programmer
Subject: Accessing BIOS drive settings
Summary: How can I find what type of drive the system thinks it has?
Keywords: BIOS settings, CMOS settings, drive types
Message-ID: <Mar.11.23.16.32.1991.12376@dorm.rutgers.edu>
Date: 12 Mar 91 04:16:33 GMT
Organization: Rutgers Univ., New Brunswick, N.J.
Lines: 26