Home » Archimedes archive » Zipped Apps » Squirrel » squirrel/!Squirrel/!Run

squirrel/!Squirrel/!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 » Zipped Apps » Squirrel
Filename: squirrel/!Squirrel/!Run
Read OK:
File size: 04D2 bytes
Load address: 0000
Exec address: 0000
File contents
| !Squirrel version 2.07 (3 May 1994)
|
if "<System$Path>" = "" then Error 0 System resources cannot be found
Set File$Type_DB7 Squirrel
Set Alias$@RunType_DB7 /<Obey$Dir>.!Run %%*0
WimpSlot -min 415K -max 415K
IconSprites <Obey$Dir>.!Sprites
RMEnsure Draw 1.01 Error You need Draw 1.01 or later
RMEnsure FPEmulator 0.00 RMLoad System:Modules.FPEmulator
RMEnsure SharedCLibrary 3.50 RMLoad System:Modules.CLib
RMEnsure SharedCLibrary 3.50 Error You need SharedCLibrary 3.50 or later
RMEnsure UtilityModule 3.00 Set Squirrel$RISCOS 2
IF "<Squirrel$RISCOS>" = "" THEN RMEnsure ColourTrans 1.09 RMLoad System:Modules.Colours
IF "<Squirrel$RISCOS>" = "" THEN RMEnsure ColourTrans 1.09 Error You need ColourTrans 1.09 or later
IF "<Squirrel$RISCOS>" = "2" THEN RMEnsure ColourTrans 0.00 RMLoad System:Modules.Colours
IF "<Squirrel$RISCOS>" = "2" THEN RMEnsure ColourTrans 0.00 Error You need ColourTrans 0.00 or later
RMEnsure DrawFile 1.01 RMLoad System:Modules.DrawFile
RMEnsure DrawFile 1.01 Error You need DrawFile 1.01 or later
RMEnsure Squash 0.00 RMLoad System:Modules.Squash
unset Squirrel$RISCOS
Set Squirrel$Dir <Obey$Dir>
SetMacro Squirrel$Path <Squirrel$Dir>.
WimpSlot -min 447k
WimpSlot -min 415k
Run <Obey$Dir>.!RunImage %*0
00000000  7c 20 21 53 71 75 69 72  72 65 6c 20 76 65 72 73  || !Squirrel vers|
00000010  69 6f 6e 20 32 2e 30 37  20 28 33 20 4d 61 79 20  |ion 2.07 (3 May |
00000020  31 39 39 34 29 0a 7c 0a  69 66 20 22 3c 53 79 73  |1994).|.if "<Sys|
00000030  74 65 6d 24 50 61 74 68  3e 22 20 3d 20 22 22 20  |tem$Path>" = "" |
00000040  74 68 65 6e 20 45 72 72  6f 72 20 30 20 53 79 73  |then Error 0 Sys|
00000050  74 65 6d 20 72 65 73 6f  75 72 63 65 73 20 63 61  |tem resources ca|
00000060  6e 6e 6f 74 20 62 65 20  66 6f 75 6e 64 0a 53 65  |nnot be found.Se|
00000070  74 20 46 69 6c 65 24 54  79 70 65 5f 44 42 37 20  |t File$Type_DB7 |
00000080  53 71 75 69 72 72 65 6c  0a 53 65 74 20 41 6c 69  |Squirrel.Set Ali|
00000090  61 73 24 40 52 75 6e 54  79 70 65 5f 44 42 37 20  |as$@RunType_DB7 |
000000a0  2f 3c 4f 62 65 79 24 44  69 72 3e 2e 21 52 75 6e  |/<Obey$Dir>.!Run|
000000b0  20 25 25 2a 30 0a 57 69  6d 70 53 6c 6f 74 20 2d  | %%*0.WimpSlot -|
000000c0  6d 69 6e 20 34 31 35 4b  20 2d 6d 61 78 20 34 31  |min 415K -max 41|
000000d0  35 4b 0a 49 63 6f 6e 53  70 72 69 74 65 73 20 3c  |5K.IconSprites <|
000000e0  4f 62 65 79 24 44 69 72  3e 2e 21 53 70 72 69 74  |Obey$Dir>.!Sprit|
000000f0  65 73 0a 52 4d 45 6e 73  75 72 65 20 44 72 61 77  |es.RMEnsure Draw|
00000100  20 31 2e 30 31 20 45 72  72 6f 72 20 59 6f 75 20  | 1.01 Error You |
00000110  6e 65 65 64 20 44 72 61  77 20 31 2e 30 31 20 6f  |need Draw 1.01 o|
00000120  72 20 6c 61 74 65 72 0a  52 4d 45 6e 73 75 72 65  |r later.RMEnsure|
00000130  20 46 50 45 6d 75 6c 61  74 6f 72 20 30 2e 30 30  | FPEmulator 0.00|
00000140  20 52 4d 4c 6f 61 64 20  53 79 73 74 65 6d 3a 4d  | RMLoad System:M|
00000150  6f 64 75 6c 65 73 2e 46  50 45 6d 75 6c 61 74 6f  |odules.FPEmulato|
00000160  72 0a 52 4d 45 6e 73 75  72 65 20 53 68 61 72 65  |r.RMEnsure Share|
00000170  64 43 4c 69 62 72 61 72  79 20 33 2e 35 30 20 52  |dCLibrary 3.50 R|
00000180  4d 4c 6f 61 64 20 53 79  73 74 65 6d 3a 4d 6f 64  |MLoad System:Mod|
00000190  75 6c 65 73 2e 43 4c 69  62 0a 52 4d 45 6e 73 75  |ules.CLib.RMEnsu|
000001a0  72 65 20 53 68 61 72 65  64 43 4c 69 62 72 61 72  |re SharedCLibrar|
000001b0  79 20 33 2e 35 30 20 45  72 72 6f 72 20 59 6f 75  |y 3.50 Error You|
000001c0  20 6e 65 65 64 20 53 68  61 72 65 64 43 4c 69 62  | need SharedCLib|
000001d0  72 61 72 79 20 33 2e 35  30 20 6f 72 20 6c 61 74  |rary 3.50 or lat|
000001e0  65 72 0a 52 4d 45 6e 73  75 72 65 20 55 74 69 6c  |er.RMEnsure Util|
000001f0  69 74 79 4d 6f 64 75 6c  65 20 33 2e 30 30 20 53  |ityModule 3.00 S|
00000200  65 74 20 53 71 75 69 72  72 65 6c 24 52 49 53 43  |et Squirrel$RISC|
00000210  4f 53 20 32 0a 49 46 20  22 3c 53 71 75 69 72 72  |OS 2.IF "<Squirr|
00000220  65 6c 24 52 49 53 43 4f  53 3e 22 20 3d 20 22 22  |el$RISCOS>" = ""|
00000230  20 54 48 45 4e 20 52 4d  45 6e 73 75 72 65 20 43  | THEN RMEnsure C|
00000240  6f 6c 6f 75 72 54 72 61  6e 73 20 31 2e 30 39 20  |olourTrans 1.09 |
00000250  52 4d 4c 6f 61 64 20 53  79 73 74 65 6d 3a 4d 6f  |RMLoad System:Mo|
00000260  64 75 6c 65 73 2e 43 6f  6c 6f 75 72 73 0a 49 46  |dules.Colours.IF|
00000270  20 22 3c 53 71 75 69 72  72 65 6c 24 52 49 53 43  | "<Squirrel$RISC|
00000280  4f 53 3e 22 20 3d 20 22  22 20 54 48 45 4e 20 52  |OS>" = "" THEN R|
00000290  4d 45 6e 73 75 72 65 20  43 6f 6c 6f 75 72 54 72  |MEnsure ColourTr|
000002a0  61 6e 73 20 31 2e 30 39  20 45 72 72 6f 72 20 59  |ans 1.09 Error Y|
000002b0  6f 75 20 6e 65 65 64 20  43 6f 6c 6f 75 72 54 72  |ou need ColourTr|
000002c0  61 6e 73 20 31 2e 30 39  20 6f 72 20 6c 61 74 65  |ans 1.09 or late|
000002d0  72 0a 49 46 20 22 3c 53  71 75 69 72 72 65 6c 24  |r.IF "<Squirrel$|
000002e0  52 49 53 43 4f 53 3e 22  20 3d 20 22 32 22 20 54  |RISCOS>" = "2" T|
000002f0  48 45 4e 20 52 4d 45 6e  73 75 72 65 20 43 6f 6c  |HEN RMEnsure Col|
00000300  6f 75 72 54 72 61 6e 73  20 30 2e 30 30 20 52 4d  |ourTrans 0.00 RM|
00000310  4c 6f 61 64 20 53 79 73  74 65 6d 3a 4d 6f 64 75  |Load System:Modu|
00000320  6c 65 73 2e 43 6f 6c 6f  75 72 73 0a 49 46 20 22  |les.Colours.IF "|
00000330  3c 53 71 75 69 72 72 65  6c 24 52 49 53 43 4f 53  |<Squirrel$RISCOS|
00000340  3e 22 20 3d 20 22 32 22  20 54 48 45 4e 20 52 4d  |>" = "2" THEN RM|
00000350  45 6e 73 75 72 65 20 43  6f 6c 6f 75 72 54 72 61  |Ensure ColourTra|
00000360  6e 73 20 30 2e 30 30 20  45 72 72 6f 72 20 59 6f  |ns 0.00 Error Yo|
00000370  75 20 6e 65 65 64 20 43  6f 6c 6f 75 72 54 72 61  |u need ColourTra|
00000380  6e 73 20 30 2e 30 30 20  6f 72 20 6c 61 74 65 72  |ns 0.00 or later|
00000390  0a 52 4d 45 6e 73 75 72  65 20 44 72 61 77 46 69  |.RMEnsure DrawFi|
000003a0  6c 65 20 31 2e 30 31 20  52 4d 4c 6f 61 64 20 53  |le 1.01 RMLoad S|
000003b0  79 73 74 65 6d 3a 4d 6f  64 75 6c 65 73 2e 44 72  |ystem:Modules.Dr|
000003c0  61 77 46 69 6c 65 0a 52  4d 45 6e 73 75 72 65 20  |awFile.RMEnsure |
000003d0  44 72 61 77 46 69 6c 65  20 31 2e 30 31 20 45 72  |DrawFile 1.01 Er|
000003e0  72 6f 72 20 59 6f 75 20  6e 65 65 64 20 44 72 61  |ror You need Dra|
000003f0  77 46 69 6c 65 20 31 2e  30 31 20 6f 72 20 6c 61  |wFile 1.01 or la|
00000400  74 65 72 0a 52 4d 45 6e  73 75 72 65 20 53 71 75  |ter.RMEnsure Squ|
00000410  61 73 68 20 30 2e 30 30  20 52 4d 4c 6f 61 64 20  |ash 0.00 RMLoad |
00000420  53 79 73 74 65 6d 3a 4d  6f 64 75 6c 65 73 2e 53  |System:Modules.S|
00000430  71 75 61 73 68 0a 75 6e  73 65 74 20 53 71 75 69  |quash.unset Squi|
00000440  72 72 65 6c 24 52 49 53  43 4f 53 0a 53 65 74 20  |rrel$RISCOS.Set |
00000450  53 71 75 69 72 72 65 6c  24 44 69 72 20 3c 4f 62  |Squirrel$Dir <Ob|
00000460  65 79 24 44 69 72 3e 0a  53 65 74 4d 61 63 72 6f  |ey$Dir>.SetMacro|
00000470  20 53 71 75 69 72 72 65  6c 24 50 61 74 68 20 3c  | Squirrel$Path <|
00000480  53 71 75 69 72 72 65 6c  24 44 69 72 3e 2e 0a 57  |Squirrel$Dir>..W|
00000490  69 6d 70 53 6c 6f 74 20  2d 6d 69 6e 20 34 34 37  |impSlot -min 447|
000004a0  6b 0a 57 69 6d 70 53 6c  6f 74 20 2d 6d 69 6e 20  |k.WimpSlot -min |
000004b0  34 31 35 6b 0a 52 75 6e  20 3c 4f 62 65 79 24 44  |415k.Run <Obey$D|
000004c0  69 72 3e 2e 21 52 75 6e  49 6d 61 67 65 20 25 2a  |ir>.!RunImage %*|
000004d0  30 0a                                             |0.|
000004d2