home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 9 / AU_CD9.iso / Cover_Discs / Back_Issues / 1996_07 / !CDFix / !Help next >
Text File  |  1995-11-04  |  3KB  |  89 lines

  1. !CDFix (v1.00 4/11/95)
  2. ~~~~~~~~~~~~~~~~~~~~~~
  3.  
  4. This little application is designed to fix various flaws within Acorns CDFS
  5. filing system. It works by ripping the exisitng CDFS module out of the RMA,
  6. patching it, and writing it back. In the process of doing this, the module
  7. grows by about 128 bytes.
  8.  
  9. The bugs fixed are:
  10.  
  11.       *    Filetypes:
  12.     CDFS contains a routine that maps file extensions to filetypes.
  13.     Unfortunately this routine is broken due to a typo. This program
  14.     reassembles working code over the top of the old version.
  15.           
  16.       *    Opaque Files:
  17.     CDs can contain "Opaque files". These are special files which are
  18.     usually associated with ordinary files on the CD. These are
  19.     explained below in more detail. This program patches CDFS so as to
  20.     allow them to be accessed by replacing occurences of "/" with "_".
  21.     
  22. Both of these bugs are to be fixed in a future release of CDFS by Acorn, but
  23. this is intended as a stopgap measure.
  24.  
  25. A debt of Gratitude is owed to Martin Sperl and Mike Martin who wrote the
  26. original Filetypes/CD_Type program on which this is based.
  27.  
  28. I will endeavour to keep the latest version of this software on-line as:
  29.  
  30.     ftp://ftp.comlab.ox.ac.uk/tmp/Robin.Watts/CDFix.zip
  31.  
  32. Opaque Files:
  33. ~~~~~~~~~~~~~
  34. In the mad mad world of apples, files are generally split into two sections
  35. or "forks". One fork is known as the data fork and contains (for instance)
  36. the compressed frames of a movie, or the image data for bitmaps. The other
  37. is known as the resource fork, and contains information on how to interpret
  38. the data fork, for instance where the frames start, what speed they should
  39. be played back at, what compression type they use etc.
  40.  
  41. These are stored on CDs as separate files, with the same names. They are
  42. differentiated by the resource fork having the "Opaque" bit set.
  43.  
  44. Unfortunately on RISC OS this means that the Filer window shows two
  45. identically named files. As soon as you try to access one of them, it is
  46. always the first of the pair that is actually accessed. Typically this means
  47. you can only get to the resources for a file, and not the data itself (in
  48. fact it can be ther other way round, but either way is useless).
  49.  
  50. As a blatent hack to get around this problem, CDFix patches CDFS to rewrite
  51. any "/" in an opaque files filename as "_". Thus if you have a file
  52. "FRED/MOV" on a CD, you will now see "FRED_MOV" and "FRED/MOV".
  53.  
  54. I wrote this application so as to allow MovieFS to run transparently from CD.
  55. Future versions of MovieFS will automatically detect the dual files and use
  56. them transparently.
  57.  
  58. Contact Addresses:
  59. ~~~~~~~~~~~~~~~~~~
  60.  
  61. I can be contacted at:
  62.  
  63.     Robin Watts
  64.     Warm Silence Software,
  65.     St Catherine's College,
  66.     Oxford, OX1 3UJ
  67.     Tel: 0585 487642 (and yes, that is 0585, not 01585)
  68.     Email: Robin.Watts@comlab.ox.ac.uk
  69.     
  70. Martin Sperl (who wrote the original !Filetypes) can be contacted at:
  71.  
  72.     Martin Sperl,
  73.     Nattergasse 12/32
  74.     A-1170 Vienna
  75.     Austria
  76.     Fido: 2:313/16.6
  77.     Email: Sperl@Astro1.auniw.ac.at
  78.     
  79. I do not have a contact address for Mike Martin other than "Softcorn".
  80.  
  81. History:
  82. ~~~~~~~~
  83. Vesion 1.00: 4/11/95
  84.  
  85.     Base release version.
  86.  
  87. [If this all scrolled past too fast, load an editor first. If the editor
  88. displays TABs as [09] then get a copy of real editor like !Zap.]
  89.