TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Eddy Thilleman
from: Jonathan de Boyne Pollard
date: 1998-09-21 12:51:08
subject: SCSI commands, SCSI programming?

ET> Where do I find documentation about SCSI commands and SCSI
 ET> programming?

At what level ?

If you are writing a device driver, you need to contact the manufacturer of
the SCSI host adapter that you are writing the driver for.  Some
manufacturers, like DPT, provide a device driver developers' toolkit,
including full documentation for the EATA protocol that the DPT host
adapters use, and example driver source code.

If you are writing a program that accesses SCSI devices in a
"raw" fashion, then you will need to know how to use ASPI, which
is mainly the way that an application-level programmer will "see"
SCSI, to access OS2ASPI.DMD.  The best documentation for this is probably
IBM's OS/2 Warp Device Driver Kit documentation, which presents the ASPI
interface *as other device drivers will see it*, but which, with a little
thought, is not hard to translate into how to access SCSI from
application-level code.

If you are interested in how SCSI works in the abstract, i.e. the protocol
itself without reference to programming specific host adapters, then books
such as _The SCSI Bus and IDE Interface_ (yes, I know that is a misnomer)
by Freidhelm Schmidt (Addison Wesley, 1998, 0-201-17514-2) will help quite
a lot.  (Although the translation from the original German is stilted and
absolutely appalling in places, that book is very good for understanding
the Common Command Set.)

 ¯ JdeBP ®

--- FleetStreet 1.19 NR
* Origin: JdeBP's point, using Squish (2:440/4.3)
SEEN-BY: 396/1 622/419 632/0 371 633/210 260 267 270 371 635/506 728 639/252
SEEN-BY: 670/218
@PATH: 440/4 255/1 251/25 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.