Home » Archimedes archive » Acorn User » AU 1996-02.adf » Clan » !ResEd/CSE/!Misc/!Run

!ResEd/CSE/!Misc/!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 User » AU 1996-02.adf » Clan
Filename: !ResEd/CSE/!Misc/!Run
Read OK:
File size: 02B8 bytes
Load address: 0000
Exec address: 0000
File contents
| > !ResEd.CSE.!Misc.!Run

If "<File$Type_FFE>" = "" Then Set File$Type_FFE "Command"
If "<File$Type_DFE>" = "" Then Set File$Type_DFE "CSV"
If "<File$Type_FFD>" = "" Then Set File$Type_FFD "Data"
If "<File$Type_AFF>" = "" Then Set File$Type_AFF "DrawFile"
If "<File$Type_C85>" = "" Then Set File$Type_C85 "JPEG"
If "<File$Type_FEB>" = "" Then Set File$Type_FEB "Obey"
If "<File$Type_FED>" = "" Then Set File$Type_FED "Palette"
If "<File$Type_FF5>" = "" Then Set File$Type_FF5 "PoScript"
If "<File$Type_FF9>" = "" Then Set File$Type_FF9 "Sprite"
If "<File$Type_FFF>" = "" Then Set File$Type_FFF "Text"

Set ResEd$Misc$Dir <Obey$Dir>
WimpSlot -min 128k -max 128k
Run <ResEd$Misc$Dir>.!RunImage %*0
00000000  7c 20 3e 20 21 52 65 73  45 64 2e 43 53 45 2e 21  || > !ResEd.CSE.!|
00000010  4d 69 73 63 2e 21 52 75  6e 0a 0a 49 66 20 22 3c  |Misc.!Run..If "<|
00000020  46 69 6c 65 24 54 79 70  65 5f 46 46 45 3e 22 20  |File$Type_FFE>" |
00000030  3d 20 22 22 20 54 68 65  6e 20 53 65 74 20 46 69  |= "" Then Set Fi|
00000040  6c 65 24 54 79 70 65 5f  46 46 45 20 22 43 6f 6d  |le$Type_FFE "Com|
00000050  6d 61 6e 64 22 0a 49 66  20 22 3c 46 69 6c 65 24  |mand".If "<File$|
00000060  54 79 70 65 5f 44 46 45  3e 22 20 3d 20 22 22 20  |Type_DFE>" = "" |
00000070  54 68 65 6e 20 53 65 74  20 46 69 6c 65 24 54 79  |Then Set File$Ty|
00000080  70 65 5f 44 46 45 20 22  43 53 56 22 0a 49 66 20  |pe_DFE "CSV".If |
00000090  22 3c 46 69 6c 65 24 54  79 70 65 5f 46 46 44 3e  |"<File$Type_FFD>|
000000a0  22 20 3d 20 22 22 20 54  68 65 6e 20 53 65 74 20  |" = "" Then Set |
000000b0  46 69 6c 65 24 54 79 70  65 5f 46 46 44 20 22 44  |File$Type_FFD "D|
000000c0  61 74 61 22 0a 49 66 20  22 3c 46 69 6c 65 24 54  |ata".If "<File$T|
000000d0  79 70 65 5f 41 46 46 3e  22 20 3d 20 22 22 20 54  |ype_AFF>" = "" T|
000000e0  68 65 6e 20 53 65 74 20  46 69 6c 65 24 54 79 70  |hen Set File$Typ|
000000f0  65 5f 41 46 46 20 22 44  72 61 77 46 69 6c 65 22  |e_AFF "DrawFile"|
00000100  0a 49 66 20 22 3c 46 69  6c 65 24 54 79 70 65 5f  |.If "<File$Type_|
00000110  43 38 35 3e 22 20 3d 20  22 22 20 54 68 65 6e 20  |C85>" = "" Then |
00000120  53 65 74 20 46 69 6c 65  24 54 79 70 65 5f 43 38  |Set File$Type_C8|
00000130  35 20 22 4a 50 45 47 22  0a 49 66 20 22 3c 46 69  |5 "JPEG".If "<Fi|
00000140  6c 65 24 54 79 70 65 5f  46 45 42 3e 22 20 3d 20  |le$Type_FEB>" = |
00000150  22 22 20 54 68 65 6e 20  53 65 74 20 46 69 6c 65  |"" Then Set File|
00000160  24 54 79 70 65 5f 46 45  42 20 22 4f 62 65 79 22  |$Type_FEB "Obey"|
00000170  0a 49 66 20 22 3c 46 69  6c 65 24 54 79 70 65 5f  |.If "<File$Type_|
00000180  46 45 44 3e 22 20 3d 20  22 22 20 54 68 65 6e 20  |FED>" = "" Then |
00000190  53 65 74 20 46 69 6c 65  24 54 79 70 65 5f 46 45  |Set File$Type_FE|
000001a0  44 20 22 50 61 6c 65 74  74 65 22 0a 49 66 20 22  |D "Palette".If "|
000001b0  3c 46 69 6c 65 24 54 79  70 65 5f 46 46 35 3e 22  |<File$Type_FF5>"|
000001c0  20 3d 20 22 22 20 54 68  65 6e 20 53 65 74 20 46  | = "" Then Set F|
000001d0  69 6c 65 24 54 79 70 65  5f 46 46 35 20 22 50 6f  |ile$Type_FF5 "Po|
000001e0  53 63 72 69 70 74 22 0a  49 66 20 22 3c 46 69 6c  |Script".If "<Fil|
000001f0  65 24 54 79 70 65 5f 46  46 39 3e 22 20 3d 20 22  |e$Type_FF9>" = "|
00000200  22 20 54 68 65 6e 20 53  65 74 20 46 69 6c 65 24  |" Then Set File$|
00000210  54 79 70 65 5f 46 46 39  20 22 53 70 72 69 74 65  |Type_FF9 "Sprite|
00000220  22 0a 49 66 20 22 3c 46  69 6c 65 24 54 79 70 65  |".If "<File$Type|
00000230  5f 46 46 46 3e 22 20 3d  20 22 22 20 54 68 65 6e  |_FFF>" = "" Then|
00000240  20 53 65 74 20 46 69 6c  65 24 54 79 70 65 5f 46  | Set File$Type_F|
00000250  46 46 20 22 54 65 78 74  22 0a 0a 53 65 74 20 52  |FF "Text"..Set R|
00000260  65 73 45 64 24 4d 69 73  63 24 44 69 72 20 3c 4f  |esEd$Misc$Dir <O|
00000270  62 65 79 24 44 69 72 3e  0a 57 69 6d 70 53 6c 6f  |bey$Dir>.WimpSlo|
00000280  74 20 2d 6d 69 6e 20 31  32 38 6b 20 2d 6d 61 78  |t -min 128k -max|
00000290  20 31 32 38 6b 0a 52 75  6e 20 3c 52 65 73 45 64  | 128k.Run <ResEd|
000002a0  24 4d 69 73 63 24 44 69  72 3e 2e 21 52 75 6e 49  |$Misc$Dir>.!RunI|
000002b0  6d 61 67 65 20 25 2a 30                           |mage %*0|
000002b8