Home » Archimedes archive » Micro User » MU 1991-04.adf » PD-Stuff » !SetType/!Run

!SetType/!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 » Micro User » MU 1991-04.adf » PD-Stuff
Filename: !SetType/!Run
Read OK:
File size: 01E0 bytes
Load address: 0000
Exec address: 0000
File contents
| !Run file for !SetType Application V1.00
| by Paul Hobbs
| First bit as for !Boot
IconSprites <Obey$Dir>.!Sprites
| Find our path
Set SetType$Dir <Obey$Dir>
| Check memory allocation
WimpSlot -min 18K -max 18K
| Start program
Run <SetType$Dir>.!RunImage %*0
| (Just one %, so parameters are
|  substituted before !RunImage is run.
|  'Run' at start is necessary to
|  prevent filing system name being
|  treated as a temporary filing system
|  for the duration of the command.)
00000000  7c 20 21 52 75 6e 20 66  69 6c 65 20 66 6f 72 20  || !Run file for |
00000010  21 53 65 74 54 79 70 65  20 41 70 70 6c 69 63 61  |!SetType Applica|
00000020  74 69 6f 6e 20 56 31 2e  30 30 0a 7c 20 62 79 20  |tion V1.00.| by |
00000030  50 61 75 6c 20 48 6f 62  62 73 0a 7c 20 46 69 72  |Paul Hobbs.| Fir|
00000040  73 74 20 62 69 74 20 61  73 20 66 6f 72 20 21 42  |st bit as for !B|
00000050  6f 6f 74 0a 49 63 6f 6e  53 70 72 69 74 65 73 20  |oot.IconSprites |
00000060  3c 4f 62 65 79 24 44 69  72 3e 2e 21 53 70 72 69  |<Obey$Dir>.!Spri|
00000070  74 65 73 0a 7c 20 46 69  6e 64 20 6f 75 72 20 70  |tes.| Find our p|
00000080  61 74 68 0a 53 65 74 20  53 65 74 54 79 70 65 24  |ath.Set SetType$|
00000090  44 69 72 20 3c 4f 62 65  79 24 44 69 72 3e 0a 7c  |Dir <Obey$Dir>.||
000000a0  20 43 68 65 63 6b 20 6d  65 6d 6f 72 79 20 61 6c  | Check memory al|
000000b0  6c 6f 63 61 74 69 6f 6e  0a 57 69 6d 70 53 6c 6f  |location.WimpSlo|
000000c0  74 20 2d 6d 69 6e 20 31  38 4b 20 2d 6d 61 78 20  |t -min 18K -max |
000000d0  31 38 4b 0a 7c 20 53 74  61 72 74 20 70 72 6f 67  |18K.| Start prog|
000000e0  72 61 6d 0a 52 75 6e 20  3c 53 65 74 54 79 70 65  |ram.Run <SetType|
000000f0  24 44 69 72 3e 2e 21 52  75 6e 49 6d 61 67 65 20  |$Dir>.!RunImage |
00000100  25 2a 30 0a 7c 20 28 4a  75 73 74 20 6f 6e 65 20  |%*0.| (Just one |
00000110  25 2c 20 73 6f 20 70 61  72 61 6d 65 74 65 72 73  |%, so parameters|
00000120  20 61 72 65 0a 7c 20 20  73 75 62 73 74 69 74 75  | are.|  substitu|
00000130  74 65 64 20 62 65 66 6f  72 65 20 21 52 75 6e 49  |ted before !RunI|
00000140  6d 61 67 65 20 69 73 20  72 75 6e 2e 0a 7c 20 20  |mage is run..|  |
00000150  27 52 75 6e 27 20 61 74  20 73 74 61 72 74 20 69  |'Run' at start i|
00000160  73 20 6e 65 63 65 73 73  61 72 79 20 74 6f 0a 7c  |s necessary to.||
00000170  20 20 70 72 65 76 65 6e  74 20 66 69 6c 69 6e 67  |  prevent filing|
00000180  20 73 79 73 74 65 6d 20  6e 61 6d 65 20 62 65 69  | system name bei|
00000190  6e 67 0a 7c 20 20 74 72  65 61 74 65 64 20 61 73  |ng.|  treated as|
000001a0  20 61 20 74 65 6d 70 6f  72 61 72 79 20 66 69 6c  | a temporary fil|
000001b0  69 6e 67 20 73 79 73 74  65 6d 0a 7c 20 20 66 6f  |ing system.|  fo|
000001c0  72 20 74 68 65 20 64 75  72 61 74 69 6f 6e 20 6f  |r the duration o|
000001d0  66 20 74 68 65 20 63 6f  6d 6d 61 6e 64 2e 29 0a  |f the command.).|
000001e0