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 parameters

        Entry:
          AX = 440Dh
          BX = Drive
          CH = Category (Type of device)
                 8: Block device
          CL = 60h (Function within category)
                 (functions 43h-46h and 63h-66h are reserved for the
                 system).
          DS:DX = Address of packet
        Return:
          CF = 1
               AX = Error code
          CF = 0
               No error

        Packet:
        Name                    Size    ; Used for
        SpecialFunctions        DB      ; This field is used to futher define the parameters.
                                        ;   Bit 0: =1 Return the BPB that BUILD BPB would return.
                                        ;          =0 Return the default BPB.
                                        ;   Bits 1-7: Must be zero
        DeviceType              DB      ; The type of the device
                                        ;   0 = 320/360 KB, 5 1/4 inch
                                        ;   1 = 1.2 MB, 5 1/4 inch
                                        ;   2 = 720 KB, 3 1/2 inch
                                        ;   3 = 8 inch, single density
                                        ;   4 = 8 inch, double density
                                        ;   5 = Fixed disk
                                        ;   6 = Tape Drive
                                        ;   7 = Other
        DeviceAttributes        DW      ; Physical attributes of the device
                                        ;   Bit 0: =1 not removable, =0 removable
                                        ;   Bit 1: =1 diskette changeline supported, =0 diskette changeline not supported
                                        ;   Bits 2-15 are reserved

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