home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD v1.2 / amidev_cd_12.iso / inc&ad2.0 / text_autodocs / filesysres.doc < prev    next >
Text File  |  1992-09-01  |  2KB  |  53 lines

  1.  
  2.  
  3. TABLE OF CONTENTS
  4.  
  5. FileSystem.resource/--background--
  6.  
  7.  
  8. FileSystem.resource/--background--           FileSystem.resource/--background--
  9.  
  10.    PURPOSE
  11.  
  12.     The FileSystem.resource is where boot disk drivers rendezvous
  13.     to share file system code segments for partitions specified by
  14.     dos type.  Prior to V36, it was created by the first driver
  15.     that needed to use it.  For V36, its creation is ensured by the
  16.     rom boot process.
  17.  
  18.    CONTENTS
  19.  
  20.     The FileSystem.resource is described in the include file
  21.     resources/filesysres.h.  The nodes on it describe how to
  22.     algorithmically convert the result of MakeDosNode (from the
  23.     expansion.library) to a node appropriate for the dos type.
  24.  
  25.     FileSysEntry
  26.         fse_Node        on fsr_FileSysEntries list
  27.                 ln_Name is of creator of this entry
  28.         fse_DosType        DosType of this FileSys: e.g. 0x444f5301
  29.                 for the fast file system.
  30.         fse_Version        high word is the version, low word is
  31.                 the revision.
  32.         fse_PatchFlags    bits set for those of the following that
  33.                 need to be substituted into a standard
  34.                 device node for this file system: e.g.
  35.                 $180 for substitute SegList & GlobalVec
  36.         fse_Type        device node type: zero
  37.         fse_Task        standard dos "task" field
  38.         fse_Lock        must be zero
  39.         fse_Handler        for V36, if bit 31 is set, this is not
  40.                 an AmigaDOS partition.
  41.         fse_StackSize    stacksize to use when starting task
  42.         fse_Priority    task priority when starting task
  43.         fse_Startup        startup msg: FileSysStartupMsg for disks
  44.         fse_SegList        segment of code to run to start new task
  45.         fse_GlobalVec    BCPL global vector when starting task
  46.  
  47.     no more entries need exist than those implied by fse_PatchFlags,
  48.     so entries do not have a fixed size.  For V36, for example, the
  49.     entry for the fast file system (fse_DosType 0x444f5301)
  50.     contains a zero fse_PatchFlags, and thus no entries beyond that.
  51.  
  52.  
  53.