PDA

View Full Version : The Driver.sys command switches



k2x4b524[
April 15th, 2010, 06:54 PM
All i can find on Driver.sys drive types are 0,1,2,7,8 what are the other drive types 3,4,5 and 6?

Chuck(G)
April 15th, 2010, 07:49 PM
At one time, DRIVER.SYS was envisioned to be something more.

Checking the MS-DOS source code, the table reads like this:
0 - 48 TPI 360K
1 - 96 TPI 1.2M
2 - 3.5" 720K
3 - 3.5" 720K, was supposed to be SD 8"
4 - 3.5" 720K, was supposed to be DD 8"
5 - 3.5" 720K, was supposed to be hard disk
6 - 3.5" 720K, was supposed to be tape
7 - 3.5" 1.44M
8 - 3.5" 720K, was supposed to be ERIMO magneto-optical
9 - 3.5" 2.88M

My reference for MS-DOS 3.2 shows types 3, 4, 5 and 6 being supported. I don't recall, but I believe that OEMs were given the option to substitute their own version of DRIVER.SYS, just as they were with MODE.COM.

k2x4b524[
April 16th, 2010, 09:26 AM
are there really THAT many entries for the 720kb drive? Geez... Is there a version that supports the devices as they are supposed to be there like the hdds the tapes and the magneto optical?

Chuck(G)
April 16th, 2010, 09:41 AM
are there really THAT many entries for the 720kb drive? Geez... Is there a version that supports the devices as they are supposed to be there like the hdds the tapes and the magneto optical?

Yup, it's the default for "not implemented" table entries. I'm not aware of a Microsoft-generic version that implements any of the other devices, but you could always code them yourself. Just sharpen your pencil and get to work! MS-DOS 6.0 DRIVER.SYS is only about 25K of assembly source--as it is, it's mostly a bunch of BPBs.