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
Solved

Reading raw data from a SCSI disk or CDROM

Posted on 1998-08-29
2
304 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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

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…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
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.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.

789 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