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 /


SCSIWBlind

You can use the SCSIWBlind function to write to a SCSI device using a blind transfer.

FUNCTION SCSIWBlind (tibPtr: Ptr): OSErr;
tibPtr
A pointer to an array of TIB instructions.
DESCRIPTION
The SCSIWBlind function is identical to the SCSIWrite 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 writing to is capable of accepting data fast enough to avoid timeout errors from the SCSI controller.

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

RESULT CODES
noErr0No error
scCommErr2Communications error, operation timeout
scBadParmsErr4Unrecognized TIB instruction
scPhaseErrXPhase error on the SCSI bus
scBusTOErr9Bus timeout during blind transfer
SEE ALSO
See the description of the SCSIWrite function on page 3-38 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