www.delorie.com/archives/browse.cgi | search |
Xref: | news2.mv.net comp.os.msdos.djgpp:2643 |
From: | malcolm AT manawatu DOT gen DOT nz (Malcolm Taylor) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Detecting drives |
Date: | Fri, 12 Apr 1996 00:32:01 GMT |
Organization: | Grafik Software |
Lines: | 13 |
Message-ID: | <4kkbrm$1rk@news.manawatu.gen.nz> |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 960407084756 DOT 22284J-100000 AT is> |
Reply-To: | malcolm AT manawatu DOT gen DOT nz |
NNTP-Posting-Host: | malcolm.manawatu.gen.nz |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote: >where DJGPP can run. (You could think that DOS calls are also a solution, >but some DPMI servers will GP fault if you try to access an empty drive >with a DOS call, so you should hook Int 24h if you want to prevent this.) Really? Which DPMI providers do this? I use a findfirst on the drive looking for a volume label, which of course fails with no disk in the drive. Would this cause a GP fault on some DPMI providers? Malcolm
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |