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 13 - future domain scsi controller - get pointer to scsi disk info block http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 13 - Future Domain SCSI CONTROLLER - GET POINTER TO SCSI DISK INFO BLOCK
        AH = 1Bh
        DL = hard drive ID
Return: CF set on error
            AH = status code (see AH=01h)
        CF clear if successful
            ES:BX -> SCSI disk information block
Note:   also sets a non-resettable flag which prevents some controller messages
          from being displayed
SeeAlso: AH=18h"SCSI",AH=1Ch"SCSI"

Format of SCSI disk information block:
Offset  Size    Description
 00h    BYTE    drive physical information
                bit 0: ???
                bit 1: device uses parity
                bit 2: 256 bytes per sector instead of 512
                bit 3: don't have capacity yet???
                bit 4: disk is removable
                bit 5: logical unit number is not present
 01h    WORD    translated number of cylinders
 03h    BYTE    translated number of heads
 04h    BYTE    translated number of sectors per track (17, 34, or 63)
 05h    BYTE    drive address
                bits 0-2: logical unit number
                bits 3-5: device number
 06h    BYTE    01h at initialization
 07h    BYTE    sense code byte 00h, or extended sense code byte 0Ch
 08h    BYTE    00h
 09h    BYTE    00h or extended sense code byte 02h (sense key)
 0Ah    BYTE    00h
 0Bh 10 BYTEs   copy of Command Descriptor Block (CDB)
 15h    DWORD   translated number of sectors on device

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