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

!AWJan95/Goodies/Event/Examples/!Panes/!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/Examples/!Panes/!Run
Read OK:
File size: 0353 bytes
Load address: 0000
Exec address: 0000
File contents
| !Run Obey file for Panes Application
Set Panes$Dir <Obey$Dir>
Set Panes$BasicFile <Obey$Dir>.!Panes
IF "<EvntShell$Path>"="" THEN ERROR 0 Shell resources not found
IconSprites <Obey$Dir>.!Sprites
Run <Obey$Dir>.ChkSpr
Set Dummy$Path <Run$Path>,<Obey$Dir>.Resources.
Run Dummy:ResFind Panes
Unset Dummy$Path
WimpSlot -min 256K -max 256K
|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 256K -max 256K
Run <Panes$Dir>.!Panes %*0
00000000  7c 20 21 52 75 6e 20 4f  62 65 79 20 66 69 6c 65  || !Run Obey file|
00000010  20 66 6f 72 20 50 61 6e  65 73 20 41 70 70 6c 69  | for Panes Appli|
00000020  63 61 74 69 6f 6e 0d 53  65 74 20 50 61 6e 65 73  |cation.Set Panes|
00000030  24 44 69 72 20 3c 4f 62  65 79 24 44 69 72 3e 0d  |$Dir <Obey$Dir>.|
00000040  53 65 74 20 50 61 6e 65  73 24 42 61 73 69 63 46  |Set Panes$BasicF|
00000050  69 6c 65 20 3c 4f 62 65  79 24 44 69 72 3e 2e 21  |ile <Obey$Dir>.!|
00000060  50 61 6e 65 73 0d 49 46  20 22 3c 45 76 6e 74 53  |Panes.IF "<EvntS|
00000070  68 65 6c 6c 24 50 61 74  68 3e 22 3d 22 22 20 54  |hell$Path>"="" T|
00000080  48 45 4e 20 45 52 52 4f  52 20 30 20 53 68 65 6c  |HEN ERROR 0 Shel|
00000090  6c 20 72 65 73 6f 75 72  63 65 73 20 6e 6f 74 20  |l resources not |
000000a0  66 6f 75 6e 64 0d 49 63  6f 6e 53 70 72 69 74 65  |found.IconSprite|
000000b0  73 20 3c 4f 62 65 79 24  44 69 72 3e 2e 21 53 70  |s <Obey$Dir>.!Sp|
000000c0  72 69 74 65 73 0d 52 75  6e 20 3c 4f 62 65 79 24  |rites.Run <Obey$|
000000d0  44 69 72 3e 2e 43 68 6b  53 70 72 0d 53 65 74 20  |Dir>.ChkSpr.Set |
000000e0  44 75 6d 6d 79 24 50 61  74 68 20 3c 52 75 6e 24  |Dummy$Path <Run$|
000000f0  50 61 74 68 3e 2c 3c 4f  62 65 79 24 44 69 72 3e  |Path>,<Obey$Dir>|
00000100  2e 52 65 73 6f 75 72 63  65 73 2e 0d 52 75 6e 20  |.Resources..Run |
00000110  44 75 6d 6d 79 3a 52 65  73 46 69 6e 64 20 50 61  |Dummy:ResFind Pa|
00000120  6e 65 73 0d 55 6e 73 65  74 20 44 75 6d 6d 79 24  |nes.Unset Dummy$|
00000130  50 61 74 68 0d 57 69 6d  70 53 6c 6f 74 20 2d 6d  |Path.WimpSlot -m|
00000140  69 6e 20 32 35 36 4b 20  2d 6d 61 78 20 32 35 36  |in 256K -max 256|
00000150  4b 0d 7c 4c 6f 61 64 20  61 6e 79 20 6d 6f 64 75  |K.|Load any modu|
00000160  6c 65 73 20 72 65 71 75  69 72 65 64 20 6e 6f 77  |les required now|
00000170  0d 52 4d 45 6e 73 75 72  65 20 49 6e 74 65 72 66  |.RMEnsure Interf|
00000180  61 63 65 4d 61 6e 61 67  65 72 20 32 2e 30 30 20  |aceManager 2.00 |
00000190  52 4d 4c 6f 61 64 20 3c  45 76 6e 74 53 68 65 6c  |RMLoad <EvntShel|
000001a0  6c 24 50 61 74 68 3e 49  6e 74 65 72 66 61 63 65  |l$Path>Interface|
000001b0  0d 52 4d 45 6e 73 75 72  65 20 49 6e 74 65 72 66  |.RMEnsure Interf|
000001c0  61 63 65 4d 61 6e 61 67  65 72 20 32 2e 30 30 20  |aceManager 2.00 |
000001d0  45 72 72 6f 72 20 43 6f  75 6c 64 6e 27 74 20 6c  |Error Couldn't l|
000001e0  6f 61 64 20 49 6e 74 65  72 66 61 63 65 20 6d 6f  |oad Interface mo|
000001f0  64 75 6c 65 0d 52 4d 45  6e 73 75 72 65 20 4d 65  |dule.RMEnsure Me|
00000200  6e 75 55 74 69 6c 73 20  30 2e 31 31 20 52 4d 4c  |nuUtils 0.11 RML|
00000210  6f 61 64 20 3c 45 76 6e  74 53 68 65 6c 6c 24 50  |oad <EvntShell$P|
00000220  61 74 68 3e 4d 65 6e 75  55 74 69 6c 73 0d 52 4d  |ath>MenuUtils.RM|
00000230  45 6e 73 75 72 65 20 4d  65 6e 75 55 74 69 6c 73  |Ensure MenuUtils|
00000240  20 30 2e 31 31 20 45 72  72 6f 72 20 30 20 45 72  | 0.11 Error 0 Er|
00000250  72 6f 72 20 43 6f 75 6c  64 6e 27 74 20 6c 6f 61  |ror Couldn't loa|
00000260  64 20 4d 65 6e 75 55 74  69 6c 73 20 4d 6f 64 75  |d MenuUtils Modu|
00000270  6c 65 0d 52 4d 45 6e 73  75 72 65 20 4d 65 73 73  |le.RMEnsure Mess|
00000280  61 67 65 54 72 61 6e 73  20 30 2e 30 36 20 52 4d  |ageTrans 0.06 RM|
00000290  4c 6f 61 64 20 3c 45 76  6e 74 53 68 65 6c 6c 24  |Load <EvntShell$|
000002a0  50 61 74 68 3e 4d 73 67  54 72 61 6e 73 0d 52 4d  |Path>MsgTrans.RM|
000002b0  45 6e 73 75 72 65 20 4d  65 73 73 61 67 65 54 72  |Ensure MessageTr|
000002c0  61 6e 73 20 30 2e 30 36  20 45 72 72 6f 72 20 43  |ans 0.06 Error C|
000002d0  6f 75 6c 64 6e 27 74 20  6c 6f 61 64 20 4d 73 67  |ouldn't load Msg|
000002e0  54 72 61 6e 73 20 4d 6f  64 75 6c 65 0d 7c 41 6e  |Trans Module.|An|
000002f0  64 20 63 68 65 63 6b 20  74 68 61 74 20 74 68 65  |d check that the|
00000300  72 65 20 69 73 20 73 74  69 6c 6c 20 65 6e 6f 75  |re is still enou|
00000310  67 68 20 6d 65 6d 6f 72  79 21 0d 57 69 6d 70 53  |gh memory!.WimpS|
00000320  6c 6f 74 20 2d 6d 69 6e  20 32 35 36 4b 20 2d 6d  |lot -min 256K -m|
00000330  61 78 20 32 35 36 4b 0d  52 75 6e 20 3c 50 61 6e  |ax 256K.Run <Pan|
00000340  65 73 24 44 69 72 3e 2e  21 50 61 6e 65 73 20 25  |es$Dir>.!Panes %|
00000350  2a 30 0d                                          |*0.|
00000353