Home » Personal collection » Acorn hard disk » apps » !Squirrel » Engines/!DDE/!Run

Engines/!DDE/!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 » Personal collection » Acorn hard disk » apps » !Squirrel
Filename: Engines/!DDE/!Run
Read OK:
File size: 01E8 bytes
Load address: 0000
Exec address: 0000
File contents
| !DDE version 2.08 (11 Jul 1994)

if "<System$Path>" = "" then Error 0 System resources cannot be found
if "<Wimp$Scrap>" = "" then Error 0 !Scrap has not been seen
WimpSlot -min 168K -max 168K
RMEnsure FPEmulator 0.00 rmload System:Modules.FPEmulator
RMEnsure SharedCLibrary 3.50 RMLoad System:modules.CLib
Set DDE$Dir <Obey$Dir>
if "<Wimp$ScrapDir>" = "" then obey <DDE$dir>.SetWScrap
SetMacro Squirrel$ScrapDir <Wimp$ScrapDir>.Squirrel
WimpSlot -min 168k
Run <Obey$Dir>.!RunImage %*0
00000000  7c 20 21 44 44 45 20 76  65 72 73 69 6f 6e 20 32  || !DDE version 2|
00000010  2e 30 38 20 28 31 31 20  4a 75 6c 20 31 39 39 34  |.08 (11 Jul 1994|
00000020  29 0a 0a 69 66 20 22 3c  53 79 73 74 65 6d 24 50  |)..if "<System$P|
00000030  61 74 68 3e 22 20 3d 20  22 22 20 74 68 65 6e 20  |ath>" = "" then |
00000040  45 72 72 6f 72 20 30 20  53 79 73 74 65 6d 20 72  |Error 0 System r|
00000050  65 73 6f 75 72 63 65 73  20 63 61 6e 6e 6f 74 20  |esources cannot |
00000060  62 65 20 66 6f 75 6e 64  0a 69 66 20 22 3c 57 69  |be found.if "<Wi|
00000070  6d 70 24 53 63 72 61 70  3e 22 20 3d 20 22 22 20  |mp$Scrap>" = "" |
00000080  74 68 65 6e 20 45 72 72  6f 72 20 30 20 21 53 63  |then Error 0 !Sc|
00000090  72 61 70 20 68 61 73 20  6e 6f 74 20 62 65 65 6e  |rap has not been|
000000a0  20 73 65 65 6e 0a 57 69  6d 70 53 6c 6f 74 20 2d  | seen.WimpSlot -|
000000b0  6d 69 6e 20 31 36 38 4b  20 2d 6d 61 78 20 31 36  |min 168K -max 16|
000000c0  38 4b 0a 52 4d 45 6e 73  75 72 65 20 46 50 45 6d  |8K.RMEnsure FPEm|
000000d0  75 6c 61 74 6f 72 20 30  2e 30 30 20 72 6d 6c 6f  |ulator 0.00 rmlo|
000000e0  61 64 20 53 79 73 74 65  6d 3a 4d 6f 64 75 6c 65  |ad System:Module|
000000f0  73 2e 46 50 45 6d 75 6c  61 74 6f 72 0a 52 4d 45  |s.FPEmulator.RME|
00000100  6e 73 75 72 65 20 53 68  61 72 65 64 43 4c 69 62  |nsure SharedCLib|
00000110  72 61 72 79 20 33 2e 35  30 20 52 4d 4c 6f 61 64  |rary 3.50 RMLoad|
00000120  20 53 79 73 74 65 6d 3a  6d 6f 64 75 6c 65 73 2e  | System:modules.|
00000130  43 4c 69 62 0a 53 65 74  20 44 44 45 24 44 69 72  |CLib.Set DDE$Dir|
00000140  20 3c 4f 62 65 79 24 44  69 72 3e 0a 69 66 20 22  | <Obey$Dir>.if "|
00000150  3c 57 69 6d 70 24 53 63  72 61 70 44 69 72 3e 22  |<Wimp$ScrapDir>"|
00000160  20 3d 20 22 22 20 74 68  65 6e 20 6f 62 65 79 20  | = "" then obey |
00000170  3c 44 44 45 24 64 69 72  3e 2e 53 65 74 57 53 63  |<DDE$dir>.SetWSc|
00000180  72 61 70 0a 53 65 74 4d  61 63 72 6f 20 53 71 75  |rap.SetMacro Squ|
00000190  69 72 72 65 6c 24 53 63  72 61 70 44 69 72 20 3c  |irrel$ScrapDir <|
000001a0  57 69 6d 70 24 53 63 72  61 70 44 69 72 3e 2e 53  |Wimp$ScrapDir>.S|
000001b0  71 75 69 72 72 65 6c 0a  57 69 6d 70 53 6c 6f 74  |quirrel.WimpSlot|
000001c0  20 2d 6d 69 6e 20 31 36  38 6b 0a 52 75 6e 20 3c  | -min 168k.Run <|
000001d0  4f 62 65 79 24 44 69 72  3e 2e 21 52 75 6e 49 6d  |Obey$Dir>.!RunIm|
000001e0  61 67 65 20 25 2a 30 0a                           |age %*0.|
000001e8