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

!PD_Impres/!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: !PD_Impres/!Run
Read OK:
File size: 030F bytes
Load address: FFFFEB43
Exec address: 9D86149F
Duplicates

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

File contents
|
| Run file for PD_Impres
|
Set PD_Impres$Dir <Obey$Dir>
|
IconSprites <PD_Impres$Dir>.!Sprites
|
| Ensure we have FP Emulator
|
RMEnsure FPEmulator 2.70 If "<System$Path>" = "" then Error 0 System resources cannot be found
RMEnsure FPEmulator 2.70 RMLoad System:Modules.FPEmulator
RMEnsure FPEmulator 2.70 Error You need Floating Point Emulator 2.70 or later to run !PD_Impres
|
| Ensure we have the shared C Library
|
RMEnsure SharedCLibrary 3.50 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 to run !PD_Impres
|
| Get the memory to go
|
Run <PD_Impres$Dir>.ImageSlot <PD_Impres$Dir>.!RunImage 16K
|
| Go
|
Run <PD_Impres$Dir>.!RunImage
00000000  7c 0a 7c 20 52 75 6e 20  66 69 6c 65 20 66 6f 72  ||.| Run file for|
00000010  20 50 44 5f 49 6d 70 72  65 73 0a 7c 0a 53 65 74  | PD_Impres.|.Set|
00000020  20 50 44 5f 49 6d 70 72  65 73 24 44 69 72 20 3c  | PD_Impres$Dir <|
00000030  4f 62 65 79 24 44 69 72  3e 0a 7c 0a 49 63 6f 6e  |Obey$Dir>.|.Icon|
00000040  53 70 72 69 74 65 73 20  3c 50 44 5f 49 6d 70 72  |Sprites <PD_Impr|
00000050  65 73 24 44 69 72 3e 2e  21 53 70 72 69 74 65 73  |es$Dir>.!Sprites|
00000060  0a 7c 0a 7c 20 45 6e 73  75 72 65 20 77 65 20 68  |.|.| Ensure we h|
00000070  61 76 65 20 46 50 20 45  6d 75 6c 61 74 6f 72 0a  |ave FP Emulator.|
00000080  7c 0a 52 4d 45 6e 73 75  72 65 20 46 50 45 6d 75  ||.RMEnsure FPEmu|
00000090  6c 61 74 6f 72 20 32 2e  37 30 20 49 66 20 22 3c  |lator 2.70 If "<|
000000a0  53 79 73 74 65 6d 24 50  61 74 68 3e 22 20 3d 20  |System$Path>" = |
000000b0  22 22 20 74 68 65 6e 20  45 72 72 6f 72 20 30 20  |"" then Error 0 |
000000c0  53 79 73 74 65 6d 20 72  65 73 6f 75 72 63 65 73  |System resources|
000000d0  20 63 61 6e 6e 6f 74 20  62 65 20 66 6f 75 6e 64  | cannot be found|
000000e0  0a 52 4d 45 6e 73 75 72  65 20 46 50 45 6d 75 6c  |.RMEnsure FPEmul|
000000f0  61 74 6f 72 20 32 2e 37  30 20 52 4d 4c 6f 61 64  |ator 2.70 RMLoad|
00000100  20 53 79 73 74 65 6d 3a  4d 6f 64 75 6c 65 73 2e  | System:Modules.|
00000110  46 50 45 6d 75 6c 61 74  6f 72 0a 52 4d 45 6e 73  |FPEmulator.RMEns|
00000120  75 72 65 20 46 50 45 6d  75 6c 61 74 6f 72 20 32  |ure FPEmulator 2|
00000130  2e 37 30 20 45 72 72 6f  72 20 59 6f 75 20 6e 65  |.70 Error You ne|
00000140  65 64 20 46 6c 6f 61 74  69 6e 67 20 50 6f 69 6e  |ed Floating Poin|
00000150  74 20 45 6d 75 6c 61 74  6f 72 20 32 2e 37 30 20  |t Emulator 2.70 |
00000160  6f 72 20 6c 61 74 65 72  20 74 6f 20 72 75 6e 20  |or later to run |
00000170  21 50 44 5f 49 6d 70 72  65 73 0a 7c 0a 7c 20 45  |!PD_Impres.|.| E|
00000180  6e 73 75 72 65 20 77 65  20 68 61 76 65 20 74 68  |nsure we have th|
00000190  65 20 73 68 61 72 65 64  20 43 20 4c 69 62 72 61  |e shared C Libra|
000001a0  72 79 0a 7c 0a 52 4d 45  6e 73 75 72 65 20 53 68  |ry.|.RMEnsure Sh|
000001b0  61 72 65 64 43 4c 69 62  72 61 72 79 20 33 2e 35  |aredCLibrary 3.5|
000001c0  30 20 49 66 20 22 3c 53  79 73 74 65 6d 24 50 61  |0 If "<System$Pa|
000001d0  74 68 3e 22 20 3d 20 22  22 20 74 68 65 6e 20 45  |th>" = "" then E|
000001e0  72 72 6f 72 20 30 20 53  79 73 74 65 6d 20 72 65  |rror 0 System re|
000001f0  73 6f 75 72 63 65 73 20  63 61 6e 6e 6f 74 20 62  |sources cannot b|
00000200  65 20 66 6f 75 6e 64 0a  52 4d 45 6e 73 75 72 65  |e found.RMEnsure|
00000210  20 53 68 61 72 65 64 43  4c 69 62 72 61 72 79 20  | SharedCLibrary |
00000220  33 2e 35 30 20 52 4d 4c  6f 61 64 20 53 79 73 74  |3.50 RMLoad Syst|
00000230  65 6d 3a 4d 6f 64 75 6c  65 73 2e 43 4c 69 62 0a  |em:Modules.CLib.|
00000240  52 4d 45 6e 73 75 72 65  20 53 68 61 72 65 64 43  |RMEnsure SharedC|
00000250  4c 69 62 72 61 72 79 20  33 2e 35 30 20 45 72 72  |Library 3.50 Err|
00000260  6f 72 20 59 6f 75 20 6e  65 65 64 20 43 4c 69 62  |or You need CLib|
00000270  20 33 2e 35 30 20 6f 72  20 6c 61 74 65 72 20 74  | 3.50 or later t|
00000280  6f 20 72 75 6e 20 21 50  44 5f 49 6d 70 72 65 73  |o run !PD_Impres|
00000290  0a 7c 0a 7c 20 47 65 74  20 74 68 65 20 6d 65 6d  |.|.| Get the mem|
000002a0  6f 72 79 20 74 6f 20 67  6f 0a 7c 0a 52 75 6e 20  |ory to go.|.Run |
000002b0  3c 50 44 5f 49 6d 70 72  65 73 24 44 69 72 3e 2e  |<PD_Impres$Dir>.|
000002c0  49 6d 61 67 65 53 6c 6f  74 20 3c 50 44 5f 49 6d  |ImageSlot <PD_Im|
000002d0  70 72 65 73 24 44 69 72  3e 2e 21 52 75 6e 49 6d  |pres$Dir>.!RunIm|
000002e0  61 67 65 20 31 36 4b 0a  7c 0a 7c 20 47 6f 0a 7c  |age 16K.|.| Go.||
000002f0  0a 52 75 6e 20 3c 50 44  5f 49 6d 70 72 65 73 24  |.Run <PD_Impres$|
00000300  44 69 72 3e 2e 21 52 75  6e 49 6d 61 67 65 0a     |Dir>.!RunImage.|
0000030f