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

interface/demo/!Interface/!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: interface/demo/!Interface/!Run
Read OK:
File size: 019F bytes
Load address: 0000
Exec address: 0000
File contents
IconSprites <Obey$Dir>.!Sprites
Set Interface$Dir <Obey$Dir>

if "<System$Path>" = "" then Error 0 System resources cannot be found

RMEnsure SharedCLibrary 0 RMLoad System:modules.CLib
RMEnsure InterfaceManager 1.25 RMLoad <Obey$Dir>.Interface
RMEnsure InterfaceManager 1.25 Error Couldn't load Interface module
WimpSlot -min 100k -max 100k
*iconsprites <interface$dir>.sprites
Run "<Interface$Dir>.!RunImage" %*0
00000000  49 63 6f 6e 53 70 72 69  74 65 73 20 3c 4f 62 65  |IconSprites <Obe|
00000010  79 24 44 69 72 3e 2e 21  53 70 72 69 74 65 73 0a  |y$Dir>.!Sprites.|
00000020  53 65 74 20 49 6e 74 65  72 66 61 63 65 24 44 69  |Set Interface$Di|
00000030  72 20 3c 4f 62 65 79 24  44 69 72 3e 0a 0a 69 66  |r <Obey$Dir>..if|
00000040  20 22 3c 53 79 73 74 65  6d 24 50 61 74 68 3e 22  | "<System$Path>"|
00000050  20 3d 20 22 22 20 74 68  65 6e 20 45 72 72 6f 72  | = "" then Error|
00000060  20 30 20 53 79 73 74 65  6d 20 72 65 73 6f 75 72  | 0 System resour|
00000070  63 65 73 20 63 61 6e 6e  6f 74 20 62 65 20 66 6f  |ces cannot be fo|
00000080  75 6e 64 0a 0a 52 4d 45  6e 73 75 72 65 20 53 68  |und..RMEnsure Sh|
00000090  61 72 65 64 43 4c 69 62  72 61 72 79 20 30 20 52  |aredCLibrary 0 R|
000000a0  4d 4c 6f 61 64 20 53 79  73 74 65 6d 3a 6d 6f 64  |MLoad System:mod|
000000b0  75 6c 65 73 2e 43 4c 69  62 0a 52 4d 45 6e 73 75  |ules.CLib.RMEnsu|
000000c0  72 65 20 49 6e 74 65 72  66 61 63 65 4d 61 6e 61  |re InterfaceMana|
000000d0  67 65 72 20 31 2e 32 35  20 52 4d 4c 6f 61 64 20  |ger 1.25 RMLoad |
000000e0  3c 4f 62 65 79 24 44 69  72 3e 2e 49 6e 74 65 72  |<Obey$Dir>.Inter|
000000f0  66 61 63 65 0a 52 4d 45  6e 73 75 72 65 20 49 6e  |face.RMEnsure In|
00000100  74 65 72 66 61 63 65 4d  61 6e 61 67 65 72 20 31  |terfaceManager 1|
00000110  2e 32 35 20 45 72 72 6f  72 20 43 6f 75 6c 64 6e  |.25 Error Couldn|
00000120  27 74 20 6c 6f 61 64 20  49 6e 74 65 72 66 61 63  |'t load Interfac|
00000130  65 20 6d 6f 64 75 6c 65  0a 57 69 6d 70 53 6c 6f  |e module.WimpSlo|
00000140  74 20 2d 6d 69 6e 20 31  30 30 6b 20 2d 6d 61 78  |t -min 100k -max|
00000150  20 31 30 30 6b 0a 2a 69  63 6f 6e 73 70 72 69 74  | 100k.*iconsprit|
00000160  65 73 20 3c 69 6e 74 65  72 66 61 63 65 24 64 69  |es <interface$di|
00000170  72 3e 2e 73 70 72 69 74  65 73 0a 52 75 6e 20 22  |r>.sprites.Run "|
00000180  3c 49 6e 74 65 72 66 61  63 65 24 44 69 72 3e 2e  |<Interface$Dir>.|
00000190  21 52 75 6e 49 6d 61 67  65 22 20 25 2a 30 0a     |!RunImage" %*0.|
0000019f