•  Back 
  •  MagiC's DFS-concept 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File11.5.15.3  The directory entry (DIR)                               TOS

The following fields are identical for every DFS:

dir_name:  DS.B   11    /* 0x00: Filename                            */
dir_attr:  DS.B    1    /* 0x0b: Attribute                           */
dir_usr1:  DS.W    1    /* 0x0c: For free user assignment            */
dir_usr2:  DS.L    1    /* 0x0e: For free user assignment            */
dir_usr3:  DS.L    1    /* 0x12: For free user assignment            */
dir_time:  DS.W    1    /* 0x16: Time of last change (Intel format)  */
dir_date:  DS.W    1    /* 0x18: Date of last change (Intel format)  */
dir_stcl:  DS.W    1    /* 0x1a: First cluster, or other info        */
dir_flen:  DS.L    1    /* 0x1c: File length (Intel format)          */

Note: Instead of the cluster, other statements are possible as well. 
However, DOS_XFS treats the entry as a cluster specification at first 
(for xattr.index and fd_stcl as well as the creation of the entries 
'.' and '..' for Dcreate). In the case of Fxattr the statements of the 
DFS can be overwritten with other data.

See also: MagiC's DFS-concept