Home Functions In CheckDev
 

3.9 Out

Sends a SCSI command and sends the data. Parameter as for In.

  LONG  cdecl (*Out)           (tpSCSICmd  Parms);

  typedef struct
  {
    tHandle Handle;            /* Handle for bus and device */
    BYTE  *Cmd;                /* Pointer to CmdBlock */
    UWORD CmdLen;              /* Length of Cmd-Block (needed for
                                * ASCI) */
    void  *Buffer;             /* Data buffer */
    ULONG TransferLen;         /* Transfer length */
    BYTE  *SenseBuffer;        /* Buffer for ReqSense (18 bytes) */
    ULONG Timeout;             /* Timeout in 1/200 sec */
    UWORD Flags;               /* Bit-vector for desired sequence of
                                  transfer */
      #define Disconnect 0x10  /* Try to disconnect */

  }tSCSICmd;
  typedef tSCSICmd *tpSCSICmd;

ATTENTION:

  With virtual RAM you must take care of transfer via ST-RAM yourself
  (see section VIRTUAL RAM)
Home Functions In CheckDev