Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Ralf Brown's Interrupt List (Part 1,2) - int 4f - common access method scsi interface http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 4F - Common Access Method SCSI interface
        ES:BX -> CAM Control Block (CCB)
Return: nothing
Notes:  the installation check for the driver is the string "SCSI_CAM" eight
          bytes past the INT 4Bh handler
        this information is based on the 1.9 draft version of the
          specification, except that the interrupt was changed after that versn
SeeAlso: INT 4B

Format of CAM Control Block:
Offset  Size    Description
 00h    WORD    CAM control block length
 02h    BYTE    function code
 03h    BYTE    CAM status
 04h    BYTE    SCSI status
 05h    BYTE    path ID
 06h    BYTE    target ID
 07h    BYTE    logical unit number
 08h    BYTE    CAM flags
                bits 7-6: direction
                        00 reserved
                        01 in
                        10 out
                        11 no data transfer
                bit 5: disable autosense
                bit 4: scatter/gather
                bit 3: disable callback on completion
                bit 2: linked CDB
                bit 1: queue action enable
                bit 0: CDB is a pointer
 09h    BYTE    CAM flags
                bit 7: disable disconnect
                bit 6: initiate synchronous transfers  \ mutually
                bit 5: disable synchronous transfers   / exclusive
                bit 4: SIM queue priority
                        1 head insertion
                        0 tail insertion (normal)
                bits 3-0: reserved
 0Ah    BYTE    CAM flags
                bit 7: reserved
                bit 6: CDB pointer    (bits 6-1: 0=VA, 1=PA)
                bit 5: SG list/data
                bit 4: sense buffer
                bit 3: message buffer
                bit 2: next CCB
                bit 1: callback on completion
                bit 0: reserved
 0Bh    BYTE    target-mode flags
                bit 7: data buffer valid
                bit 6: status valid
                bit 5: message buffer valid
                bits 4-3: reserved
                bit 2: target CCB available
                bit 1: disable autodisconnect
                bit 0: disable autosave/restore
 0Ch  N BYTEs   function-dependent data

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson