Home » Archimedes archive » Archimedes World » AW-1996-06-Disc 1.adf » !CD_Utils_CD_Utils » ReadMe
ReadMe
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Archimedes World » AW-1996-06-Disc 1.adf » !CD_Utils_CD_Utils |
Filename: | ReadMe |
Read OK: | ✔ |
File size: | 09B6 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
CDFix CDFix is a public domain utility based on CD_Type, originally supplied on January's cover disc 2. Both CDFix and CD_Type are usually included with Warm Silence Software's MovieFS application, a demo of which can be found on this issues' cover disc 2. Due to space constraints, however, CDFix is included on this disc instead. CD_Type was designed to fix a flaw within the CDFS filing system which meant that file extensions were not mapped to RISC OS filetypes. The result of this flaw was that even though a TIFF image may have had the extension /TIF, RISC OS did not recognise it as a TIFF file because it did not have the RISC OS filetype FF0, and since it is not possible to set a file's filetype on CD-ROM, the only way to read the image was to copy it to another disc or hard drive and then set it's filetype. CD_Type solved this problem by correctly mapping DOS extensions to RISC OS filetypes. CDFix incorporates all the mapping facilities offered by CD_Type, so it is not necessary to run both applications at the same time. CDFix also provides a temporary solution to the problem of using 'dual-format' CD-ROMs under RISC OS. These CD-ROMs are designed to be usable on both PCs and Macs, and for the latter include data and resource 'forks'. The data fork holds the actual file data, while the resource fork contains information on how to interpret the data fork. These forks are stored on CD-ROMs with identical names, but are differentiated by the resource fork having the so-called 'opaque' bit set. While DOS and Windows CD-ROM drivers know how to interpret both forks, under RISC OS both identically named files are displayed in the Filer window and trying to access the file almost always results in the useless resource fork file being loaded. CDFix solves this problem by patching the CDFS to replace the extension seperator, "/", in the opaque file's filename with an "_", so that the resource fork file will have the name, 'file_ext' while the data fork file will have the name, 'file/ext'. It is important to note that this is a beta version of CDFix. If you have problems with it use CD_Type instead. CD_Type can be found inside the !MovieFS.Filetypes directory on cover disc 2. In addition, drop the current author a note at the address below with details of your system, including version numbers of CDFS modules, operating systems, and CD-ROM types. Warm Silence Software, St Catherine's College, Oxford, OX1 3UJ Email: Robin.Watts@comlab.ox.ac.uk
00000000 43 44 46 69 78 0a 0a 43 44 46 69 78 20 69 73 20 |CDFix..CDFix is | 00000010 61 20 70 75 62 6c 69 63 20 64 6f 6d 61 69 6e 20 |a public domain | 00000020 75 74 69 6c 69 74 79 20 62 61 73 65 64 20 6f 6e |utility based on| 00000030 20 43 44 5f 54 79 70 65 2c 20 6f 72 69 67 69 6e | CD_Type, origin| 00000040 61 6c 6c 79 0a 73 75 70 70 6c 69 65 64 20 6f 6e |ally.supplied on| 00000050 20 4a 61 6e 75 61 72 79 27 73 20 63 6f 76 65 72 | January's cover| 00000060 20 64 69 73 63 20 32 2e 20 42 6f 74 68 20 43 44 | disc 2. Both CD| 00000070 46 69 78 20 61 6e 64 20 43 44 5f 54 79 70 65 20 |Fix and CD_Type | 00000080 61 72 65 0a 75 73 75 61 6c 6c 79 20 69 6e 63 6c |are.usually incl| 00000090 75 64 65 64 20 77 69 74 68 20 57 61 72 6d 20 53 |uded with Warm S| 000000a0 69 6c 65 6e 63 65 20 53 6f 66 74 77 61 72 65 27 |ilence Software'| 000000b0 73 20 4d 6f 76 69 65 46 53 20 61 70 70 6c 69 63 |s MovieFS applic| 000000c0 61 74 69 6f 6e 2c 0a 61 20 64 65 6d 6f 20 6f 66 |ation,.a demo of| 000000d0 20 77 68 69 63 68 20 63 61 6e 20 62 65 20 66 6f | which can be fo| 000000e0 75 6e 64 20 6f 6e 20 74 68 69 73 20 69 73 73 75 |und on this issu| 000000f0 65 73 27 20 63 6f 76 65 72 20 64 69 73 63 20 32 |es' cover disc 2| 00000100 2e 20 44 75 65 20 74 6f 0a 73 70 61 63 65 20 63 |. Due to.space c| 00000110 6f 6e 73 74 72 61 69 6e 74 73 2c 20 68 6f 77 65 |onstraints, howe| 00000120 76 65 72 2c 20 43 44 46 69 78 20 69 73 20 69 6e |ver, CDFix is in| 00000130 63 6c 75 64 65 64 20 6f 6e 20 74 68 69 73 20 64 |cluded on this d| 00000140 69 73 63 20 69 6e 73 74 65 61 64 2e 0a 0a 43 44 |isc instead...CD| 00000150 5f 54 79 70 65 20 77 61 73 20 64 65 73 69 67 6e |_Type was design| 00000160 65 64 20 74 6f 20 66 69 78 20 61 20 66 6c 61 77 |ed to fix a flaw| 00000170 20 77 69 74 68 69 6e 20 74 68 65 20 43 44 46 53 | within the CDFS| 00000180 20 66 69 6c 69 6e 67 20 73 79 73 74 65 6d 0a 77 | filing system.w| 00000190 68 69 63 68 20 6d 65 61 6e 74 20 74 68 61 74 20 |hich meant that | 000001a0 66 69 6c 65 20 65 78 74 65 6e 73 69 6f 6e 73 20 |file extensions | 000001b0 77 65 72 65 20 6e 6f 74 20 6d 61 70 70 65 64 20 |were not mapped | 000001c0 74 6f 20 52 49 53 43 20 4f 53 0a 66 69 6c 65 74 |to RISC OS.filet| 000001d0 79 70 65 73 2e 20 54 68 65 20 72 65 73 75 6c 74 |ypes. The result| 000001e0 20 6f 66 20 74 68 69 73 20 66 6c 61 77 20 77 61 | of this flaw wa| 000001f0 73 20 74 68 61 74 20 65 76 65 6e 20 74 68 6f 75 |s that even thou| 00000200 67 68 20 61 20 54 49 46 46 0a 69 6d 61 67 65 20 |gh a TIFF.image | 00000210 6d 61 79 20 68 61 76 65 20 68 61 64 20 74 68 65 |may have had the| 00000220 20 65 78 74 65 6e 73 69 6f 6e 20 2f 54 49 46 2c | extension /TIF,| 00000230 20 52 49 53 43 20 4f 53 20 64 69 64 20 6e 6f 74 | RISC OS did not| 00000240 20 72 65 63 6f 67 6e 69 73 65 0a 69 74 20 61 73 | recognise.it as| 00000250 20 61 20 54 49 46 46 20 66 69 6c 65 20 62 65 63 | a TIFF file bec| 00000260 61 75 73 65 20 69 74 20 64 69 64 20 6e 6f 74 20 |ause it did not | 00000270 68 61 76 65 20 74 68 65 20 52 49 53 43 20 4f 53 |have the RISC OS| 00000280 20 66 69 6c 65 74 79 70 65 20 46 46 30 2c 0a 61 | filetype FF0,.a| 00000290 6e 64 20 73 69 6e 63 65 20 69 74 20 69 73 20 6e |nd since it is n| 000002a0 6f 74 20 70 6f 73 73 69 62 6c 65 20 74 6f 20 73 |ot possible to s| 000002b0 65 74 20 61 20 66 69 6c 65 27 73 20 66 69 6c 65 |et a file's file| 000002c0 74 79 70 65 20 6f 6e 20 43 44 2d 52 4f 4d 2c 0a |type on CD-ROM,.| 000002d0 74 68 65 20 6f 6e 6c 79 20 77 61 79 20 74 6f 20 |the only way to | 000002e0 72 65 61 64 20 74 68 65 20 69 6d 61 67 65 20 77 |read the image w| 000002f0 61 73 20 74 6f 20 63 6f 70 79 20 69 74 20 74 6f |as to copy it to| 00000300 20 61 6e 6f 74 68 65 72 20 64 69 73 63 20 6f 72 | another disc or| 00000310 0a 68 61 72 64 20 64 72 69 76 65 20 61 6e 64 20 |.hard drive and | 00000320 74 68 65 6e 20 73 65 74 20 69 74 27 73 20 66 69 |then set it's fi| 00000330 6c 65 74 79 70 65 2e 20 43 44 5f 54 79 70 65 20 |letype. CD_Type | 00000340 73 6f 6c 76 65 64 20 74 68 69 73 0a 70 72 6f 62 |solved this.prob| 00000350 6c 65 6d 20 62 79 20 63 6f 72 72 65 63 74 6c 79 |lem by correctly| 00000360 20 6d 61 70 70 69 6e 67 20 44 4f 53 20 65 78 74 | mapping DOS ext| 00000370 65 6e 73 69 6f 6e 73 20 74 6f 20 52 49 53 43 20 |ensions to RISC | 00000380 4f 53 20 66 69 6c 65 74 79 70 65 73 2e 0a 0a 43 |OS filetypes...C| 00000390 44 46 69 78 20 69 6e 63 6f 72 70 6f 72 61 74 65 |DFix incorporate| 000003a0 73 20 61 6c 6c 20 74 68 65 20 6d 61 70 70 69 6e |s all the mappin| 000003b0 67 20 66 61 63 69 6c 69 74 69 65 73 20 6f 66 66 |g facilities off| 000003c0 65 72 65 64 20 62 79 20 43 44 5f 54 79 70 65 2c |ered by CD_Type,| 000003d0 0a 73 6f 20 69 74 20 69 73 20 6e 6f 74 20 6e 65 |.so it is not ne| 000003e0 63 65 73 73 61 72 79 20 74 6f 20 72 75 6e 20 62 |cessary to run b| 000003f0 6f 74 68 20 61 70 70 6c 69 63 61 74 69 6f 6e 73 |oth applications| 00000400 20 61 74 20 74 68 65 20 73 61 6d 65 20 74 69 6d | at the same tim| 00000410 65 2e 0a 43 44 46 69 78 20 61 6c 73 6f 20 70 72 |e..CDFix also pr| 00000420 6f 76 69 64 65 73 20 61 20 74 65 6d 70 6f 72 61 |ovides a tempora| 00000430 72 79 20 73 6f 6c 75 74 69 6f 6e 20 74 6f 20 74 |ry solution to t| 00000440 68 65 20 70 72 6f 62 6c 65 6d 20 6f 66 20 75 73 |he problem of us| 00000450 69 6e 67 0a 27 64 75 61 6c 2d 66 6f 72 6d 61 74 |ing.'dual-format| 00000460 27 20 43 44 2d 52 4f 4d 73 20 75 6e 64 65 72 20 |' CD-ROMs under | 00000470 52 49 53 43 20 4f 53 2e 20 54 68 65 73 65 20 43 |RISC OS. These C| 00000480 44 2d 52 4f 4d 73 20 61 72 65 20 64 65 73 69 67 |D-ROMs are desig| 00000490 6e 65 64 0a 74 6f 20 62 65 20 75 73 61 62 6c 65 |ned.to be usable| 000004a0 20 6f 6e 20 62 6f 74 68 20 50 43 73 20 61 6e 64 | on both PCs and| 000004b0 20 4d 61 63 73 2c 20 61 6e 64 20 66 6f 72 20 74 | Macs, and for t| 000004c0 68 65 20 6c 61 74 74 65 72 20 69 6e 63 6c 75 64 |he latter includ| 000004d0 65 0a 64 61 74 61 20 61 6e 64 20 72 65 73 6f 75 |e.data and resou| 000004e0 72 63 65 20 27 66 6f 72 6b 73 27 2e 20 54 68 65 |rce 'forks'. The| 000004f0 20 64 61 74 61 20 66 6f 72 6b 20 68 6f 6c 64 73 | data fork holds| 00000500 20 74 68 65 20 61 63 74 75 61 6c 20 66 69 6c 65 | the actual file| 00000510 0a 64 61 74 61 2c 20 77 68 69 6c 65 20 74 68 65 |.data, while the| 00000520 20 72 65 73 6f 75 72 63 65 20 66 6f 72 6b 20 63 | resource fork c| 00000530 6f 6e 74 61 69 6e 73 20 69 6e 66 6f 72 6d 61 74 |ontains informat| 00000540 69 6f 6e 20 6f 6e 20 68 6f 77 20 74 6f 0a 69 6e |ion on how to.in| 00000550 74 65 72 70 72 65 74 20 74 68 65 20 64 61 74 61 |terpret the data| 00000560 20 66 6f 72 6b 2e 20 54 68 65 73 65 20 66 6f 72 | fork. These for| 00000570 6b 73 20 61 72 65 20 73 74 6f 72 65 64 20 6f 6e |ks are stored on| 00000580 20 43 44 2d 52 4f 4d 73 20 77 69 74 68 0a 69 64 | CD-ROMs with.id| 00000590 65 6e 74 69 63 61 6c 20 6e 61 6d 65 73 2c 20 62 |entical names, b| 000005a0 75 74 20 61 72 65 20 64 69 66 66 65 72 65 6e 74 |ut are different| 000005b0 69 61 74 65 64 20 62 79 20 74 68 65 20 72 65 73 |iated by the res| 000005c0 6f 75 72 63 65 20 66 6f 72 6b 0a 68 61 76 69 6e |ource fork.havin| 000005d0 67 20 74 68 65 20 73 6f 2d 63 61 6c 6c 65 64 20 |g the so-called | 000005e0 27 6f 70 61 71 75 65 27 20 62 69 74 20 73 65 74 |'opaque' bit set| 000005f0 2e 0a 0a 57 68 69 6c 65 20 44 4f 53 20 61 6e 64 |...While DOS and| 00000600 20 57 69 6e 64 6f 77 73 20 43 44 2d 52 4f 4d 20 | Windows CD-ROM | 00000610 64 72 69 76 65 72 73 20 6b 6e 6f 77 20 68 6f 77 |drivers know how| 00000620 20 74 6f 20 69 6e 74 65 72 70 72 65 74 20 62 6f | to interpret bo| 00000630 74 68 0a 66 6f 72 6b 73 2c 20 75 6e 64 65 72 20 |th.forks, under | 00000640 52 49 53 43 20 4f 53 20 62 6f 74 68 20 69 64 65 |RISC OS both ide| 00000650 6e 74 69 63 61 6c 6c 79 20 6e 61 6d 65 64 20 66 |ntically named f| 00000660 69 6c 65 73 20 61 72 65 20 64 69 73 70 6c 61 79 |iles are display| 00000670 65 64 0a 69 6e 20 74 68 65 20 46 69 6c 65 72 20 |ed.in the Filer | 00000680 77 69 6e 64 6f 77 20 61 6e 64 20 74 72 79 69 6e |window and tryin| 00000690 67 20 74 6f 20 61 63 63 65 73 73 20 74 68 65 20 |g to access the | 000006a0 66 69 6c 65 20 61 6c 6d 6f 73 74 20 61 6c 77 61 |file almost alwa| 000006b0 79 73 0a 72 65 73 75 6c 74 73 20 69 6e 20 74 68 |ys.results in th| 000006c0 65 20 75 73 65 6c 65 73 73 20 72 65 73 6f 75 72 |e useless resour| 000006d0 63 65 20 66 6f 72 6b 20 66 69 6c 65 20 62 65 69 |ce fork file bei| 000006e0 6e 67 20 6c 6f 61 64 65 64 2e 0a 0a 43 44 46 69 |ng loaded...CDFi| 000006f0 78 20 73 6f 6c 76 65 73 20 74 68 69 73 20 70 72 |x solves this pr| 00000700 6f 62 6c 65 6d 20 62 79 20 70 61 74 63 68 69 6e |oblem by patchin| 00000710 67 20 74 68 65 20 43 44 46 53 20 74 6f 20 72 65 |g the CDFS to re| 00000720 70 6c 61 63 65 20 74 68 65 0a 65 78 74 65 6e 73 |place the.extens| 00000730 69 6f 6e 20 73 65 70 65 72 61 74 6f 72 2c 20 22 |ion seperator, "| 00000740 2f 22 2c 20 69 6e 20 74 68 65 20 6f 70 61 71 75 |/", in the opaqu| 00000750 65 20 66 69 6c 65 27 73 20 66 69 6c 65 6e 61 6d |e file's filenam| 00000760 65 20 77 69 74 68 0a 61 6e 20 22 5f 22 2c 20 73 |e with.an "_", s| 00000770 6f 20 74 68 61 74 20 74 68 65 20 72 65 73 6f 75 |o that the resou| 00000780 72 63 65 20 66 6f 72 6b 20 66 69 6c 65 20 77 69 |rce fork file wi| 00000790 6c 6c 20 68 61 76 65 20 74 68 65 20 6e 61 6d 65 |ll have the name| 000007a0 2c 0a 27 66 69 6c 65 5f 65 78 74 27 20 77 68 69 |,.'file_ext' whi| 000007b0 6c 65 20 74 68 65 20 64 61 74 61 20 66 6f 72 6b |le the data fork| 000007c0 20 66 69 6c 65 20 77 69 6c 6c 20 68 61 76 65 20 | file will have | 000007d0 74 68 65 20 6e 61 6d 65 2c 0a 27 66 69 6c 65 2f |the name,.'file/| 000007e0 65 78 74 27 2e 0a 0a 49 74 20 69 73 20 69 6d 70 |ext'...It is imp| 000007f0 6f 72 74 61 6e 74 20 74 6f 20 6e 6f 74 65 20 74 |ortant to note t| 00000800 68 61 74 20 74 68 69 73 20 69 73 20 61 20 62 65 |hat this is a be| 00000810 74 61 20 76 65 72 73 69 6f 6e 20 6f 66 20 43 44 |ta version of CD| 00000820 46 69 78 2e 0a 49 66 20 79 6f 75 20 68 61 76 65 |Fix..If you have| 00000830 20 70 72 6f 62 6c 65 6d 73 20 77 69 74 68 20 69 | problems with i| 00000840 74 20 75 73 65 20 43 44 5f 54 79 70 65 20 69 6e |t use CD_Type in| 00000850 73 74 65 61 64 2e 20 43 44 5f 54 79 70 65 0a 63 |stead. CD_Type.c| 00000860 61 6e 20 62 65 20 66 6f 75 6e 64 20 69 6e 73 69 |an be found insi| 00000870 64 65 20 74 68 65 20 21 4d 6f 76 69 65 46 53 2e |de the !MovieFS.| 00000880 46 69 6c 65 74 79 70 65 73 20 64 69 72 65 63 74 |Filetypes direct| 00000890 6f 72 79 20 6f 6e 0a 63 6f 76 65 72 20 64 69 73 |ory on.cover dis| 000008a0 63 20 32 2e 20 49 6e 20 61 64 64 69 74 69 6f 6e |c 2. In addition| 000008b0 2c 20 64 72 6f 70 20 74 68 65 20 63 75 72 72 65 |, drop the curre| 000008c0 6e 74 20 61 75 74 68 6f 72 20 61 20 6e 6f 74 65 |nt author a note| 000008d0 20 61 74 0a 74 68 65 20 61 64 64 72 65 73 73 20 | at.the address | 000008e0 62 65 6c 6f 77 20 77 69 74 68 20 64 65 74 61 69 |below with detai| 000008f0 6c 73 20 6f 66 20 79 6f 75 72 20 73 79 73 74 65 |ls of your syste| 00000900 6d 2c 20 69 6e 63 6c 75 64 69 6e 67 20 76 65 72 |m, including ver| 00000910 73 69 6f 6e 0a 6e 75 6d 62 65 72 73 20 6f 66 20 |sion.numbers of | 00000920 43 44 46 53 20 6d 6f 64 75 6c 65 73 2c 20 6f 70 |CDFS modules, op| 00000930 65 72 61 74 69 6e 67 20 73 79 73 74 65 6d 73 2c |erating systems,| 00000940 20 61 6e 64 20 43 44 2d 52 4f 4d 20 74 79 70 65 | and CD-ROM type| 00000950 73 2e 0a 0a 57 61 72 6d 20 53 69 6c 65 6e 63 65 |s...Warm Silence| 00000960 20 53 6f 66 74 77 61 72 65 2c 0a 53 74 20 43 61 | Software,.St Ca| 00000970 74 68 65 72 69 6e 65 27 73 20 43 6f 6c 6c 65 67 |therine's Colleg| 00000980 65 2c 0a 4f 78 66 6f 72 64 2c 20 4f 58 31 20 33 |e,.Oxford, OX1 3| 00000990 55 4a 0a 45 6d 61 69 6c 3a 20 52 6f 62 69 6e 2e |UJ.Email: Robin.| 000009a0 57 61 74 74 73 40 63 6f 6d 6c 61 62 2e 6f 78 2e |Watts@comlab.ox.| 000009b0 61 63 2e 75 6b 0a |ac.uk.| 000009b6