Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Devices /
Chapter 3 - SCSI Manager / SCSI Manager Reference
SCSI Manager Routines /


SCSIRBlind

You can use the SCSIRBlind function to read data from a SCSI device using a blind transfer.

FUNCTION SCSIRBlind (tibPtr: Ptr): OSErr;
tibPtr
A pointer to an array of TIB instructions.
DESCRIPTION
The SCSIRBlind function is identical to the SCSIRead function but does not poll the SCSI controller before transferring each byte of data. The SCSI controller is polled only for the first byte transferred by each scInc, scNoInc, or scComp TIB instruction.

SPECIAL CONSIDERATIONS
You should use this function only if the device you are reading from is capable of transferring data fast enough to avoid timeout errors from the SCSI controller.

ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for SCSIRBlind are
Trap macroSelector
_SCSIDispatch$0008

RESULT CODES
noErr0No error
scCommErr2Communications error, operation timeout
scBadParmsErr4Unrecognized TIB instruction
scPhaseErrXPhase error on the SCSI bus
scCompareErr6Comparison error from scComp instruction
scBusTOErr9Bus timeout during blind transfer
SEE ALSO
See the description of the SCSIRead function on page 3-36 for information about performing a polled transfer. See "Choosing Polled or Blind Transfers," beginning on page 3-22, for additional information.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996