Important: The information in this document is obsolete and should not be used for new development.
SCSISelAtn
You can use theSCSISelAtnfunction to select a SCSI device and at the same time to assert the attention (/ATN) bus signal.
FUNCTION SCSISelAtn (targetID: Integer): OSErr;
targetID- The SCSI ID of the target device, with a value from 0 to 6.
 DESCRIPTION
TheSCSISelAtnfunction is identical to theSCSISelectfunction except that this function asserts the /ATN signal during selection. The /ATN signal informs the target that the initiator wants to send a message. TheSCSISelAtnfunction must be followed by a call to theSCSIMsgOutfunction to send the message to the target device.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector forSCSISelAtnare
Trap macro Selector _SCSIDispatch $000B RESULT CODES
noErr 0 No error scCommErr 2 Communications error, operation timeout SEE ALSO
See "SCSI Bus Signals," beginning on page 3-4, and "SCSI Bus Phases," beginning on page 3-5, for more information about the attention signal and the selection phase.