Home » Archimedes archive » Archimedes World » AW-1995-01-Disc2.adf » Disk2Jan95 » !AWJan95/Goodies/Event/!AppBuild/!Run

!AWJan95/Goodies/Event/!AppBuild/!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 » Archimedes World » AW-1995-01-Disc2.adf » Disk2Jan95
Filename: !AWJan95/Goodies/Event/!AppBuild/!Run
Read OK:
File size: 039E bytes
Load address: 0000
Exec address: 0000
File contents
|ForceCFS
| !Run Obey file for !AppBuild Application
Set AppBuild$Dir <Obey$Dir>
Set AppBuild$BasicFile <Obey$Dir>.!AppBuild
IF "<EvntShell$Path>"="" THEN ERROR 0 Shell resources not found
IF "<Wimp$ScrapDir>"="" THEN ERROR 0 Cannot find scrap directory
IconSprites <Obey$Dir>.!Sprites
Set Dummy$Path <Run$Path>,<Obey$Dir>.Resources.
Run Dummy:ResFind AppBuild
Unset Dummy$Path
WimpSlot -min 224K -max 224K
|Load any modules required now
RMEnsure InterfaceManager 2.00 RMLoad <EvntShell$Path>Interface
RMEnsure InterfaceManager 2.00 Error Couldn't load Interface module
RMEnsure MenuUtils 0.11 RMLoad <EvntShell$Path>MenuUtils
RMEnsure MenuUtils 0.11 Error 0 Error Couldn't load MenuUtils Module
RMEnsure MessageTrans 0.06 RMLoad <EvntShell$Path>MsgTrans
RMEnsure MessageTrans 0.06 Error Couldn't load MsgTrans Module
|And check that there is still enough memory!
WimpSlot -min 224K -max 224K
Run <AppBuild$Dir>.!AppBuild %*0
00000000  7c 46 6f 72 63 65 43 46  53 0a 7c 20 21 52 75 6e  ||ForceCFS.| !Run|
00000010  20 4f 62 65 79 20 66 69  6c 65 20 66 6f 72 20 21  | Obey file for !|
00000020  41 70 70 42 75 69 6c 64  20 41 70 70 6c 69 63 61  |AppBuild Applica|
00000030  74 69 6f 6e 0a 53 65 74  20 41 70 70 42 75 69 6c  |tion.Set AppBuil|
00000040  64 24 44 69 72 20 3c 4f  62 65 79 24 44 69 72 3e  |d$Dir <Obey$Dir>|
00000050  0a 53 65 74 20 41 70 70  42 75 69 6c 64 24 42 61  |.Set AppBuild$Ba|
00000060  73 69 63 46 69 6c 65 20  3c 4f 62 65 79 24 44 69  |sicFile <Obey$Di|
00000070  72 3e 2e 21 41 70 70 42  75 69 6c 64 0a 49 46 20  |r>.!AppBuild.IF |
00000080  22 3c 45 76 6e 74 53 68  65 6c 6c 24 50 61 74 68  |"<EvntShell$Path|
00000090  3e 22 3d 22 22 20 54 48  45 4e 20 45 52 52 4f 52  |>"="" THEN ERROR|
000000a0  20 30 20 53 68 65 6c 6c  20 72 65 73 6f 75 72 63  | 0 Shell resourc|
000000b0  65 73 20 6e 6f 74 20 66  6f 75 6e 64 0a 49 46 20  |es not found.IF |
000000c0  22 3c 57 69 6d 70 24 53  63 72 61 70 44 69 72 3e  |"<Wimp$ScrapDir>|
000000d0  22 3d 22 22 20 54 48 45  4e 20 45 52 52 4f 52 20  |"="" THEN ERROR |
000000e0  30 20 43 61 6e 6e 6f 74  20 66 69 6e 64 20 73 63  |0 Cannot find sc|
000000f0  72 61 70 20 64 69 72 65  63 74 6f 72 79 0a 49 63  |rap directory.Ic|
00000100  6f 6e 53 70 72 69 74 65  73 20 3c 4f 62 65 79 24  |onSprites <Obey$|
00000110  44 69 72 3e 2e 21 53 70  72 69 74 65 73 0a 53 65  |Dir>.!Sprites.Se|
00000120  74 20 44 75 6d 6d 79 24  50 61 74 68 20 3c 52 75  |t Dummy$Path <Ru|
00000130  6e 24 50 61 74 68 3e 2c  3c 4f 62 65 79 24 44 69  |n$Path>,<Obey$Di|
00000140  72 3e 2e 52 65 73 6f 75  72 63 65 73 2e 0a 52 75  |r>.Resources..Ru|
00000150  6e 20 44 75 6d 6d 79 3a  52 65 73 46 69 6e 64 20  |n Dummy:ResFind |
00000160  41 70 70 42 75 69 6c 64  0a 55 6e 73 65 74 20 44  |AppBuild.Unset D|
00000170  75 6d 6d 79 24 50 61 74  68 0a 57 69 6d 70 53 6c  |ummy$Path.WimpSl|
00000180  6f 74 20 2d 6d 69 6e 20  32 32 34 4b 20 2d 6d 61  |ot -min 224K -ma|
00000190  78 20 32 32 34 4b 0a 7c  4c 6f 61 64 20 61 6e 79  |x 224K.|Load any|
000001a0  20 6d 6f 64 75 6c 65 73  20 72 65 71 75 69 72 65  | modules require|
000001b0  64 20 6e 6f 77 0a 52 4d  45 6e 73 75 72 65 20 49  |d now.RMEnsure I|
000001c0  6e 74 65 72 66 61 63 65  4d 61 6e 61 67 65 72 20  |nterfaceManager |
000001d0  32 2e 30 30 20 52 4d 4c  6f 61 64 20 3c 45 76 6e  |2.00 RMLoad <Evn|
000001e0  74 53 68 65 6c 6c 24 50  61 74 68 3e 49 6e 74 65  |tShell$Path>Inte|
000001f0  72 66 61 63 65 0a 52 4d  45 6e 73 75 72 65 20 49  |rface.RMEnsure I|
00000200  6e 74 65 72 66 61 63 65  4d 61 6e 61 67 65 72 20  |nterfaceManager |
00000210  32 2e 30 30 20 45 72 72  6f 72 20 43 6f 75 6c 64  |2.00 Error Could|
00000220  6e 27 74 20 6c 6f 61 64  20 49 6e 74 65 72 66 61  |n't load Interfa|
00000230  63 65 20 6d 6f 64 75 6c  65 0a 52 4d 45 6e 73 75  |ce module.RMEnsu|
00000240  72 65 20 4d 65 6e 75 55  74 69 6c 73 20 30 2e 31  |re MenuUtils 0.1|
00000250  31 20 52 4d 4c 6f 61 64  20 3c 45 76 6e 74 53 68  |1 RMLoad <EvntSh|
00000260  65 6c 6c 24 50 61 74 68  3e 4d 65 6e 75 55 74 69  |ell$Path>MenuUti|
00000270  6c 73 0a 52 4d 45 6e 73  75 72 65 20 4d 65 6e 75  |ls.RMEnsure Menu|
00000280  55 74 69 6c 73 20 30 2e  31 31 20 45 72 72 6f 72  |Utils 0.11 Error|
00000290  20 30 20 45 72 72 6f 72  20 43 6f 75 6c 64 6e 27  | 0 Error Couldn'|
000002a0  74 20 6c 6f 61 64 20 4d  65 6e 75 55 74 69 6c 73  |t load MenuUtils|
000002b0  20 4d 6f 64 75 6c 65 0a  52 4d 45 6e 73 75 72 65  | Module.RMEnsure|
000002c0  20 4d 65 73 73 61 67 65  54 72 61 6e 73 20 30 2e  | MessageTrans 0.|
000002d0  30 36 20 52 4d 4c 6f 61  64 20 3c 45 76 6e 74 53  |06 RMLoad <EvntS|
000002e0  68 65 6c 6c 24 50 61 74  68 3e 4d 73 67 54 72 61  |hell$Path>MsgTra|
000002f0  6e 73 0a 52 4d 45 6e 73  75 72 65 20 4d 65 73 73  |ns.RMEnsure Mess|
00000300  61 67 65 54 72 61 6e 73  20 30 2e 30 36 20 45 72  |ageTrans 0.06 Er|
00000310  72 6f 72 20 43 6f 75 6c  64 6e 27 74 20 6c 6f 61  |ror Couldn't loa|
00000320  64 20 4d 73 67 54 72 61  6e 73 20 4d 6f 64 75 6c  |d MsgTrans Modul|
00000330  65 0a 7c 41 6e 64 20 63  68 65 63 6b 20 74 68 61  |e.|And check tha|
00000340  74 20 74 68 65 72 65 20  69 73 20 73 74 69 6c 6c  |t there is still|
00000350  20 65 6e 6f 75 67 68 20  6d 65 6d 6f 72 79 21 0a  | enough memory!.|
00000360  57 69 6d 70 53 6c 6f 74  20 2d 6d 69 6e 20 32 32  |WimpSlot -min 22|
00000370  34 4b 20 2d 6d 61 78 20  32 32 34 4b 0a 52 75 6e  |4K -max 224K.Run|
00000380  20 3c 41 70 70 42 75 69  6c 64 24 44 69 72 3e 2e  | <AppBuild$Dir>.|
00000390  21 41 70 70 42 75 69 6c  64 20 25 2a 30 0a        |!AppBuild %*0.|
0000039e