cd TOC access
Posted on 1997-06-19
I have a SCSI CD-Rom drive with ID=3. I am trying to access the TOC on the drive and continually get and error of -21 (badUnitErr). I have downloaded samples from Apple, but i cannot get those to work either.
I am using the PBControl call (this returns with -21) but fill in the paramblock with what i beleive are the correct values.
If you could send me some code that reads off theTOC from the disk (using the mode 4 which gives the starting address of all tracks), it would be very helpful.