HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Hardware Newsgroups > Storage > CD Recording

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 05-13-2008, 06:57 PM
mscotgrove@aol.com
 
Posts: n/a
Default READ TOC with open session CD-R

I have written a program to read TOC of a CD-R uisng the READ TOC/PMA/
ATIP command (0x43). This works well for most CDs, but not for one
with an open session

The function returns with a 5 / 24 /0 error Invalid field in CDB
when it is wirth an open session CD. I have tested many combinations
of track / session number as well as different Format field values.
They all return the same error message. The drive I am using a a DVD-
RW as well as DVD / CD-RW drive. Both identical results.

This is in Windows, using C++ and SPTI interface.

Any suggestions would be appreciated

Michael

Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
  #2  
Old 05-14-2008, 11:11 AM
mscotgrove@aol.com
 
Posts: n/a
Default Re: READ TOC with open session CD-R

On May 14, 1:23*am, smh <nos...@nospam.org> wrote:
> . * * * * *--------------------------------------
> * * * * * * * Mike Richter, were you born with
> * * * * * *"Scam Artist" emblazoned on your face?
> * * * * * *--------------------------------------
> * * * * * * * * *http://tinyurl.com/38wte6
>
> (No Mikey S-lickers have been able to prove ANY of the above )
> (is a LIBEL -- despite Mikey claimed to have PROOF of libels!)
> '
>
>
>
>
>
> mscotgrove wrote:
>
> > I have written a program to read TOC of a CD-R uisng the READ TOC/PMA/
> > ATIP command (0x43). *This works well for most CDs, but not for one
> > with an open session

>
> > The function returns with a 5 / 24 /0 *error *Invalid field in CDB
> > when it is wirth an open session CD. *I have tested many combinations
> > of track / session number as well as different Format field values.
> > They all return the same error message. *The drive I am using a a DVD-
> > RW *as well as DVD / CD-RW drive. *Both identical results.

>
> > This is in Windows, using C++ and SPTI interface.

>
> > Any suggestions would be appreciated

>
> > Michael

>
> How did you leave a session open with what burn software?
>
> According to MMC-3, if the fomat field specified is 0011b, it should
> read PMA:
>
> * * 5.23 READ TOC/PMA/ATIP Command
> * * Table 230 – READ TOC/PMA/ATIP Command
> * * Table 231 – Format Field
>
> * * 5.23.5 TOC/PMA/ATIP Response Data Format 0011b
> * * Table 241 – READ TOC/PMA/ATIP response data (Format = 0011b)
>
> Check out here:http://club.cdfreaks.com/f52/- Hide quoted text -
>
> - Show quoted text -


Thanks, this is a slight progress, but not currently a solution.

The reason for the unclosed session is not the issue, I work on data
recovery and if something can go wrong, it will go wrong. The disk is
now recovered, but I want to make the process quicker and more
automatic.

This function 3 did return data without an error message, but it does
not make sense to me.

The string returned is

0x00 0x0d 0x00 0x00 /// Data length
0x00 // reserved
0x20 // control
0x00 // TNO
0x00 // point
0x27 // min
0x16 // sec
0x36 // frame
all rest 0x00

The min, sec frame translate to a sector address of 0x2B39E
(177,054). This is assuming the values are Hex. If they are BCD,
then the sector address is 0x1DF4C or 122,700

What I am looking for the sector number for the end of the data
written. On this disk, it is 0x536F7 or 341,751

How do I find this value. On a closed session disk it does work with
Data Format 0

Michael
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Office documents open read-only with WebFolders matsch Windows Vista 0 05-06-2008 08:06 AM
Open the same file without advise it is 'read only' Eder Trevisoli Microsoft Office 0 11-08-2007 07:07 PM
Word is Read Only when Outlook is open PlanningCouncil-MKE Microsoft Office 0 07-25-2007 10:58 PM
How do I open COM1 for read.write access in C tstone Windows XP 2 04-14-2007 05:45 AM
Office files open as read only ssc_ssc Windows Vista 0 04-11-2007 10:28 PM


All times are GMT. The time now is 04:29 PM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger