Important: The information in this document is obsolete and should not be used for new development.
SCSISelect
You useSCSISelectfunction to select a SCSI device for a subsequent operation.
FUNCTION SCSISelect (targetID: Integer): OSErr;
targetID- The SCSI ID of the target device, with a value from 0 to 7.
DESCRIPTION
TheSCSISelectfunction selects the SCSI device identified by thetargetIDvalue.
- IMPORTANT
- You must call the
SCSIGetfunction before callingSCSISelect.![]()
ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector forSCSISelectare
Trap macro Selector _SCSIDispatch $0002 RESULT CODES
noErr 0 No error scCommErr 2 Communications error, operation timeout scArbNBErr 3 Bus busy, arbitration timeout scSequenceErr 8 Attempted operation is out of sequence SEE ALSO
See "SCSI Bus Phases," beginning on page 3-5, for a description of the selection phase.