Home » Personal collection » Acorn hard disk » apps » Spark » !Spark/!Run

!Spark/!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 » Personal collection » Acorn hard disk » apps » Spark
Filename: !Spark/!Run
Read OK:
File size: 02B6 bytes
Load address: 0000
Exec address: 0000
File contents
|>$.Spark2.!Spark.!Run   Spark Run file
|
| Startup file for Spark
|
IconSprites <Obey$Dir>.!Sprites
Set Alias$@RunType_DDC Run <Obey$Dir>.!Run -l %%*0
Set Alias$@RunType_5F4 Run <Obey$Dir>.!Run -r %%*0
Set File$Type_DDC Archive
Set File$Type_5F4 SparkScr
|
RMEnsure WindowManager 2.00 Error Spark needs a newer Wimp
|
if "<System$Path>" = "" then Error 0 System resources cannot be found
|
RMEnsure SharedCLibrary 1.02 RMLoad System:Modules.CLib
RMEnsure SharedCLibrary 1.02 Error You need SharedCLibrary 1.02 or later
|
Set Spark$Path  <Obey$Dir>
|
| uncomment the next line for hard disc installation
|Set Spark$Scrap <Obey$Dir>
WimpSlot -min 200K -max 200K
Run "<Spark$Path>.!RunImage" %*0
00000000  7c 3e 24 2e 53 70 61 72  6b 32 2e 21 53 70 61 72  ||>$.Spark2.!Spar|
00000010  6b 2e 21 52 75 6e 20 20  20 53 70 61 72 6b 20 52  |k.!Run   Spark R|
00000020  75 6e 20 66 69 6c 65 0a  7c 0a 7c 20 53 74 61 72  |un file.|.| Star|
00000030  74 75 70 20 66 69 6c 65  20 66 6f 72 20 53 70 61  |tup file for Spa|
00000040  72 6b 0a 7c 0a 49 63 6f  6e 53 70 72 69 74 65 73  |rk.|.IconSprites|
00000050  20 3c 4f 62 65 79 24 44  69 72 3e 2e 21 53 70 72  | <Obey$Dir>.!Spr|
00000060  69 74 65 73 0a 53 65 74  20 41 6c 69 61 73 24 40  |ites.Set Alias$@|
00000070  52 75 6e 54 79 70 65 5f  44 44 43 20 52 75 6e 20  |RunType_DDC Run |
00000080  3c 4f 62 65 79 24 44 69  72 3e 2e 21 52 75 6e 20  |<Obey$Dir>.!Run |
00000090  2d 6c 20 25 25 2a 30 0a  53 65 74 20 41 6c 69 61  |-l %%*0.Set Alia|
000000a0  73 24 40 52 75 6e 54 79  70 65 5f 35 46 34 20 52  |s$@RunType_5F4 R|
000000b0  75 6e 20 3c 4f 62 65 79  24 44 69 72 3e 2e 21 52  |un <Obey$Dir>.!R|
000000c0  75 6e 20 2d 72 20 25 25  2a 30 0a 53 65 74 20 46  |un -r %%*0.Set F|
000000d0  69 6c 65 24 54 79 70 65  5f 44 44 43 20 41 72 63  |ile$Type_DDC Arc|
000000e0  68 69 76 65 0a 53 65 74  20 46 69 6c 65 24 54 79  |hive.Set File$Ty|
000000f0  70 65 5f 35 46 34 20 53  70 61 72 6b 53 63 72 0a  |pe_5F4 SparkScr.|
00000100  7c 0a 52 4d 45 6e 73 75  72 65 20 57 69 6e 64 6f  ||.RMEnsure Windo|
00000110  77 4d 61 6e 61 67 65 72  20 32 2e 30 30 20 45 72  |wManager 2.00 Er|
00000120  72 6f 72 20 53 70 61 72  6b 20 6e 65 65 64 73 20  |ror Spark needs |
00000130  61 20 6e 65 77 65 72 20  57 69 6d 70 0a 7c 0a 69  |a newer Wimp.|.i|
00000140  66 20 22 3c 53 79 73 74  65 6d 24 50 61 74 68 3e  |f "<System$Path>|
00000150  22 20 3d 20 22 22 20 74  68 65 6e 20 45 72 72 6f  |" = "" then Erro|
00000160  72 20 30 20 53 79 73 74  65 6d 20 72 65 73 6f 75  |r 0 System resou|
00000170  72 63 65 73 20 63 61 6e  6e 6f 74 20 62 65 20 66  |rces cannot be f|
00000180  6f 75 6e 64 0a 7c 0a 52  4d 45 6e 73 75 72 65 20  |ound.|.RMEnsure |
00000190  53 68 61 72 65 64 43 4c  69 62 72 61 72 79 20 31  |SharedCLibrary 1|
000001a0  2e 30 32 20 52 4d 4c 6f  61 64 20 53 79 73 74 65  |.02 RMLoad Syste|
000001b0  6d 3a 4d 6f 64 75 6c 65  73 2e 43 4c 69 62 0a 52  |m:Modules.CLib.R|
000001c0  4d 45 6e 73 75 72 65 20  53 68 61 72 65 64 43 4c  |MEnsure SharedCL|
000001d0  69 62 72 61 72 79 20 31  2e 30 32 20 45 72 72 6f  |ibrary 1.02 Erro|
000001e0  72 20 59 6f 75 20 6e 65  65 64 20 53 68 61 72 65  |r You need Share|
000001f0  64 43 4c 69 62 72 61 72  79 20 31 2e 30 32 20 6f  |dCLibrary 1.02 o|
00000200  72 20 6c 61 74 65 72 0a  7c 0a 53 65 74 20 53 70  |r later.|.Set Sp|
00000210  61 72 6b 24 50 61 74 68  20 20 3c 4f 62 65 79 24  |ark$Path  <Obey$|
00000220  44 69 72 3e 0a 7c 0a 7c  20 75 6e 63 6f 6d 6d 65  |Dir>.|.| uncomme|
00000230  6e 74 20 74 68 65 20 6e  65 78 74 20 6c 69 6e 65  |nt the next line|
00000240  20 66 6f 72 20 68 61 72  64 20 64 69 73 63 20 69  | for hard disc i|
00000250  6e 73 74 61 6c 6c 61 74  69 6f 6e 0a 7c 53 65 74  |nstallation.|Set|
00000260  20 53 70 61 72 6b 24 53  63 72 61 70 20 3c 4f 62  | Spark$Scrap <Ob|
00000270  65 79 24 44 69 72 3e 0a  57 69 6d 70 53 6c 6f 74  |ey$Dir>.WimpSlot|
00000280  20 2d 6d 69 6e 20 32 30  30 4b 20 2d 6d 61 78 20  | -min 200K -max |
00000290  32 30 30 4b 0a 52 75 6e  20 22 3c 53 70 61 72 6b  |200K.Run "<Spark|
000002a0  24 50 61 74 68 3e 2e 21  52 75 6e 49 6d 61 67 65  |$Path>.!RunImage|
000002b0  22 20 25 2a 30 0a                                 |" %*0.|
000002b6