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

squirrel/!SqlServer/!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/!SqlServer/!Run
Read OK:
File size: 0281 bytes
Load address: 0000
Exec address: 0000
File contents
| !SqlServer version 2.04 (23 Mar 1994)
|
if "<System$Path>" = "" then Error 0 System resources cannot be found
WimpSlot -min 112K -max 112K
Set SqlServer$Dir <Obey$Dir>
IconSprites <Obey$Dir>.!Sprites
RMEnsure SqlEcoMod 1.08 RMLoad <Obey$Dir>.SqlEcoMod
RMEnsure SqlEcoMod 1.08 Error You need SqlEcoMod 0.04 or later
Seteval Econet 1
RMEnsure Econet 0 Seteval Econet 0
If <Econet> then RMEnsure Econet 5.50 RMLoad <Obey$Dir>.Econet
Unset Econet
RMEnsure SharedCLibrary 3.50 RMLoad System:modules.CLib
RMEnsure SharedCLibrary 3.50 Error You need SharedCLibrary 3.50 or later
WimpSlot -min 112k
WimpSlot -min 104k
Run <Obey$Dir>.!RunImage %*0
00000000  7c 20 21 53 71 6c 53 65  72 76 65 72 20 76 65 72  || !SqlServer ver|
00000010  73 69 6f 6e 20 32 2e 30  34 20 28 32 33 20 4d 61  |sion 2.04 (23 Ma|
00000020  72 20 31 39 39 34 29 0a  7c 0a 69 66 20 22 3c 53  |r 1994).|.if "<S|
00000030  79 73 74 65 6d 24 50 61  74 68 3e 22 20 3d 20 22  |ystem$Path>" = "|
00000040  22 20 74 68 65 6e 20 45  72 72 6f 72 20 30 20 53  |" then Error 0 S|
00000050  79 73 74 65 6d 20 72 65  73 6f 75 72 63 65 73 20  |ystem resources |
00000060  63 61 6e 6e 6f 74 20 62  65 20 66 6f 75 6e 64 0a  |cannot be found.|
00000070  57 69 6d 70 53 6c 6f 74  20 2d 6d 69 6e 20 31 31  |WimpSlot -min 11|
00000080  32 4b 20 2d 6d 61 78 20  31 31 32 4b 0a 53 65 74  |2K -max 112K.Set|
00000090  20 53 71 6c 53 65 72 76  65 72 24 44 69 72 20 3c  | SqlServer$Dir <|
000000a0  4f 62 65 79 24 44 69 72  3e 0a 49 63 6f 6e 53 70  |Obey$Dir>.IconSp|
000000b0  72 69 74 65 73 20 3c 4f  62 65 79 24 44 69 72 3e  |rites <Obey$Dir>|
000000c0  2e 21 53 70 72 69 74 65  73 0a 52 4d 45 6e 73 75  |.!Sprites.RMEnsu|
000000d0  72 65 20 53 71 6c 45 63  6f 4d 6f 64 20 31 2e 30  |re SqlEcoMod 1.0|
000000e0  38 20 52 4d 4c 6f 61 64  20 3c 4f 62 65 79 24 44  |8 RMLoad <Obey$D|
000000f0  69 72 3e 2e 53 71 6c 45  63 6f 4d 6f 64 0a 52 4d  |ir>.SqlEcoMod.RM|
00000100  45 6e 73 75 72 65 20 53  71 6c 45 63 6f 4d 6f 64  |Ensure SqlEcoMod|
00000110  20 31 2e 30 38 20 45 72  72 6f 72 20 59 6f 75 20  | 1.08 Error You |
00000120  6e 65 65 64 20 53 71 6c  45 63 6f 4d 6f 64 20 30  |need SqlEcoMod 0|
00000130  2e 30 34 20 6f 72 20 6c  61 74 65 72 0a 53 65 74  |.04 or later.Set|
00000140  65 76 61 6c 20 45 63 6f  6e 65 74 20 31 0a 52 4d  |eval Econet 1.RM|
00000150  45 6e 73 75 72 65 20 45  63 6f 6e 65 74 20 30 20  |Ensure Econet 0 |
00000160  53 65 74 65 76 61 6c 20  45 63 6f 6e 65 74 20 30  |Seteval Econet 0|
00000170  0a 49 66 20 3c 45 63 6f  6e 65 74 3e 20 74 68 65  |.If <Econet> the|
00000180  6e 20 52 4d 45 6e 73 75  72 65 20 45 63 6f 6e 65  |n RMEnsure Econe|
00000190  74 20 35 2e 35 30 20 52  4d 4c 6f 61 64 20 3c 4f  |t 5.50 RMLoad <O|
000001a0  62 65 79 24 44 69 72 3e  2e 45 63 6f 6e 65 74 0a  |bey$Dir>.Econet.|
000001b0  55 6e 73 65 74 20 45 63  6f 6e 65 74 0a 52 4d 45  |Unset Econet.RME|
000001c0  6e 73 75 72 65 20 53 68  61 72 65 64 43 4c 69 62  |nsure SharedCLib|
000001d0  72 61 72 79 20 33 2e 35  30 20 52 4d 4c 6f 61 64  |rary 3.50 RMLoad|
000001e0  20 53 79 73 74 65 6d 3a  6d 6f 64 75 6c 65 73 2e  | System:modules.|
000001f0  43 4c 69 62 0a 52 4d 45  6e 73 75 72 65 20 53 68  |CLib.RMEnsure Sh|
00000200  61 72 65 64 43 4c 69 62  72 61 72 79 20 33 2e 35  |aredCLibrary 3.5|
00000210  30 20 45 72 72 6f 72 20  59 6f 75 20 6e 65 65 64  |0 Error You need|
00000220  20 53 68 61 72 65 64 43  4c 69 62 72 61 72 79 20  | SharedCLibrary |
00000230  33 2e 35 30 20 6f 72 20  6c 61 74 65 72 0a 57 69  |3.50 or later.Wi|
00000240  6d 70 53 6c 6f 74 20 2d  6d 69 6e 20 31 31 32 6b  |mpSlot -min 112k|
00000250  0a 57 69 6d 70 53 6c 6f  74 20 2d 6d 69 6e 20 31  |.WimpSlot -min 1|
00000260  30 34 6b 0a 52 75 6e 20  3c 4f 62 65 79 24 44 69  |04k.Run <Obey$Di|
00000270  72 3e 2e 21 52 75 6e 49  6d 61 67 65 20 25 2a 30  |r>.!RunImage %*0|
00000280  0a                                                |.|
00000281