Important: The information in this document is obsolete and should not be used for new development.
SCSIWBlind
You can use theSCSIWBlind
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
TheSCSIWBlind
function is identical to theSCSIWrite
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 eachscInc
,scNoInc
, orscComp
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 forSCSIWBlind
are
Trap macro Selector _SCSIDispatch $0009 RESULT CODES
noErr 0 No error scCommErr 2 Communications error, operation timeout scBadParmsErr 4 Unrecognized TIB instruction scPhaseErr X Phase error on the SCSI bus scBusTOErr 9 Bus timeout during blind transfer SEE ALSO
See the description of theSCSIWrite
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.