Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Reading raw data from a SCSI disk or CDROM

Posted on 1998-08-29
2
Medium Priority
?
312 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 300 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.
Suggested Courses

971 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