Solved

Reading raw data from a SCSI disk or CDROM

Posted on 1998-08-29
2
302 Views
Last Modified: 2010-04-15
I'm looking for help on reading/writing SCSI devices (CDROMs, in particular) using C.  Are there any good libraries, documentations, etc. out there for this sort of programming?

I have an Adaptec SCSI controller (built into the MB -- an Asus P2B-S -- AIC-7890?) and MSVC++ 5.0 running on Win95B.

Specifically, I'm interesting in the ability to read raw data from my SCSI CDROM (whether data or audio) with the ability to set it to read from a certain location every time (so the same CD with the same start-read location should give the same bit/byte sequence read every time).

Any help would be appreciated.  Thanks!


AP9
0
Comment
Question by:ap9
2 Comments
 
LVL 3

Accepted Solution

by:
brosenb0 earned 100 total points
ID: 1252439
Your jumping into the deep end from a fairly steep height, as SCSI programming is almost a science in its own right.  You would probably find it exceedingly difficult to obtain details regarding the registers, memory & I/O ports for your adapter and you would typically have to embed x86 assembler into your VC source code to manipulate them.  In order to isolate the developer from having to physically manipulate the hardware for each SCSI controller they may want to work with, Adaptec came up with the ASPI layer (Advanced SCSI Programming Interface).  The appropriate ASPI driver for the controller is installed and a common software interface is presented to the application.  Other vendors have also adopted ASPI as the SCSI API standard.  Adaptec will sell you a ASPI SDK for $150 US.  Details can be found at www.adaptec.com/adaptec/developers/aspi1.html

Good Luck.
0
 

Author Comment

by:ap9
ID: 1252440
Hmm, ok.  That's not viable for me at the moment.  Is there some sort of generic API I can use, or one that I can get for free?
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now