🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #8121

detecting/setting disk type in drive type (non DOS format)

#8121
From: Jeff S. Olsen
Date: Tue, 05 Dec 1989 19:08
18 lines
1233 bytes
   I have written a program to read Microport Unix filesystems from
floppy (ls, cat, cp) but I am having problems with reading high density disks.
   It seems that if I place a high density disk in the high density
drive, it wants to read it as a double density disk.  I have tried using
the int 13h service 17h (set disk type for format) and have had limited
success.  If the disk drive is opened between each run, then setting the
format works properly; however, if it is not, then the second call fails.

   Is there a specific approach to "disk type in drive type" detection
that someone could share with me?   Any response in appreciated, however
direct e-mail is preferred.  I will post a summary if I get a working solution.

   The program is not for commercial purposes, if that makes any difference.

Thanks,
Jeff Olsen
olsen@eecs.nwu.edu
Technical Details
Message-ID: <3580022@eecs.nwu.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde!uunet!mailrus!accuvax.nwu.edu!nucsrl!olsen

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde!uunet!mailrus!accuvax.nwu.edu!nucsrl!olsen
From: olsen@eecs.nwu.edu (Jeff S. Olsen)
Newsgroups: comp.sys.ibm.pc
Subject: detecting/setting disk type in drive type (non DOS format)
Message-ID: <3580022@eecs.nwu.edu>
Date: 5 Dec 89 19:08:48 GMT
Organization: Northwestern U, Evanston IL, USA
Lines: 18