Previous Next Contents Index
Appendix 1: The UFIA

UFIA n
An User File Information Area is build up as follows (n=1 or 2).

Offset  Lenght  Name        Contents
0       1       DEV_NUMn    Device number; start of UFIA with number n.
1       1       PROG_NUMn   Program number. While OPENing an OPENTYPE file this
                            holds keywords 'IN' or 'OUT'.
2       1       STRM_NUMn   Stream number.
3       1       DEV_TYPEn   Device type.
4       1       DIR_DESCRn  Directory description. Start of the 11 bytes file
                            descriptor.
5       10      FILE_NAMEn  Filename.
15      1       FILE_TYPEn  File type.
16      2       LENGTHn_1   Length of file.
18      2       FILE_ADDRn  Start of file.
20      2       LENGTHn_2   BASIC program length without variables.
22      2       AUTOSTARTn  Autostart line number.