www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/29/08:08:11

Date: Wed, 29 Dec 1999 10:34:12 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Leon <Leon AT caresystems DOT com DOT au>
cc: djgpp AT delorie DOT com
Subject: Re: finding serial number of the formatted disk
In-Reply-To: <001e01bf51a8$c8c25dc0$1c00000a@cristian.caresystems.com.au>
Message-ID: <Pine.SUN.3.91.991229103353.11728U-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 29 Dec 1999, Leon wrote:

> Hello - was just wondering if anyone has a clue on how one would be able to
> make a program determine (at run-time) the serial number of the disk from
> which it was launched...

The usual way of finding this info is to look into Ralf Brown's
Interrupt List.  A quick search reveals function 440Dh, subfunction
66h, of Interrupt 21h which you can use.  There's also an undocumented
function 69h of Interrupt 21h which seems to do the same.

- Raw text -


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