Solved

Reading raw data from a SCSI disk or CDROM

Posted on 1998-08-29
2
305 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

726 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