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.16.2 The make-up of an XFS TOS Since the implementation of an XFS can only be performed in Assembler, its description is given in Assembler syntax: xfs_name: DS.B 8 /* Name of the filesystem */ xfs_next: DS.L 1 /* Next driver */ xfs_flags: DS.L 1 /* Flags, analogous to MiNT */ xfs_init: DS.L 1 /* Initialization */ xfs_sync: DS.L 1 /* Synchronization of the filesystem */ xfs_pterm: DS.L 1 /* Notifies a program termination */ xfs_garbcoll: DS.L 1 /* Garbage collection, or NULL */ xfs_freeDD: DS.L 1 /* Releases DD */ xfs_drv_open: DS.L 1 /* Tests/initializes DMD (Mediach) */ xfs_drv_close: DS.L 1 /* Forces a disk media change */ xfs_path2DD: DS.L 1 /* Returns a DD to a pathname */ xfs_sfirst: DS.L 1 /* Searches for first matching file */ xfs_snext: DS.L 1 /* Searches for next matching file */ xfs_fopen: DS.L 1 /* Opens or creates a file */ xfs_fdelete: DS.L 1 /* Deletes a file */ xfs_link: DS.L 1 /* Required for Frename and Flink */ xfs_xattr: DS.L 1 /* Required for Fxattr */ xfs_attrib: DS.L 1 /* Required for Fattrib */ xfs_chown: DS.L 1 /* Required for Fchown */ xfs_chmod: DS.L 1 /* Required for Fchmod */ xfs_dcreate: DS.L 1 /* Creates a directory */ xfs_ddelete: DS.L 1 /* Deletes a directory */ xfs_DD2name: DS.L 1 /* Returns the absolute pathname */ xfs_dopendir: DS.L 1 /* Opens a directory */ xfs_dreaddir: DS.L 1 /* Reads the next directory entry */ xfs_drewinddir: DS.L 1 /* Sets the dirhandle to 1st entry */ xfs_dclosedir: DS.L 1 /* Closes the dirhandle */ xfs_dpathconf: DS.L 1 /* Obtains various limits */ xfs_dfree: DS.L 1 /* Obtains number of free blocks etc. */ xfs_wlabel: DS.L 1 /* Writes the disk name */ xfs_rlabel: DS.L 1 /* Reads the disk name */ xfs_symlink: DS.L 1 /* Creates a symbolic link */ xfs_readlink: DS.L 1 /* Reads a symbolic link */ xfs_dcntl: DS.L 1 /* Required for Dcntl */ See also: Make-up of a DFS MagiC's XFS-concept