SCSISelAtnYou can use the
SCSISelAtnfunction to select a SCSI device and at the same time to assert the attention (/ATN) bus signal.
FUNCTION SCSISelAtn (targetID: Integer): OSErr;
- The SCSI ID of the target device, with a value from 0 to 6.
SCSISelAtnfunction is identical to the
SCSISelectfunction except that this function asserts the /ATN signal during selection. The /ATN signal informs the target that the initiator wants to send a message. The
SCSISelAtnfunction must be followed by a call to the
SCSIMsgOutfunction to send the message to the target device.
ASSEMBLY-LANGUAGE INFORMATIONThe trap macro and routine selector for
Trap macro Selector _SCSIDispatch $000B
noErr 0 No error scCommErr 2 Communications error, operation timeout
SEE ALSOSee "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.