Mail Archives: djgpp/1998/01/16/19:45:35
From: | David Richardson <drr AT take-this-out DOT chpc DOT utah DOT edu DOT remove-this>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: Win95 CD player & ID numbers
|
Date: | Fri, 16 Jan 1998 16:01:19 -0700
|
Organization: | Center for High Performance Computing
|
Lines: | 44
|
Message-ID: | <34BFE6BF.C36A1EFD@take-this-out.chpc.utah.edu.remove-this>
|
References: | <01bd1e41$c6967aa0$01000001 AT brj>
|
NNTP-Posting-Host: | teal.chpc.utah.edu
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Gavin Jones wrote:
>
> Hi, I realize this is a more hardware-related question,
> but I'm sure someone here should be able to answer
> it... I'm wondering how the CD Player for Win95 gets
> its ID numbers for CDs (the headings in the
> cdplayer.ini file). What are these numbers, and how
> would I find them on a CD. I've already got CD play
> code working, and are wondering if the numbers are
> one of the unknowns(to me:) in the CD header info.
>
> Thanx in advance
> Gavin
>
> gavin DOT jones AT clear DOT net DOT nz
The ID number comes from the last 6 characters of the volume serial number. For
example, one of my CDs[1] shows up in cdplayer.ini with ID number D1E113. Going
to a DOS prompt and doing a dir on it gave the following:
F:\DRR>dir l:
Volume in drive L is Audio CD
Volume Serial Number is 00D1-E113
Directory of L:\
01/01/95 12:00a <DIR> .
01/01/95 12:00a <DIR> ..
01/01/95 12:00a 44 Track01.cda
01/01/95 12:05a 44 Track02.cda
and so on.
The ID is stored on the CD as the last 6 bytes of it's serial number.
Hope this is Useful Information (tm).
Dave
--
David Richardson
drr AT chpc DOT utah DOT edu
"Oh dear. What a pity. Never mind."
[1]: The CD was _Kansas_ "The Best of Kansas", just in case anyone was
wondering. Now, what should I listen to next: Journey, Metallica, R.E.M., or
Yanni?
- Raw text -