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 2.x system file tables:

Offset  Size    Description
 00h    DWORD   pointer to next file table
 04h    WORD    number of files in this table
 06h  28h bytes per file
        Offset  Size    Description
         00h    BYTE    number of file handles referring to this file
         01h    BYTE    file open mode (see AH=3Dh)
         02h    BYTE    file attribute
         03h    BYTE    drive (0 = character device, 1 = A, 2 = B, etc)
         04h 11 BYTEs   filename in FCB format (no path,no period,blank-padded)
         0Fh    WORD    ???
         11h    WORD    ???
         13h    DWORD   file size???
         17h    WORD    file date in packed format (see AX=5700h)
         19h    WORD    file time in packed format (see AX=5700h)
         1Bh    BYTE    device attribute (see AX=4400h)
        ---character device---
         1Ch    DWORD   pointer to device driver
        ---block device---
         1Ch    WORD    starting cluster of file
         1Eh    WORD    relative cluster in file of last cluster read
        ------
         20h    WORD    absolute cluster number of current cluster
         22h    WORD    ???
         24h    DWORD   current file position???

See Also: INT 21h, 52h

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