Date: Fri, 20 Sep 1996 15:17:41 +0200 (MET DST) From: Mark Habersack Reply-To: grendel AT ananke DOT amu DOT edu DOT pl To: Eli Zaretskii cc: Toby Ounsted , "djgpp AT delorie DOT com" Subject: Re: IDE CdRom detection In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 ****************