1. 24 Jun, 2014 2 commits
    • Robert Sprowson's avatar
      Hypothetical C syntax swapped for reality · 05e22692
      Robert Sprowson authored
      Nice though it would be to be able to use logical or to test multiple characters at once, that expression simply evaluates to "TRUE" in the real world, so the substitution for underscore never worked when shortening filenames.
      The function still doesn't follow Microsoft's rules (see ticket #313) yet.
    • Robert Sprowson's avatar
      Added some doxygen comments · f7bb3d25
      Robert Sprowson authored
      Also corrected various confusions about NULL (a pointer) and the ASCII character 0.
      Reindented consistently.
      Version 1.05. Tagged as 'DOSFS-1_05'
  2. 31 May, 2014 1 commit
    • Robert Sprowson's avatar
      Use a few defines, correct error text · 03c414ee
      Robert Sprowson authored
      Magic E5 and 0F's swapped for preexisting defines.
      Name too long error (when truncate CMOS is off) erroneously said 8 characters was the name limit despite the loop counter check being 255 characters.
      Not tagged.
  3. 13 Jan, 2013 2 commits
    • Robert Sprowson's avatar
      Add some comments (!) and reindent FileSwitch interface · 6f9ea986
      Robert Sprowson authored
        DOSFS_put_bytes no longer passes an unnecessary dummy argument.
        Doxygen comments added to FileSwitch layer.
        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.
        Doxygen comments added to FileSwitch layer.
        Doxygen comments added to FileSwitch layer.
        A failure to find a slot to set the disc title now reports "Dir full"
      not "Disc full"
        Doxygen comments added to FileSwitch layer.
      Version 0.99. Tagged as 'DOSFS-0_99'
    • Robert Sprowson's avatar
      Rationalise some defines · 41c45883
      Robert Sprowson authored
      Many magic numbers changed to exported defines.
      Eliminated unused "BOOTblock.h" (was just nesting 1 include file).
      Moved non ASCII definitions out of "ASCII.h" then found the remainder weren't used => eliminated.
      Version 0.98. Tagged as 'DOSFS-0_98'
  4. 07 Dec, 2012 1 commit
    • Robert Sprowson's avatar
      Source file subdivision · eea0d135
      Robert Sprowson authored
      The sources to DOSFS had become rather jumbled and monolithic
      * Split FileSwitch interface out into seperate ops source files.
      * Combined international error lookup with MsgTrans code.
      * Split utility functions into 'Helpers.c' along with wildcard matching functions.
      * Moved DOS naming functions into, erm, 'DOSnaming.c'.
      * Makefile tweaked to remove 'symbols' on clean.
      * Obsolete 'Help' and 'Syntax' placed in attic.
      RAM, debug, and ROM targets built. RAM target tested with a DOS floppy disc.
      Version 0.96. Tagged as 'DOSFS-0_96'
  5. 11 Jun, 2009 1 commit
    • Ben Avison's avatar
      #include file pathnames changed · 72e15bd2
      Ben Avison authored
        Uses suffixed file extensions for compatiblity with both Norcroft and GCC.
        Supplied by Peter Naulls, tested at ROOL
      Version 0.86. Not tagged
  6. 30 Sep, 2004 1 commit
    • John Ballance's avatar
      Update of DOSFS to handle Long File Names and FAT32 (up to 2GB) · 0d05b48e
      John Ballance authored
         Extend DOSFS to correctly recognise FAT32 DOS images and to
         use the Long File Name extensions. NOTE that there is still
         a 2gb size limit imposed by the max filecore image file
         size limitiations. NOTE also that as yet there is no support for
         UTF encoding of file names.
         Tested at castle and with beta testers.
         Modifications are castle and castle assigned IP (from CJB)
      Version 0.79. Tagged as 'DOSFS-0_79'
  7. 22 Sep, 2002 1 commit
    • Robert Sprowson's avatar
      Deleted some dead variables and switches. · 95b10dd4
      Robert Sprowson authored
      Eliminated MOVS and R14 fiddling to achieve 32 bit compatibility
      RISCOS Ltd made 3 changes in their sources
       - ensure disc titles don't contain rogue characters (added)
       - files with time,date,and reserved fields of zero appears as DEADDEAD
         which is silly since Winodws uses this to mark a file unstamped which
         isn't quite the same thing! (not added)
       - syslog debugging support (not added)
      Version 0.69. Tagged as 'DOSFS-0_69'
  8. 05 Nov, 1996 1 commit