delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/28/12:21:42

Date: Thu, 28 Jan 1999 19:20:07 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Hashstat <devnul AT wsunix DOT wsu DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: Controling the CD-ROM
In-Reply-To: <36B090B3.7CA6C433@wsunix.wsu.edu>
Message-ID: <Pine.SUN.3.91.990128191753.10871B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Thu, 28 Jan 1999, Hashstat wrote:

> I am writing a program to open and close the cd-rom tray.  Does anyone
> know of a way to do this with DJGPP C/C++?  The program will be run from
> Windows 9x.

You need to send a suitable command to the CD driver.  Ralf Brown's 
Interrupt List has all the details (look for function 15XXh of interrupt 
2Fh).

- Raw text -


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