Important: The information in this document is obsolete and should not be used for new development.
SCSIGet
You use theSCSIGetfunction to arbitrate for control of the SCSI bus.
FUNCTION SCSIGet: OSErr;DESCRIPTION
TheSCSIGetfunction prepares the SCSI Manager to initiate the arbitration sequence. If the SCSI Manager is busy with another operation, this function returns thescMgrBusyErrresult. If arbitration failed because the bus was busy, the function returns thescArbNBErrresult.
- IMPORTANT
- The operation of the
SCSIGetfunction varies on different Macintosh models and does not necessarily initiate the SCSI bus arbitration phase. In some Macintosh models, the arbitration phase does not occur until your program calls theSCSISelectfunction. However, your program must always call theSCSIGetfunction before callingSCSISelect.![]()
ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector forSCSIGetare
Trap macro Selector _SCSIDispatch $0001 RESULT CODES
noErr 0 No error scCommErr 2 Communications error, operation timeout scArbNBErr 3 Bus busy, arbitration timeout scMgrBusyErr 7 SCSI Manager busy SEE ALSO
See "SCSI Bus Phases," beginning on page 3-5, for a description of the arbitration phase.