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

!AWJan95/Goodies/Event/!ShellDBug/!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/!ShellDBug/!Run
Read OK:
File size: 03EE bytes
Load address: 0000
Exec address: 0000
File contents
|ForceCFS
| !Run Obey file for ShellDBug Application
Set ShellDBug$Dir <Obey$Dir>
Set ShellDBug$BasicFile <Obey$Dir>.!ShellDBug
IF "<EvntShell$Path>"="" THEN ERROR 0 Shell resources not found
|Change the next line if you are using a different
|filetype number
|Set Alias$@RunType_200 Run <Obey$Dir>.!Run %%*0
IconSprites <Obey$Dir>.!Sprites
Run <Obey$Dir>.ChkSpr
WimpSlot -min 256K -max 256K
Set Dummy$Path <Run$Path>,<Obey$Dir>.Resources.
Run Dummy:ResFind ShellDBug
Unset Dummy$Path
|Load any modules required now
RMEnsure InterfaceManager 1.25 RMLoad <EvntShell$Path>Interface
RMEnsure InterfaceManager 1.25 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 <ShellDBug$Dir>.!ShellDBug %*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 53  | Obey file for S|
00000020  68 65 6c 6c 44 42 75 67  20 41 70 70 6c 69 63 61  |hellDBug Applica|
00000030  74 69 6f 6e 0a 53 65 74  20 53 68 65 6c 6c 44 42  |tion.Set ShellDB|
00000040  75 67 24 44 69 72 20 3c  4f 62 65 79 24 44 69 72  |ug$Dir <Obey$Dir|
00000050  3e 0a 53 65 74 20 53 68  65 6c 6c 44 42 75 67 24  |>.Set ShellDBug$|
00000060  42 61 73 69 63 46 69 6c  65 20 3c 4f 62 65 79 24  |BasicFile <Obey$|
00000070  44 69 72 3e 2e 21 53 68  65 6c 6c 44 42 75 67 0a  |Dir>.!ShellDBug.|
00000080  49 46 20 22 3c 45 76 6e  74 53 68 65 6c 6c 24 50  |IF "<EvntShell$P|
00000090  61 74 68 3e 22 3d 22 22  20 54 48 45 4e 20 45 52  |ath>"="" THEN ER|
000000a0  52 4f 52 20 30 20 53 68  65 6c 6c 20 72 65 73 6f  |ROR 0 Shell reso|
000000b0  75 72 63 65 73 20 6e 6f  74 20 66 6f 75 6e 64 0a  |urces not found.|
000000c0  7c 43 68 61 6e 67 65 20  74 68 65 20 6e 65 78 74  ||Change the next|
000000d0  20 6c 69 6e 65 20 69 66  20 79 6f 75 20 61 72 65  | line if you are|
000000e0  20 75 73 69 6e 67 20 61  20 64 69 66 66 65 72 65  | using a differe|
000000f0  6e 74 0a 7c 66 69 6c 65  74 79 70 65 20 6e 75 6d  |nt.|filetype num|
00000100  62 65 72 0a 7c 53 65 74  20 41 6c 69 61 73 24 40  |ber.|Set Alias$@|
00000110  52 75 6e 54 79 70 65 5f  32 30 30 20 52 75 6e 20  |RunType_200 Run |
00000120  3c 4f 62 65 79 24 44 69  72 3e 2e 21 52 75 6e 20  |<Obey$Dir>.!Run |
00000130  25 25 2a 30 0a 49 63 6f  6e 53 70 72 69 74 65 73  |%%*0.IconSprites|
00000140  20 3c 4f 62 65 79 24 44  69 72 3e 2e 21 53 70 72  | <Obey$Dir>.!Spr|
00000150  69 74 65 73 0a 52 75 6e  20 3c 4f 62 65 79 24 44  |ites.Run <Obey$D|
00000160  69 72 3e 2e 43 68 6b 53  70 72 0a 57 69 6d 70 53  |ir>.ChkSpr.WimpS|
00000170  6c 6f 74 20 2d 6d 69 6e  20 32 35 36 4b 20 2d 6d  |lot -min 256K -m|
00000180  61 78 20 32 35 36 4b 0a  53 65 74 20 44 75 6d 6d  |ax 256K.Set Dumm|
00000190  79 24 50 61 74 68 20 3c  52 75 6e 24 50 61 74 68  |y$Path <Run$Path|
000001a0  3e 2c 3c 4f 62 65 79 24  44 69 72 3e 2e 52 65 73  |>,<Obey$Dir>.Res|
000001b0  6f 75 72 63 65 73 2e 0a  52 75 6e 20 44 75 6d 6d  |ources..Run Dumm|
000001c0  79 3a 52 65 73 46 69 6e  64 20 53 68 65 6c 6c 44  |y:ResFind ShellD|
000001d0  42 75 67 0a 55 6e 73 65  74 20 44 75 6d 6d 79 24  |Bug.Unset Dummy$|
000001e0  50 61 74 68 0a 7c 4c 6f  61 64 20 61 6e 79 20 6d  |Path.|Load any m|
000001f0  6f 64 75 6c 65 73 20 72  65 71 75 69 72 65 64 20  |odules required |
00000200  6e 6f 77 0a 52 4d 45 6e  73 75 72 65 20 49 6e 74  |now.RMEnsure Int|
00000210  65 72 66 61 63 65 4d 61  6e 61 67 65 72 20 31 2e  |erfaceManager 1.|
00000220  32 35 20 52 4d 4c 6f 61  64 20 3c 45 76 6e 74 53  |25 RMLoad <EvntS|
00000230  68 65 6c 6c 24 50 61 74  68 3e 49 6e 74 65 72 66  |hell$Path>Interf|
00000240  61 63 65 0a 52 4d 45 6e  73 75 72 65 20 49 6e 74  |ace.RMEnsure Int|
00000250  65 72 66 61 63 65 4d 61  6e 61 67 65 72 20 31 2e  |erfaceManager 1.|
00000260  32 35 20 45 72 72 6f 72  20 43 6f 75 6c 64 6e 27  |25 Error Couldn'|
00000270  74 20 6c 6f 61 64 20 49  6e 74 65 72 66 61 63 65  |t load Interface|
00000280  20 6d 6f 64 75 6c 65 0a  52 4d 45 6e 73 75 72 65  | module.RMEnsure|
00000290  20 4d 65 6e 75 55 74 69  6c 73 20 30 2e 31 31 20  | MenuUtils 0.11 |
000002a0  52 4d 4c 6f 61 64 20 3c  45 76 6e 74 53 68 65 6c  |RMLoad <EvntShel|
000002b0  6c 24 50 61 74 68 3e 4d  65 6e 75 55 74 69 6c 73  |l$Path>MenuUtils|
000002c0  0a 52 4d 45 6e 73 75 72  65 20 4d 65 6e 75 55 74  |.RMEnsure MenuUt|
000002d0  69 6c 73 20 30 2e 31 31  20 45 72 72 6f 72 20 30  |ils 0.11 Error 0|
000002e0  20 45 72 72 6f 72 20 43  6f 75 6c 64 6e 27 74 20  | Error Couldn't |
000002f0  6c 6f 61 64 20 4d 65 6e  75 55 74 69 6c 73 20 4d  |load MenuUtils M|
00000300  6f 64 75 6c 65 0a 52 4d  45 6e 73 75 72 65 20 4d  |odule.RMEnsure M|
00000310  65 73 73 61 67 65 54 72  61 6e 73 20 30 2e 30 36  |essageTrans 0.06|
00000320  20 52 4d 4c 6f 61 64 20  3c 45 76 6e 74 53 68 65  | RMLoad <EvntShe|
00000330  6c 6c 24 50 61 74 68 3e  4d 73 67 54 72 61 6e 73  |ll$Path>MsgTrans|
00000340  0a 52 4d 45 6e 73 75 72  65 20 4d 65 73 73 61 67  |.RMEnsure Messag|
00000350  65 54 72 61 6e 73 20 30  2e 30 36 20 45 72 72 6f  |eTrans 0.06 Erro|
00000360  72 20 43 6f 75 6c 64 6e  27 74 20 6c 6f 61 64 20  |r Couldn't load |
00000370  4d 73 67 54 72 61 6e 73  20 4d 6f 64 75 6c 65 0a  |MsgTrans Module.|
00000380  7c 41 6e 64 20 63 68 65  63 6b 20 74 68 61 74 20  ||And check that |
00000390  74 68 65 72 65 20 69 73  20 73 74 69 6c 6c 20 65  |there is still e|
000003a0  6e 6f 75 67 68 20 6d 65  6d 6f 72 79 21 0a 57 69  |nough memory!.Wi|
000003b0  6d 70 53 6c 6f 74 20 2d  6d 69 6e 20 32 35 36 4b  |mpSlot -min 256K|
000003c0  20 2d 6d 61 78 20 32 35  36 4b 0a 52 75 6e 20 3c  | -max 256K.Run <|
000003d0  53 68 65 6c 6c 44 42 75  67 24 44 69 72 3e 2e 21  |ShellDBug$Dir>.!|
000003e0  53 68 65 6c 6c 44 42 75  67 20 25 2a 30 0a        |ShellDBug %*0.|
000003ee