Date: Thu, 26 Sep 1996 18:52:16 +0200 (IST) From: Eli Zaretskii To: Mark Habersack Cc: djgpp-workers AT delorie DOT com Subject: Re: Function to return phys drive In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.