delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/09/26/13:01:41

Date: Thu, 26 Sep 1996 18:52:16 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Mark Habersack <grendel AT ananke DOT amu DOT edu DOT pl>
Cc: djgpp-workers AT delorie DOT com
Subject: Re: Function to return phys drive
In-Reply-To: <Pine.NEB.3.95.960926144739.22355B-100000@ananke.amu.edu.pl>
Message-Id: <Pine.SUN.3.91.960926184644.17397B-100000@is>
Mime-Version: 1.0

Thanks.  However, I don't want to use undocumented calls unless we cannot 
do without them.  What about the `Get DPB' call (Int 21h/AH=32h)?  Can't 
I use the "unit number in the device driver" field there?

Anyway, unless `sync' crashes or causes warning/error messages in some 
environment, I won't be hard-pressed to either use undocumented DOS/BIOS 
calls nor put too complicated code into that function.  If a simple 
enough way exists to compute the drive ID, adding it will be worthwhile.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019