•  Back 
  •  Functions 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : A system-global SCSI-driver SCSI-Driver
Author      : Steffen Engel
Version     : Text-Release 1.10e
Subject     : Documentation/Utilities
Nodes       : 31
Index Size  : 708
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : en
@default    : Title
@help       : 
@options    : -i +zz -t2
@width      : 70
View Ref-File3.9  Out                                                   SCSI-Driver

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)