www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/20/09:48:29

Date: Fri, 20 Sep 1996 15:17:41 +0200 (MET DST)
From: Mark Habersack <grendel AT ananke DOT amu DOT edu DOT pl>
Reply-To: grendel AT ananke DOT amu DOT edu DOT pl
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
cc: Toby Ounsted <Toby AT viglen DOT co DOT uk>, "djgpp AT delorie DOT com" <djgpp AT delorie DOT com>
Subject: Re: IDE CdRom detection
In-Reply-To: <Pine.SUN.3.91.960919131544.4286B-100000@is>
Message-ID: <Pine.NEB.3.95.960920151617.6416B-100000@ananke.amu.edu.pl>
MIME-Version: 1.0

On Thu, 19 Sep 1996, Eli Zaretskii wrote:

>
>On Thu, 19 Sep 1996, Toby Ounsted wrote:
>
>> and report back the Vendor ID, Firmware Revision and so forth.  Does anyone 
>> know how I'd go about getting similar information from an IDE CdRom drive??
>
>If you use MSCDEX to interface with the CDROM, then check out function 
>15h of Interrupt 2Fh (I suggest reading about them in Ralf Brown's 
>Interrupt List).  For instance, subfunction 02 returns the copyright file 
>of the CDROM volume, subfunction 0Ch returns the version of MSCDEX, etc.  
>I don't know if those work with other CDROM drivers, but at least some of 
>them should.
But MSCDEX can report only about the CD inserted into the reader, not about
the drive itself. To get information on the drive's vendor/version/etc you
have to fool around with registers and ATA standard. It's a little wors when
the drive is SCSI.

**********************************************************************
So if you ask me how do I feel inside, I could honestly tell you we've
been taken on a very long ride. And if my owners let me have free time
some day, with all good intention I would probably run away!
Clutching the short straw...
******************* http://ananke.amu.edu.pl/~grendel ****************

- Raw text -


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