Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Interrupts & Ports - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

        Get device information (INT 21h, 4400h)

        Entry:
          AH = 44h
          AL = 0
          BX = Handle
        Return:
          CF = 1
              AX = Error Code
          CF = 0
              DX = Device information
                     1xxx xxxx xxxx xxxx  Reserved
                     x1xx xxxx xxxx xxxx  1=IOCTL 2-5 allowed
                     xx11 1111 xxxx xxxx  Reserved
                     xxxx xxxx 1xxx xxxx  0=Disk file, 1=Device
                     xxxx xxxx x1xx xxxx  End-of-file
                     xxxx xxxx xx1x xxxx  Binary mode
                     Disk file:
                     xxxx xxxx xxx1 1111  Device number (A=0, B=1 ...)
                     Device:
                     xxxx xxxx xxx1 xxxx  Reserved
                     xxxx xxxx xxxx 1xxx  1=Clock device
                     xxxx xxxx xxxx x1xx  1=Nul device
                     xxxx xxxx xxxx xx1x  1=Console Output device
                     xxxx xxxx xxxx xxx1  1=Console Input device

See Also: INT 21h, 4401h

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