Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- DOS 5.0 Ref. - <b>function 440dh /40h set device parameters dos 3.2+</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Function 440Dh /40h     Set Device Parameters                        DOS 3.2+

    Sets the device parameters for the specified block device.

        Entry   AX    = 440Dh
                BX    = Drive number (0 = default, 1 = A, etc.)
                CH    = 08h (device category, must be 8)
                CL    = 40h
                DS:DX = Pointer to a DeviceParams structure

        Return  AX = Error code, if CF is set
                     | 01h Invalid function
                     | 02h File not found (invalid drive number)
                     | 05h Access denied

    ------------------------------------------------------------------

    The following statements define device parameters for several
    common media formats:

    radix 10
    ss160  DeviceParams <0,1,2,40,0,512,1,1,2, 64, 320,0feh,1, 8,1,0,0>
    ss180  DeviceParams <0,1,2,40,0,512,1,1,2, 64, 360,0fch,2, 9,1,0,0>
    dd320  DeviceParams <0,1,2,40,0,512,2,1,2,112, 640,0ffh,1, 8,2,0,0>
    dd360  DeviceParams <0,1,2,40,0,512,2,1,2,112, 720,0fdh,1, 9,2,0,0>
    sh320  DeviceParams <0,1,2,80,0,512,2,1,2,112, 640,0fah,1, 8,1,0,0>
    dh360  DeviceParams <0,1,2,80,0,512,2,1,2,112, 720,0fch,2, 9,1,0,0>
    dh640  DeviceParams <0,1,2,80,0,512,2,1,2,112,1280,0fbh,2, 8,2,0,0>
    dh720  DeviceParams <0,1,2,80,0,512,2,1,2,112,1440,0f9h,3, 9,2,0,0>
    dh144  DeviceParams <0,1,2,80,0,512,1,1,2,224,2880,0f0h,9,18,2,0,0>
    dh120  DeviceParams <0,1,2,80,0,512,1,1,2,224,2400,0f0h,7,15,2,0,0>

See Also: 440Dh /60h DeviceParams Media types

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