Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!van-bc!rsoft!mindlink!a186 From: Harvey_Taylor@mindlink.bc.ca (Harvey Taylor) Newsgroups: comp.sys.amiga.programmer Subject: SCSI Direct Message-ID: <5909@mindlink.bc.ca> Date: 17 May 91 03:14:24 GMT Organization: MIND LINK! - British Columbia, Canada Lines: 72 I've been playing with SCSI Direct lately (without documentation) & I have some questions. I am trying to talk to a TEAC scsi floppy from a Xetec MiniFastCard. These are my results so far. * ************************************************************* * SCSI Commands RESULTS * * TEST_UNIT_READY $2D BadStatus * REQUEST_SENSE $2D BadStatus * INQUIRY $00 TEAC info REV etc * READ_CAPACITY $2C SelTimeout * MODE_SELECT $2D BadStatus * FORMAT $2D BadStatus * SEND DIAGNOSTIC (Self Test) $2C SelTimeout * * SEND DIAGNOSTIC $2C SelTimeout * RECEIVE DIAGNOSTIC RESULTS GURU ************************************************************* * Does anybody happen to know a mapping between the result codes & more specific device info? ie. What do all those damn BadStatus results mean? HFERR_SelfUnit EQU $00000028 HFERR_DMA EQU $00000029 HFERR_Phase EQU $0000002A HFERR_Parity EQU $0000002B HFERR_SelTimeout EQU $0000002C HFERR_BadStatus EQU $0000002D HFERR_NoBoard EQU $00000032 In a .hdr file with the Xetec stuff they show their SCSI_CMD structure as having a few more fields than the CBM version. Specifically: * SCSICmd EQU $00000000 scsi_Data EQU $00000000 scsi_Length EQU $00000004 scsi_Actual EQU $00000008 scsi_Command EQU $0000000C scsi_CmdLength EQU $00000010 scsi_CmdActual EQU $00000012 scsi_Flags EQU $00000014 scsi_Status EQU $00000015 * * Xetec extra below * scsi_SenseData EQU $00000016 scsi_SenseLength EQU $0000001A scsi_SenseActual EQU $0000001C * * Is anybody else using these? GVP? MicroBotics? Has the CBM spec grown or is it just Xetec? Finally, in the SCSI_CMD structure, scsi_Flags field what is the meaning of (particularly AutoSense): SCSIF_WRITE EQU $00000000 SCSIF_READ EQU $00000001 SCSIF_AUTOSENSE EQU $00000002 Any info or thoughts you have would be appreciated. -het "With the first link, a chain is forged. The first speech censured, the first thought forbidden, the first freedom denied, chains us all irrevocably." - Satie Harvey Taylor Meta Media Productions uunet!van-bc!rsoft!mindlink!Harvey_Taylor a186@mindlink.bc.ca