Home » Archimedes archive » Acorn Computing » 1994 08.adf » 9408 » PD/Playdays/!Playdays/Disc2/One/aa/ab/ac/ad/af/ag/ah/ai/Smudge/!First/!Run

PD/Playdays/!Playdays/Disc2/One/aa/ab/ac/ad/af/ag/ah/ai/Smudge/!First/!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 Computing » 1994 08.adf » 9408
Filename: PD/Playdays/!Playdays/Disc2/One/aa/ab/ac/ad/af/ag/ah/ai/Smudge/!First/!Run
Read OK:
File size: 0284 bytes
Load address: 0000
Exec address: 0000
File contents
*Run <Obey$Dir>.!Boot
| This file checks that necessary modules are loaded and claims a 
| "slot" from the WIMP

*WimpSlot -min 180k -max 180k
if "<System$Path>" = "" then Error 0 System resources cannot be found
|
RMEnsure SharedCLibrary 3.50 RMLoad System:Modules.Clib
RMEnsure SharedCLibrary 3.50 Error You need Clib 3.50 or later
|
RMEnsure FPEmulator 2.80 RMLoad System:Modules.FPEmulator
RMEnsure FPEmulator 2.80 Error You need FPEmulator 2.80 or later
|
RMEnsure ColourTrans 0.51 RMLoad System:Modules.Colours
RMEnsure ColourTrans 0.51 Error You need ColourTrans 0.51 or later
|
*Set First$Dir <Obey$Dir>
|
*Run <First$Dir>.!RunImage %0
00000000  2a 52 75 6e 20 3c 4f 62  65 79 24 44 69 72 3e 2e  |*Run <Obey$Dir>.|
00000010  21 42 6f 6f 74 0a 7c 20  54 68 69 73 20 66 69 6c  |!Boot.| This fil|
00000020  65 20 63 68 65 63 6b 73  20 74 68 61 74 20 6e 65  |e checks that ne|
00000030  63 65 73 73 61 72 79 20  6d 6f 64 75 6c 65 73 20  |cessary modules |
00000040  61 72 65 20 6c 6f 61 64  65 64 20 61 6e 64 20 63  |are loaded and c|
00000050  6c 61 69 6d 73 20 61 20  0a 7c 20 22 73 6c 6f 74  |laims a .| "slot|
00000060  22 20 66 72 6f 6d 20 74  68 65 20 57 49 4d 50 0a  |" from the WIMP.|
00000070  0a 2a 57 69 6d 70 53 6c  6f 74 20 2d 6d 69 6e 20  |.*WimpSlot -min |
00000080  31 38 30 6b 20 2d 6d 61  78 20 31 38 30 6b 0a 69  |180k -max 180k.i|
00000090  66 20 22 3c 53 79 73 74  65 6d 24 50 61 74 68 3e  |f "<System$Path>|
000000a0  22 20 3d 20 22 22 20 74  68 65 6e 20 45 72 72 6f  |" = "" then Erro|
000000b0  72 20 30 20 53 79 73 74  65 6d 20 72 65 73 6f 75  |r 0 System resou|
000000c0  72 63 65 73 20 63 61 6e  6e 6f 74 20 62 65 20 66  |rces cannot be f|
000000d0  6f 75 6e 64 0a 7c 0a 52  4d 45 6e 73 75 72 65 20  |ound.|.RMEnsure |
000000e0  53 68 61 72 65 64 43 4c  69 62 72 61 72 79 20 33  |SharedCLibrary 3|
000000f0  2e 35 30 20 52 4d 4c 6f  61 64 20 53 79 73 74 65  |.50 RMLoad Syste|
00000100  6d 3a 4d 6f 64 75 6c 65  73 2e 43 6c 69 62 0a 52  |m:Modules.Clib.R|
00000110  4d 45 6e 73 75 72 65 20  53 68 61 72 65 64 43 4c  |MEnsure SharedCL|
00000120  69 62 72 61 72 79 20 33  2e 35 30 20 45 72 72 6f  |ibrary 3.50 Erro|
00000130  72 20 59 6f 75 20 6e 65  65 64 20 43 6c 69 62 20  |r You need Clib |
00000140  33 2e 35 30 20 6f 72 20  6c 61 74 65 72 0a 7c 0a  |3.50 or later.|.|
00000150  52 4d 45 6e 73 75 72 65  20 46 50 45 6d 75 6c 61  |RMEnsure FPEmula|
00000160  74 6f 72 20 32 2e 38 30  20 52 4d 4c 6f 61 64 20  |tor 2.80 RMLoad |
00000170  53 79 73 74 65 6d 3a 4d  6f 64 75 6c 65 73 2e 46  |System:Modules.F|
00000180  50 45 6d 75 6c 61 74 6f  72 0a 52 4d 45 6e 73 75  |PEmulator.RMEnsu|
00000190  72 65 20 46 50 45 6d 75  6c 61 74 6f 72 20 32 2e  |re FPEmulator 2.|
000001a0  38 30 20 45 72 72 6f 72  20 59 6f 75 20 6e 65 65  |80 Error You nee|
000001b0  64 20 46 50 45 6d 75 6c  61 74 6f 72 20 32 2e 38  |d FPEmulator 2.8|
000001c0  30 20 6f 72 20 6c 61 74  65 72 0a 7c 0a 52 4d 45  |0 or later.|.RME|
000001d0  6e 73 75 72 65 20 43 6f  6c 6f 75 72 54 72 61 6e  |nsure ColourTran|
000001e0  73 20 30 2e 35 31 20 52  4d 4c 6f 61 64 20 53 79  |s 0.51 RMLoad Sy|
000001f0  73 74 65 6d 3a 4d 6f 64  75 6c 65 73 2e 43 6f 6c  |stem:Modules.Col|
00000200  6f 75 72 73 0a 52 4d 45  6e 73 75 72 65 20 43 6f  |ours.RMEnsure Co|
00000210  6c 6f 75 72 54 72 61 6e  73 20 30 2e 35 31 20 45  |lourTrans 0.51 E|
00000220  72 72 6f 72 20 59 6f 75  20 6e 65 65 64 20 43 6f  |rror You need Co|
00000230  6c 6f 75 72 54 72 61 6e  73 20 30 2e 35 31 20 6f  |lourTrans 0.51 o|
00000240  72 20 6c 61 74 65 72 0a  7c 0a 2a 53 65 74 20 46  |r later.|.*Set F|
00000250  69 72 73 74 24 44 69 72  20 3c 4f 62 65 79 24 44  |irst$Dir <Obey$D|
00000260  69 72 3e 0a 7c 0a 2a 52  75 6e 20 3c 46 69 72 73  |ir>.|.*Run <Firs|
00000270  74 24 44 69 72 3e 2e 21  52 75 6e 49 6d 61 67 65  |t$Dir>.!RunImage|
00000280  20 25 30 0a                                       | %0.|
00000284