Home » Archimedes archive » Apps » PipeDream 4 (1991) (Colton Software) (Examples Disc).adf » !PD123/!Run

!PD123/!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 » Apps » PipeDream 4 (1991) (Colton Software) (Examples Disc).adf
Filename: !PD123/!Run
Read OK:
File size: 0349 bytes
Load address: FFFFEB43
Exec address: 1BBD8620
Duplicates

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

File contents
| Run file for PD123
|
| PD123 1.03 (03-May-91)
|
Set PD123$Dir <Obey$Dir>
|
IconSprites <PD123$Dir>.!Sprites
|
| Ensure we have FPEmulator
|
RMEnsure FPEmulator 2.70 If "<System$Path>" = "" then Error System resources cannot be found
RMEnsure FPEmulator 2.70 RMLoad System:Modules.FPEmulator
RMEnsure FPEmulator 2.70 Error 0 You need FPEmulator version 2.70 or later
|
| Ensure we have SharedCLibrary
|
Set PD123$CLibLoaded 1
RMEnsure SharedCLibrary 0.00 Set PD123$CLibLoaded 0
If PD123$CLibLoaded=0 then If "<System$Path>" = "" then Error System resources cannot be found
If PD123$CLibLoaded=0 then RMLoad System:Modules.CLib
RMEnsure SharedCLibrary 3.50 Error 0 You need SharedCLibrary version 3.50 or later
Unset PD123$CLibLoaded
|
WimpSlot -min 128k -max 128k
WimpSlot -min  96k -max  96k
|
| Go, Go, Go
|
Run <PD123$Dir>.!RunImage %*0
00000000  7c 20 52 75 6e 20 66 69  6c 65 20 66 6f 72 20 50  || Run file for P|
00000010  44 31 32 33 0a 7c 0a 7c  20 50 44 31 32 33 20 31  |D123.|.| PD123 1|
00000020  2e 30 33 20 28 30 33 2d  4d 61 79 2d 39 31 29 0a  |.03 (03-May-91).|
00000030  7c 0a 53 65 74 20 50 44  31 32 33 24 44 69 72 20  ||.Set PD123$Dir |
00000040  3c 4f 62 65 79 24 44 69  72 3e 0a 7c 0a 49 63 6f  |<Obey$Dir>.|.Ico|
00000050  6e 53 70 72 69 74 65 73  20 3c 50 44 31 32 33 24  |nSprites <PD123$|
00000060  44 69 72 3e 2e 21 53 70  72 69 74 65 73 0a 7c 0a  |Dir>.!Sprites.|.|
00000070  7c 20 45 6e 73 75 72 65  20 77 65 20 68 61 76 65  || Ensure we have|
00000080  20 46 50 45 6d 75 6c 61  74 6f 72 0a 7c 0a 52 4d  | FPEmulator.|.RM|
00000090  45 6e 73 75 72 65 20 46  50 45 6d 75 6c 61 74 6f  |Ensure FPEmulato|
000000a0  72 20 32 2e 37 30 20 49  66 20 22 3c 53 79 73 74  |r 2.70 If "<Syst|
000000b0  65 6d 24 50 61 74 68 3e  22 20 3d 20 22 22 20 74  |em$Path>" = "" t|
000000c0  68 65 6e 20 45 72 72 6f  72 20 53 79 73 74 65 6d  |hen Error System|
000000d0  20 72 65 73 6f 75 72 63  65 73 20 63 61 6e 6e 6f  | resources canno|
000000e0  74 20 62 65 20 66 6f 75  6e 64 0a 52 4d 45 6e 73  |t be found.RMEns|
000000f0  75 72 65 20 46 50 45 6d  75 6c 61 74 6f 72 20 32  |ure FPEmulator 2|
00000100  2e 37 30 20 52 4d 4c 6f  61 64 20 53 79 73 74 65  |.70 RMLoad Syste|
00000110  6d 3a 4d 6f 64 75 6c 65  73 2e 46 50 45 6d 75 6c  |m:Modules.FPEmul|
00000120  61 74 6f 72 0a 52 4d 45  6e 73 75 72 65 20 46 50  |ator.RMEnsure FP|
00000130  45 6d 75 6c 61 74 6f 72  20 32 2e 37 30 20 45 72  |Emulator 2.70 Er|
00000140  72 6f 72 20 30 20 59 6f  75 20 6e 65 65 64 20 46  |ror 0 You need F|
00000150  50 45 6d 75 6c 61 74 6f  72 20 76 65 72 73 69 6f  |PEmulator versio|
00000160  6e 20 32 2e 37 30 20 6f  72 20 6c 61 74 65 72 0a  |n 2.70 or later.|
00000170  7c 0a 7c 20 45 6e 73 75  72 65 20 77 65 20 68 61  ||.| Ensure we ha|
00000180  76 65 20 53 68 61 72 65  64 43 4c 69 62 72 61 72  |ve SharedCLibrar|
00000190  79 0a 7c 0a 53 65 74 20  50 44 31 32 33 24 43 4c  |y.|.Set PD123$CL|
000001a0  69 62 4c 6f 61 64 65 64  20 31 0a 52 4d 45 6e 73  |ibLoaded 1.RMEns|
000001b0  75 72 65 20 53 68 61 72  65 64 43 4c 69 62 72 61  |ure SharedCLibra|
000001c0  72 79 20 30 2e 30 30 20  53 65 74 20 50 44 31 32  |ry 0.00 Set PD12|
000001d0  33 24 43 4c 69 62 4c 6f  61 64 65 64 20 30 0a 49  |3$CLibLoaded 0.I|
000001e0  66 20 50 44 31 32 33 24  43 4c 69 62 4c 6f 61 64  |f PD123$CLibLoad|
000001f0  65 64 3d 30 20 74 68 65  6e 20 49 66 20 22 3c 53  |ed=0 then If "<S|
00000200  79 73 74 65 6d 24 50 61  74 68 3e 22 20 3d 20 22  |ystem$Path>" = "|
00000210  22 20 74 68 65 6e 20 45  72 72 6f 72 20 53 79 73  |" then Error Sys|
00000220  74 65 6d 20 72 65 73 6f  75 72 63 65 73 20 63 61  |tem resources ca|
00000230  6e 6e 6f 74 20 62 65 20  66 6f 75 6e 64 0a 49 66  |nnot be found.If|
00000240  20 50 44 31 32 33 24 43  4c 69 62 4c 6f 61 64 65  | PD123$CLibLoade|
00000250  64 3d 30 20 74 68 65 6e  20 52 4d 4c 6f 61 64 20  |d=0 then RMLoad |
00000260  53 79 73 74 65 6d 3a 4d  6f 64 75 6c 65 73 2e 43  |System:Modules.C|
00000270  4c 69 62 0a 52 4d 45 6e  73 75 72 65 20 53 68 61  |Lib.RMEnsure Sha|
00000280  72 65 64 43 4c 69 62 72  61 72 79 20 33 2e 35 30  |redCLibrary 3.50|
00000290  20 45 72 72 6f 72 20 30  20 59 6f 75 20 6e 65 65  | Error 0 You nee|
000002a0  64 20 53 68 61 72 65 64  43 4c 69 62 72 61 72 79  |d SharedCLibrary|
000002b0  20 76 65 72 73 69 6f 6e  20 33 2e 35 30 20 6f 72  | version 3.50 or|
000002c0  20 6c 61 74 65 72 0a 55  6e 73 65 74 20 50 44 31  | later.Unset PD1|
000002d0  32 33 24 43 4c 69 62 4c  6f 61 64 65 64 0a 7c 0a  |23$CLibLoaded.|.|
000002e0  57 69 6d 70 53 6c 6f 74  20 2d 6d 69 6e 20 31 32  |WimpSlot -min 12|
000002f0  38 6b 20 2d 6d 61 78 20  31 32 38 6b 0a 57 69 6d  |8k -max 128k.Wim|
00000300  70 53 6c 6f 74 20 2d 6d  69 6e 20 20 39 36 6b 20  |pSlot -min  96k |
00000310  2d 6d 61 78 20 20 39 36  6b 0a 7c 0a 7c 20 47 6f  |-max  96k.|.| Go|
00000320  2c 20 47 6f 2c 20 47 6f  0a 7c 0a 52 75 6e 20 3c  |, Go, Go.|.Run <|
00000330  50 44 31 32 33 24 44 69  72 3e 2e 21 52 75 6e 49  |PD123$Dir>.!RunI|
00000340  6d 61 67 65 20 25 2a 30  0a                       |mage %*0.|
00000349