Important: The information in this document is obsolete and should not be used for new development.
SCSIMsgIn
You can use theSCSIMsgIn
function to receive a message from a SCSI device.
FUNCTION SCSIMsgIn (VAR message: Integer): OSErr;
message
- The low-order byte contains the message from the target device.
DESCRIPTION
TheSCSIMsgIn
function receives a SCSI message from the previously selected target device. The message is returned in the low-order byte of themessage
parameter. See the SCSI specification for information about the types of messages that can be sent from a target to an initiator.The
SCSIMsgIn
function leaves the attention bus signal undisturbed if it is already asserted.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector forSCSIMsgIn
are
Trap macro Selector _SCSIDispatch $000C RESULT CODES
noErr 0 No error scCommErr 2 Communications error, operation timeout scPhaseErr X Phase error on the SCSI bus SEE ALSO
See "SCSI Messages," beginning on page 3-7, for an overview of SCSI messages. Refer to the SCSI specification for detailed information about SCSI messages.