X-Authentication-Warning: acp3bf.physik.rwth-aachen.de: broeker owned process doing -bs Date: Fri, 27 Aug 1999 14:09:17 +0200 (MET DST) From: Hans-Bernhard Broeker X-Sender: broeker AT acp3bf To: DJGPP list Subject: Re: Detecting Audio CD... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com In article <7q4bu6$r45$1 AT autumn DOT news DOT rcn DOT net> you wrote: > How do I detect if the CD inserted into my cd-rom drive is an audio or data > cd? Any info or code on the subject is greatly appreciated. Thanks. If I'm not totally mistaken, there's an MSCDEX API call to get the track table, and info about each track. That includes a flag describing the track as either 'data' or 'audio'. There used to be (still is?) a library for accessing the CD from DJGPP, by Brennan J. Underwood. I don't have the URL handy, to check. In a more general view, this only marginally is still a DJGPP question. Asking in a DOS system programming newsgroup might be more helpful. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.