Home » Archimedes archive » Acorn User » AU 1998-04 A.adf » PD » Atterer/!raFS/!Run

Atterer/!raFS/!Run

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 » Acorn User » AU 1998-04 A.adf » PD
Filename: Atterer/!raFS/!Run
Read OK:
File size: 04B1 bytes
Load address: 0000
Exec address: 0000
File contents
| raFS (C) 1997-1998 Richard Atterer
| V1.12 (22-02-1998)

Set raFS$Dir <Obey$Dir>
IconSprites <raFS$Dir>.!Sprites
RMEnsure UtilityModule 3.10 Error raFS does not work on RiscOS versions lower than 3.10 � sorry!

| *SetVars <max_filename_length> {<country_mapping>}* {<variable> <path>}*1
| country_mapping::= <country_nr_to_try_instead>=<country_nr>{=<country_nr>}*
| path can contain "%" in leaf, which will be replaced with country number
| leafname will be truncated left of country nr if
| length > max_filename_length
/<raFS$Dir>.SetVars 10 6=31 7=30=34=35 raFS$Messages <raFS$Dir>.Messages% raFS$Templates <raFS$Dir>.Templates%

Set raFS$RM <raFS$Dir>.raFS
RMEnsure UtilityModule 3.50 Set raFS$RM <raFS$Dir>.raFSSpr

| Add more filing system names after commas to disable integrity checks:
Set raFS$NoChecks CDFS

RMEnsure raFS 1.12 If "<raFS$RM>"="" Then Error raFS module not found
RMEnsure raFS 1.12 RMLoad <raFS$RM>
RMLoad <raFS$Dir>.!RunImage

| Make raFS load Messages installed in Resources by raFSFiler
raFS_Opt -LoadMessages Resources:$.Resources.raFS.Messages

| switches: "-left", "-right", "-priority <nr>" for position on icon bar
If "<Wimp$State>"="desktop" Then Desktop_raFSFiler
00000000  7c 20 72 61 46 53 20 28  43 29 20 31 39 39 37 2d  || raFS (C) 1997-|
00000010  31 39 39 38 20 52 69 63  68 61 72 64 20 41 74 74  |1998 Richard Att|
00000020  65 72 65 72 0a 7c 20 56  31 2e 31 32 20 28 32 32  |erer.| V1.12 (22|
00000030  2d 30 32 2d 31 39 39 38  29 0a 0a 53 65 74 20 72  |-02-1998)..Set r|
00000040  61 46 53 24 44 69 72 20  3c 4f 62 65 79 24 44 69  |aFS$Dir <Obey$Di|
00000050  72 3e 0a 49 63 6f 6e 53  70 72 69 74 65 73 20 3c  |r>.IconSprites <|
00000060  72 61 46 53 24 44 69 72  3e 2e 21 53 70 72 69 74  |raFS$Dir>.!Sprit|
00000070  65 73 0a 52 4d 45 6e 73  75 72 65 20 55 74 69 6c  |es.RMEnsure Util|
00000080  69 74 79 4d 6f 64 75 6c  65 20 33 2e 31 30 20 45  |ityModule 3.10 E|
00000090  72 72 6f 72 20 72 61 46  53 20 64 6f 65 73 20 6e  |rror raFS does n|
000000a0  6f 74 20 77 6f 72 6b 20  6f 6e 20 52 69 73 63 4f  |ot work on RiscO|
000000b0  53 20 76 65 72 73 69 6f  6e 73 20 6c 6f 77 65 72  |S versions lower|
000000c0  20 74 68 61 6e 20 33 2e  31 30 20 98 20 73 6f 72  | than 3.10 . sor|
000000d0  72 79 21 0a 0a 7c 20 2a  53 65 74 56 61 72 73 20  |ry!..| *SetVars |
000000e0  3c 6d 61 78 5f 66 69 6c  65 6e 61 6d 65 5f 6c 65  |<max_filename_le|
000000f0  6e 67 74 68 3e 20 7b 3c  63 6f 75 6e 74 72 79 5f  |ngth> {<country_|
00000100  6d 61 70 70 69 6e 67 3e  7d 2a 20 7b 3c 76 61 72  |mapping>}* {<var|
00000110  69 61 62 6c 65 3e 20 3c  70 61 74 68 3e 7d 2a 31  |iable> <path>}*1|
00000120  0a 7c 20 63 6f 75 6e 74  72 79 5f 6d 61 70 70 69  |.| country_mappi|
00000130  6e 67 3a 3a 3d 20 3c 63  6f 75 6e 74 72 79 5f 6e  |ng::= <country_n|
00000140  72 5f 74 6f 5f 74 72 79  5f 69 6e 73 74 65 61 64  |r_to_try_instead|
00000150  3e 3d 3c 63 6f 75 6e 74  72 79 5f 6e 72 3e 7b 3d  |>=<country_nr>{=|
00000160  3c 63 6f 75 6e 74 72 79  5f 6e 72 3e 7d 2a 0a 7c  |<country_nr>}*.||
00000170  20 70 61 74 68 20 63 61  6e 20 63 6f 6e 74 61 69  | path can contai|
00000180  6e 20 22 25 22 20 69 6e  20 6c 65 61 66 2c 20 77  |n "%" in leaf, w|
00000190  68 69 63 68 20 77 69 6c  6c 20 62 65 20 72 65 70  |hich will be rep|
000001a0  6c 61 63 65 64 20 77 69  74 68 20 63 6f 75 6e 74  |laced with count|
000001b0  72 79 20 6e 75 6d 62 65  72 0a 7c 20 6c 65 61 66  |ry number.| leaf|
000001c0  6e 61 6d 65 20 77 69 6c  6c 20 62 65 20 74 72 75  |name will be tru|
000001d0  6e 63 61 74 65 64 20 6c  65 66 74 20 6f 66 20 63  |ncated left of c|
000001e0  6f 75 6e 74 72 79 20 6e  72 20 69 66 0a 7c 20 6c  |ountry nr if.| l|
000001f0  65 6e 67 74 68 20 3e 20  6d 61 78 5f 66 69 6c 65  |ength > max_file|
00000200  6e 61 6d 65 5f 6c 65 6e  67 74 68 0a 2f 3c 72 61  |name_length./<ra|
00000210  46 53 24 44 69 72 3e 2e  53 65 74 56 61 72 73 20  |FS$Dir>.SetVars |
00000220  31 30 20 36 3d 33 31 20  37 3d 33 30 3d 33 34 3d  |10 6=31 7=30=34=|
00000230  33 35 20 72 61 46 53 24  4d 65 73 73 61 67 65 73  |35 raFS$Messages|
00000240  20 3c 72 61 46 53 24 44  69 72 3e 2e 4d 65 73 73  | <raFS$Dir>.Mess|
00000250  61 67 65 73 25 20 72 61  46 53 24 54 65 6d 70 6c  |ages% raFS$Templ|
00000260  61 74 65 73 20 3c 72 61  46 53 24 44 69 72 3e 2e  |ates <raFS$Dir>.|
00000270  54 65 6d 70 6c 61 74 65  73 25 0a 0a 53 65 74 20  |Templates%..Set |
00000280  72 61 46 53 24 52 4d 20  3c 72 61 46 53 24 44 69  |raFS$RM <raFS$Di|
00000290  72 3e 2e 72 61 46 53 0a  52 4d 45 6e 73 75 72 65  |r>.raFS.RMEnsure|
000002a0  20 55 74 69 6c 69 74 79  4d 6f 64 75 6c 65 20 33  | UtilityModule 3|
000002b0  2e 35 30 20 53 65 74 20  72 61 46 53 24 52 4d 20  |.50 Set raFS$RM |
000002c0  3c 72 61 46 53 24 44 69  72 3e 2e 72 61 46 53 53  |<raFS$Dir>.raFSS|
000002d0  70 72 0a 0a 7c 20 41 64  64 20 6d 6f 72 65 20 66  |pr..| Add more f|
000002e0  69 6c 69 6e 67 20 73 79  73 74 65 6d 20 6e 61 6d  |iling system nam|
000002f0  65 73 20 61 66 74 65 72  20 63 6f 6d 6d 61 73 20  |es after commas |
00000300  74 6f 20 64 69 73 61 62  6c 65 20 69 6e 74 65 67  |to disable integ|
00000310  72 69 74 79 20 63 68 65  63 6b 73 3a 0a 53 65 74  |rity checks:.Set|
00000320  20 72 61 46 53 24 4e 6f  43 68 65 63 6b 73 20 43  | raFS$NoChecks C|
00000330  44 46 53 0a 0a 52 4d 45  6e 73 75 72 65 20 72 61  |DFS..RMEnsure ra|
00000340  46 53 20 31 2e 31 32 20  49 66 20 22 3c 72 61 46  |FS 1.12 If "<raF|
00000350  53 24 52 4d 3e 22 3d 22  22 20 54 68 65 6e 20 45  |S$RM>"="" Then E|
00000360  72 72 6f 72 20 72 61 46  53 20 6d 6f 64 75 6c 65  |rror raFS module|
00000370  20 6e 6f 74 20 66 6f 75  6e 64 0a 52 4d 45 6e 73  | not found.RMEns|
00000380  75 72 65 20 72 61 46 53  20 31 2e 31 32 20 52 4d  |ure raFS 1.12 RM|
00000390  4c 6f 61 64 20 3c 72 61  46 53 24 52 4d 3e 0a 52  |Load <raFS$RM>.R|
000003a0  4d 4c 6f 61 64 20 3c 72  61 46 53 24 44 69 72 3e  |MLoad <raFS$Dir>|
000003b0  2e 21 52 75 6e 49 6d 61  67 65 0a 0a 7c 20 4d 61  |.!RunImage..| Ma|
000003c0  6b 65 20 72 61 46 53 20  6c 6f 61 64 20 4d 65 73  |ke raFS load Mes|
000003d0  73 61 67 65 73 20 69 6e  73 74 61 6c 6c 65 64 20  |sages installed |
000003e0  69 6e 20 52 65 73 6f 75  72 63 65 73 20 62 79 20  |in Resources by |
000003f0  72 61 46 53 46 69 6c 65  72 0a 72 61 46 53 5f 4f  |raFSFiler.raFS_O|
00000400  70 74 20 2d 4c 6f 61 64  4d 65 73 73 61 67 65 73  |pt -LoadMessages|
00000410  20 52 65 73 6f 75 72 63  65 73 3a 24 2e 52 65 73  | Resources:$.Res|
00000420  6f 75 72 63 65 73 2e 72  61 46 53 2e 4d 65 73 73  |ources.raFS.Mess|
00000430  61 67 65 73 0a 0a 7c 20  73 77 69 74 63 68 65 73  |ages..| switches|
00000440  3a 20 22 2d 6c 65 66 74  22 2c 20 22 2d 72 69 67  |: "-left", "-rig|
00000450  68 74 22 2c 20 22 2d 70  72 69 6f 72 69 74 79 20  |ht", "-priority |
00000460  3c 6e 72 3e 22 20 66 6f  72 20 70 6f 73 69 74 69  |<nr>" for positi|
00000470  6f 6e 20 6f 6e 20 69 63  6f 6e 20 62 61 72 0a 49  |on on icon bar.I|
00000480  66 20 22 3c 57 69 6d 70  24 53 74 61 74 65 3e 22  |f "<Wimp$State>"|
00000490  3d 22 64 65 73 6b 74 6f  70 22 20 54 68 65 6e 20  |="desktop" Then |
000004a0  44 65 73 6b 74 6f 70 5f  72 61 46 53 46 69 6c 65  |Desktop_raFSFile|
000004b0  72                                                |r|
000004b1