Mail Archives: djgpp/1999/08/27/09:51:07
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.
- Raw text -