How do I access SCSI using A/UX System Calls?

William Roberts liam at cs.qmw.ac.uk
Sat Sep 1 04:31:01 AEST 1990


In <3368 at wrgate.WR.TEK.COM> herbw at midas.WR.TEK.COM (Herb Weiner) writes:

>"You can reproduce the functions of the SCSI Manager in A/UX by writing
>your own routines that use A/UX system calls.  See Chapter 3, 'A/UX
>Toolbox Utilities and Extensions,' for a strategy for including A/UX
>system calls in applications that are intended to run under both the
>Macintosh OS and A/UX"

>OK! I give up.  Where should I look next?  Do I have to write a driver?
>I hope not, since Page 5-18 of the "A/UX Toolbox: Macintosh ROM Interface"
>goes on to state that "A program that uses an A/UX device driver is not
>portable to the Macintosh OS."


The bottom line is: there are no system calls directly related
to SCSI, and any programs manipulating SCSI under A/UX will
indeed not be compatible with the MacOS. The reverse is also
true, which is why things like SCSI Evaluator don't work under
A/UX.

There is some generic SCSI code within the A/UX kernel, but you
would probably have to write a device driver (probably fairly
simple) to get access to it. The only piece of documentation
that will be of any use to you is the A/UX Device Drivers kit,
though I don't know it that yet exists for A/UX 2.0.
-- 

William Roberts                 ARPA: liam at cs.qmw.ac.uk
Queen Mary & Westfield College  UUCP: liam at qmw-cs.UUCP
Mile End Road                   AppleLink: UK0087
LONDON, E1 4NS, UK              Tel:  071-975 5250 (Fax: 081-980 6533)



More information about the Comp.unix.aux mailing list