Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199508.adf » !AUilite » !/!Run

!/!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 » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199508.adf » !AUilite
Filename: !/!Run
Read OK:
File size: 059A bytes
Load address: 0000
Exec address: 0000
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
|
| Elite !Run File
| ----------------
|
| Archimedes Elite             - Copyright � 1991 Hybrid Technology
| Archimedes Elite written by  - Warren Burch & Clive Gringras. 
| Original Game Concept        - Copyright � 1984 Ian Bell & David Braben
| 

Set Elite$Dir <Obey$Dir>
Set EliteSounds$Dir <Elite$Dir>.Sounds

Set File$Type_C87 EliteCom
Set Alias$@RunType_C87 Run <Obey$Dir>.!Run %%*0

WimpSlot -min 450k -max 450k

|
| Check Elite knows where a !System directory can be found
| --------------------------------------------------------
|

If "<System$Path>" = "" Then Error System resources cannot be found - please open a directory with a !System in it


|
| Check that an old version of Clib is not already installed
| ----------------------------------------------------------
|

set clib$flag 0
RMensure SharedClibrary 3.76 set clib$flag 1
RMensure SharedClibrary 0 set clib$flag 0
if "<clib$flag>"="1" then Error An old version of the shared C library (clib) is resident in your machine.
unset clib$flag


|
| Install the shared C library (Clib)
| -----------------------------------
|

RMensure SharedClibrary 3.76 RMload System:Modules.Clib
RMensure SharedClibrary 3.76 Error You need at least version 3.76 of the shared C library

RMEnsure CLockUtils 0.00 RMLoad <Elite$Dir>.CLockUtils

|
| Load main code 
| --------------
|
|     strap into the colourful seat.....

WimpSlot -min 450k -max 450k
<Elite$Dir>.�lite %*0
00000000  7c 0a 7c 20 45 6c 69 74  65 20 21 52 75 6e 20 46  ||.| Elite !Run F|
00000010  69 6c 65 0a 7c 20 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |ile.| ----------|
00000020  2d 2d 2d 2d 2d 2d 0a 7c  0a 7c 20 41 72 63 68 69  |------.|.| Archi|
00000030  6d 65 64 65 73 20 45 6c  69 74 65 20 20 20 20 20  |medes Elite     |
00000040  20 20 20 20 20 20 20 20  2d 20 43 6f 70 79 72 69  |        - Copyri|
00000050  67 68 74 20 a9 20 31 39  39 31 20 48 79 62 72 69  |ght . 1991 Hybri|
00000060  64 20 54 65 63 68 6e 6f  6c 6f 67 79 0a 7c 20 41  |d Technology.| A|
00000070  72 63 68 69 6d 65 64 65  73 20 45 6c 69 74 65 20  |rchimedes Elite |
00000080  77 72 69 74 74 65 6e 20  62 79 20 20 2d 20 57 61  |written by  - Wa|
00000090  72 72 65 6e 20 42 75 72  63 68 20 26 20 43 6c 69  |rren Burch & Cli|
000000a0  76 65 20 47 72 69 6e 67  72 61 73 2e 20 0a 7c 20  |ve Gringras. .| |
000000b0  4f 72 69 67 69 6e 61 6c  20 47 61 6d 65 20 43 6f  |Original Game Co|
000000c0  6e 63 65 70 74 20 20 20  20 20 20 20 20 2d 20 43  |ncept        - C|
000000d0  6f 70 79 72 69 67 68 74  20 a9 20 31 39 38 34 20  |opyright . 1984 |
000000e0  49 61 6e 20 42 65 6c 6c  20 26 20 44 61 76 69 64  |Ian Bell & David|
000000f0  20 42 72 61 62 65 6e 0a  7c 20 0a 0a 53 65 74 20  | Braben.| ..Set |
00000100  45 6c 69 74 65 24 44 69  72 20 3c 4f 62 65 79 24  |Elite$Dir <Obey$|
00000110  44 69 72 3e 0a 53 65 74  20 45 6c 69 74 65 53 6f  |Dir>.Set EliteSo|
00000120  75 6e 64 73 24 44 69 72  20 3c 45 6c 69 74 65 24  |unds$Dir <Elite$|
00000130  44 69 72 3e 2e 53 6f 75  6e 64 73 0a 0a 53 65 74  |Dir>.Sounds..Set|
00000140  20 46 69 6c 65 24 54 79  70 65 5f 43 38 37 20 45  | File$Type_C87 E|
00000150  6c 69 74 65 43 6f 6d 0a  53 65 74 20 41 6c 69 61  |liteCom.Set Alia|
00000160  73 24 40 52 75 6e 54 79  70 65 5f 43 38 37 20 52  |s$@RunType_C87 R|
00000170  75 6e 20 3c 4f 62 65 79  24 44 69 72 3e 2e 21 52  |un <Obey$Dir>.!R|
00000180  75 6e 20 25 25 2a 30 0a  0a 57 69 6d 70 53 6c 6f  |un %%*0..WimpSlo|
00000190  74 20 2d 6d 69 6e 20 34  35 30 6b 20 2d 6d 61 78  |t -min 450k -max|
000001a0  20 34 35 30 6b 0a 0a 7c  0a 7c 20 43 68 65 63 6b  | 450k..|.| Check|
000001b0  20 45 6c 69 74 65 20 6b  6e 6f 77 73 20 77 68 65  | Elite knows whe|
000001c0  72 65 20 61 20 21 53 79  73 74 65 6d 20 64 69 72  |re a !System dir|
000001d0  65 63 74 6f 72 79 20 63  61 6e 20 62 65 20 66 6f  |ectory can be fo|
000001e0  75 6e 64 0a 7c 20 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |und.| ----------|
000001f0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00000210  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 0a 7c  |--------------.||
00000220  0a 0a 49 66 20 22 3c 53  79 73 74 65 6d 24 50 61  |..If "<System$Pa|
00000230  74 68 3e 22 20 3d 20 22  22 20 54 68 65 6e 20 45  |th>" = "" Then E|
00000240  72 72 6f 72 20 53 79 73  74 65 6d 20 72 65 73 6f  |rror System reso|
00000250  75 72 63 65 73 20 63 61  6e 6e 6f 74 20 62 65 20  |urces cannot be |
00000260  66 6f 75 6e 64 20 2d 20  70 6c 65 61 73 65 20 6f  |found - please o|
00000270  70 65 6e 20 61 20 64 69  72 65 63 74 6f 72 79 20  |pen a directory |
00000280  77 69 74 68 20 61 20 21  53 79 73 74 65 6d 20 69  |with a !System i|
00000290  6e 20 69 74 0a 0a 0a 7c  0a 7c 20 43 68 65 63 6b  |n it...|.| Check|
000002a0  20 74 68 61 74 20 61 6e  20 6f 6c 64 20 76 65 72  | that an old ver|
000002b0  73 69 6f 6e 20 6f 66 20  43 6c 69 62 20 69 73 20  |sion of Clib is |
000002c0  6e 6f 74 20 61 6c 72 65  61 64 79 20 69 6e 73 74  |not already inst|
000002d0  61 6c 6c 65 64 0a 7c 20  2d 2d 2d 2d 2d 2d 2d 2d  |alled.| --------|
000002e0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00000310  2d 2d 0a 7c 0a 0a 73 65  74 20 63 6c 69 62 24 66  |--.|..set clib$f|
00000320  6c 61 67 20 30 0a 52 4d  65 6e 73 75 72 65 20 53  |lag 0.RMensure S|
00000330  68 61 72 65 64 43 6c 69  62 72 61 72 79 20 33 2e  |haredClibrary 3.|
00000340  37 36 20 73 65 74 20 63  6c 69 62 24 66 6c 61 67  |76 set clib$flag|
00000350  20 31 0a 52 4d 65 6e 73  75 72 65 20 53 68 61 72  | 1.RMensure Shar|
00000360  65 64 43 6c 69 62 72 61  72 79 20 30 20 73 65 74  |edClibrary 0 set|
00000370  20 63 6c 69 62 24 66 6c  61 67 20 30 0a 69 66 20  | clib$flag 0.if |
00000380  22 3c 63 6c 69 62 24 66  6c 61 67 3e 22 3d 22 31  |"<clib$flag>"="1|
00000390  22 20 74 68 65 6e 20 45  72 72 6f 72 20 41 6e 20  |" then Error An |
000003a0  6f 6c 64 20 76 65 72 73  69 6f 6e 20 6f 66 20 74  |old version of t|
000003b0  68 65 20 73 68 61 72 65  64 20 43 20 6c 69 62 72  |he shared C libr|
000003c0  61 72 79 20 28 63 6c 69  62 29 20 69 73 20 72 65  |ary (clib) is re|
000003d0  73 69 64 65 6e 74 20 69  6e 20 79 6f 75 72 20 6d  |sident in your m|
000003e0  61 63 68 69 6e 65 2e 0a  75 6e 73 65 74 20 63 6c  |achine..unset cl|
000003f0  69 62 24 66 6c 61 67 0a  0a 0a 7c 0a 7c 20 49 6e  |ib$flag...|.| In|
00000400  73 74 61 6c 6c 20 74 68  65 20 73 68 61 72 65 64  |stall the shared|
00000410  20 43 20 6c 69 62 72 61  72 79 20 28 43 6c 69 62  | C library (Clib|
00000420  29 0a 7c 20 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |).| ------------|
00000430  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00000440  2d 2d 2d 2d 2d 2d 2d 0a  7c 0a 0a 52 4d 65 6e 73  |-------.|..RMens|
00000450  75 72 65 20 53 68 61 72  65 64 43 6c 69 62 72 61  |ure SharedClibra|
00000460  72 79 20 33 2e 37 36 20  52 4d 6c 6f 61 64 20 53  |ry 3.76 RMload S|
00000470  79 73 74 65 6d 3a 4d 6f  64 75 6c 65 73 2e 43 6c  |ystem:Modules.Cl|
00000480  69 62 0a 52 4d 65 6e 73  75 72 65 20 53 68 61 72  |ib.RMensure Shar|
00000490  65 64 43 6c 69 62 72 61  72 79 20 33 2e 37 36 20  |edClibrary 3.76 |
000004a0  45 72 72 6f 72 20 59 6f  75 20 6e 65 65 64 20 61  |Error You need a|
000004b0  74 20 6c 65 61 73 74 20  76 65 72 73 69 6f 6e 20  |t least version |
000004c0  33 2e 37 36 20 6f 66 20  74 68 65 20 73 68 61 72  |3.76 of the shar|
000004d0  65 64 20 43 20 6c 69 62  72 61 72 79 0a 0a 52 4d  |ed C library..RM|
000004e0  45 6e 73 75 72 65 20 43  4c 6f 63 6b 55 74 69 6c  |Ensure CLockUtil|
000004f0  73 20 30 2e 30 30 20 52  4d 4c 6f 61 64 20 3c 45  |s 0.00 RMLoad <E|
00000500  6c 69 74 65 24 44 69 72  3e 2e 43 4c 6f 63 6b 55  |lite$Dir>.CLockU|
00000510  74 69 6c 73 0a 0a 7c 0a  7c 20 4c 6f 61 64 20 6d  |tils..|.| Load m|
00000520  61 69 6e 20 63 6f 64 65  20 0a 7c 20 2d 2d 2d 2d  |ain code .| ----|
00000530  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 0a 7c 0a 7c 20 20  |----------.|.|  |
00000540  20 20 20 73 74 72 61 70  20 69 6e 74 6f 20 74 68  |   strap into th|
00000550  65 20 63 6f 6c 6f 75 72  66 75 6c 20 73 65 61 74  |e colourful seat|
00000560  2e 2e 2e 2e 2e 0a 0a 57  69 6d 70 53 6c 6f 74 20  |.......WimpSlot |
00000570  2d 6d 69 6e 20 34 35 30  6b 20 2d 6d 61 78 20 34  |-min 450k -max 4|
00000580  35 30 6b 0a 3c 45 6c 69  74 65 24 44 69 72 3e 2e  |50k.<Elite$Dir>.|
00000590  e9 6c 69 74 65 20 25 2a  30 0a                    |.lite %*0.|
0000059a