• Robert Sprowson's avatar
    Add some comments (!) and reindent FileSwitch interface · 6f9ea986
    Robert Sprowson authored
    OpsGetPut
      DOSFS_put_bytes no longer passes an unnecessary dummy argument.
      Reindented.
      Doxygen comments added to FileSwitch layer.
    OpsFind
      Suggested buffer to FileSwitch is now 1x512 sector (rather than 256).
      Note - nothing seems to use the cluster buffering code in DOSFS,
    indeed nothing ever malloc()s a buffer.
      Check at line 237 of OpFind would never be true since FILE_subdir is
    not 1, fixed.
      Return an error if the handle to close is invalid.
      Reindented.
      Doxygen comments added to FileSwitch layer.
    OpsFile
      Reindented.
      Doxygen comments added to FileSwitch layer.
    OpsFunc
      A failure to find a slot to set the disc title now reports "Dir full"
    not "Disc full"
      Reindented.
      Doxygen comments added to FileSwitch layer.
    
    Version 0.99. Tagged as 'DOSFS-0_99'
    6f9ea986
DOSclusters 33.8 KB