PDA

View Full Version : ASPI Programming


SirDavidGuy
13th October 2002, 20:39
Following this (http://club.cdfreaks.com/showthread.php?s=&threadid=55563) thread, anyone here have tips for ASPI programming (working from C++)?

Ocrana
13th October 2002, 23:02
Hello,

what do you need? The hole theme is very big. Do you mean specialy the Authentication or general Aspi codeing?

Ocrana

SirDavidGuy
14th October 2002, 01:19
Reading/Writing RAW to and from CD-R's, and measuring seek times to sectors. And all of this at a selected speed.

Ocrana
14th October 2002, 01:43
Hello,

ok, this is to much to explain here. But Aspi programming is easy. No joke. Go to

http://www.t10.org and download the scsi definition files. This files explains to all relevant things for scsi commands.

To find an overview of this functions, check out cdex and cdrtools. Both are gpl and you will find real help code there and these apps will help you to understand the commands.

Some helps from me:

Reading on a selected speed is one command, but you have to build an table for all drives. Cause the most drive builder use different methods. Like Yamaha has readspeeds from 0-x and Pioneer only has Slow and Fast on its DVD Drives.

Also try not to use the adaptecSDK. Try to use your own lib or direct commands. Cause the new Winaspi32 didnt support IDE(Atapi) anymore.

Ocrana

SirDavidGuy
14th October 2002, 16:46
Thanks for the tip.

I was looking through the CDRDAO source, but it's incredibly disorganized.