FIB
This page was last modified 00:20, 3 December 2018 by Grauw. Based on work by NYYRIKKI.

File Info Block (FIB)

FIB is 64-byte structure meant to replace older FCB structure in MSX-DOS2 environment. FIB aware BDOS functions allow access to both directories and files, but they are not available in MSX-DOS1. MSX-DOS1 compatible programs must use FCB functions instead.

Structure of FIB

Offset: Lenght: Description:
0 1 =255 (To separate from ASCIIZ string)
1-13 13 Filename as ASCIIZ string
14 1 Attribute bits (Read only, Hidden, System, Volume, Directory, Archive, 0 ,Device)
15-16 2 Time of last modification (H:M:S = 5:6:5)
17-18 2 Date of last modification (Y/M/D = 7/4/5)
19-20 2 Start cluster
21-24 4 File size
25 1 Logical drive (1-8)
26-63 38 Internal information, must not be modified