INT 21 - DOS 3.x - IOCTL - BLOCK DEVICE LOCAL                 

Input

DOS1 N DOS2 N

DOS3

Y DOS5 Y

Output

AX

44h 09h Error Code AX

BX

  Drive (0=Def)     BX

CX

        CX

DX

    Attribute Word DX

ES:DI

  Set if Error CF
        Bit 12 of the Attribute indicates whether device is remote.

If bit 12 is ZERO indicating a local device, then:
Local Device:
Bit Dec Hex  Description
0 1 0001h  Reserved
1 2 0002h  Uses 32 bit sector addressing
2 4 0004h  Reserved
3 8 0008h
4 16 0010h
5 32 0020h
6 64 0040h  Supports Func 44h/0Dh, 0Eh, 0Fh
7 128 0080h  Supports Func 44h/11h
8 256 0100h  Reserved
9 512 0200h  Local, but shared by others
10 1024 0400h  Reserved
11 2048 0800h  Supports Func 44h/08h
12 4096 1000h  Reserved
13 8192 2000h  Requires Media Descriptor in FAT
14 16384 4000h  Supports 44h/04h, 05h
15 32768 8000h  SUBST Drive
 


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .