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]

Format of DOS 3.x system file tables and FCB tables:

Offset  Size    Description
 00h    DWORD   pointer to next file table
 04h    WORD    number of files in this table
 06h  35h bytes per file
        Offset  Size    Description
         00h    WORD    number of file handles referring to this file
         02h    WORD    file open mode (see AH=3Dh)
                        bit 15 set if this file opened via FCB
         04h    BYTE    file attribute
         05h    WORD    device info word (see AX=4400h)
         07h    DWORD   pointer to device driver header if character device
                        else pointer to DOS Device Control Block (see AH=32h)
         0Bh    WORD    starting cluster of file
         0Dh    WORD    file time in packed format (see AX=5700h)
         0Fh    WORD    file date in packed format (see AX=5700h)
         11h    DWORD   file size
         15h    DWORD   current offset in file
         19h    WORD    relative cluster within file of last cluster read
         1Bh    WORD    absolute cluster number of last cluster read
         1Dh    WORD    number of sector containing directory entry
         1Fh    BYTE    number of dir entry within sector (byte offset/32)
         20h 11 BYTEs   filename in FCB format (no path/period, blank-padded)
         2Bh    DWORD   (SHARE.EXE) pointer to previous SFT sharing same file
         2Fh    WORD    (SHARE.EXE) network machine number which opened file???
         31h    WORD    PSP segment of file's owner (see AH=26h)
         33h    WORD    offset within SHARE.EXE code segment of
                        sharing record (see below)  0000h = none

See Also: INT 21h, 52h

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