Up ] Docs Home ]

Format of File Control Block

Back ] Next ]

Offset Size Description

00h

BYTE

drive number
00h - A
01h - B
02h - C
03h - D
04h - E
05h - F
06h - G
07h - H
08h - I
09h - J
0Ah - K
0Bh - L
0Ch - M
0Dh - N
0Eh - O
0Fh - P
10h - Q
11h - R
12h - S
13h - T
14h - U
15h - V
16h - W
17h - X
18h - Y
19h - Z
FFh - is not allowed (signals extended FCB, see #01346)

01h

8 BYTEs

blank-padded file name

09h

3 BYTEs

blank-padded file extension

0Ch

WORD

current block number

0Eh

WORD

logical record size

10h

DWORD

file size

14h

WORD

date of last write (see #01666 at AX=5700h)

16h

WORD

time of last write (see #01665 at AX=5700h) (DOS 1.1+)

18h

8 BYTEs

reserved (see #01347,#01348,#01349,#01350,#01351)

20h

BYTE

record within current block

21h

DWORD

random access record number (if record size is > 64 bytes, high byte is omitted)

See Also:

#01346