Home » Archimedes archive » Acorn User » Acorn User - Shareware Collection (1993).adf » Zap » !Zap/!Run

!Zap/!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 » Acorn User - Shareware Collection (1993).adf » Zap
Filename: !Zap/!Run
Read OK:
File size: 024B bytes
Load address: 0000
Exec address: 0000
File contents
|
| !Run file for Zap
| All code (c) D.H.Symes Dec 1991
|

Set Zap$Dir <Obey$Dir>
Set Zap$Temp "loaded"

| Claim text files
Set Alias$@RunType_FFF Run <Obey$Dir>.!Run %%*0

| Claim task windows and ensure -ctrl option set
Set TaskWindow$Server <Obey$Dir>
Set Alias$TaskWindow "%TaskWindow -ctrl "

| Load modules
RMEnsure ColourTrans 0.51 RMLoad System:Modules.Colours
RMEnsure Zap 0.81 SET Zap$Temp "notloaded"
IF Zap$Temp="loaded" THEN ERROR 0 Zap is already loaded
RMLoad <Zap$Dir>.Zap
RMLoad <Zap$Dir>.ZapBasic
RMLoad <Zap$Dir>.ZapCMode
Iconsprites <Zap$Dir>.!Sprites
Zap_Desktop %0
00000000  7c 0a 7c 20 21 52 75 6e  20 66 69 6c 65 20 66 6f  ||.| !Run file fo|
00000010  72 20 5a 61 70 0a 7c 20  41 6c 6c 20 63 6f 64 65  |r Zap.| All code|
00000020  20 28 63 29 20 44 2e 48  2e 53 79 6d 65 73 20 44  | (c) D.H.Symes D|
00000030  65 63 20 31 39 39 31 0a  7c 0a 0a 53 65 74 20 5a  |ec 1991.|..Set Z|
00000040  61 70 24 44 69 72 20 3c  4f 62 65 79 24 44 69 72  |ap$Dir <Obey$Dir|
00000050  3e 0a 53 65 74 20 5a 61  70 24 54 65 6d 70 20 22  |>.Set Zap$Temp "|
00000060  6c 6f 61 64 65 64 22 0a  0a 7c 20 43 6c 61 69 6d  |loaded"..| Claim|
00000070  20 74 65 78 74 20 66 69  6c 65 73 0a 53 65 74 20  | text files.Set |
00000080  41 6c 69 61 73 24 40 52  75 6e 54 79 70 65 5f 46  |Alias$@RunType_F|
00000090  46 46 20 52 75 6e 20 3c  4f 62 65 79 24 44 69 72  |FF Run <Obey$Dir|
000000a0  3e 2e 21 52 75 6e 20 25  25 2a 30 0a 0a 7c 20 43  |>.!Run %%*0..| C|
000000b0  6c 61 69 6d 20 74 61 73  6b 20 77 69 6e 64 6f 77  |laim task window|
000000c0  73 20 61 6e 64 20 65 6e  73 75 72 65 20 2d 63 74  |s and ensure -ct|
000000d0  72 6c 20 6f 70 74 69 6f  6e 20 73 65 74 0a 53 65  |rl option set.Se|
000000e0  74 20 54 61 73 6b 57 69  6e 64 6f 77 24 53 65 72  |t TaskWindow$Ser|
000000f0  76 65 72 20 3c 4f 62 65  79 24 44 69 72 3e 0a 53  |ver <Obey$Dir>.S|
00000100  65 74 20 41 6c 69 61 73  24 54 61 73 6b 57 69 6e  |et Alias$TaskWin|
00000110  64 6f 77 20 22 25 54 61  73 6b 57 69 6e 64 6f 77  |dow "%TaskWindow|
00000120  20 2d 63 74 72 6c 20 22  0a 0a 7c 20 4c 6f 61 64  | -ctrl "..| Load|
00000130  20 6d 6f 64 75 6c 65 73  0a 52 4d 45 6e 73 75 72  | modules.RMEnsur|
00000140  65 20 43 6f 6c 6f 75 72  54 72 61 6e 73 20 30 2e  |e ColourTrans 0.|
00000150  35 31 20 52 4d 4c 6f 61  64 20 53 79 73 74 65 6d  |51 RMLoad System|
00000160  3a 4d 6f 64 75 6c 65 73  2e 43 6f 6c 6f 75 72 73  |:Modules.Colours|
00000170  0a 52 4d 45 6e 73 75 72  65 20 5a 61 70 20 30 2e  |.RMEnsure Zap 0.|
00000180  38 31 20 53 45 54 20 5a  61 70 24 54 65 6d 70 20  |81 SET Zap$Temp |
00000190  22 6e 6f 74 6c 6f 61 64  65 64 22 0a 49 46 20 5a  |"notloaded".IF Z|
000001a0  61 70 24 54 65 6d 70 3d  22 6c 6f 61 64 65 64 22  |ap$Temp="loaded"|
000001b0  20 54 48 45 4e 20 45 52  52 4f 52 20 30 20 5a 61  | THEN ERROR 0 Za|
000001c0  70 20 69 73 20 61 6c 72  65 61 64 79 20 6c 6f 61  |p is already loa|
000001d0  64 65 64 0a 52 4d 4c 6f  61 64 20 3c 5a 61 70 24  |ded.RMLoad <Zap$|
000001e0  44 69 72 3e 2e 5a 61 70  0a 52 4d 4c 6f 61 64 20  |Dir>.Zap.RMLoad |
000001f0  3c 5a 61 70 24 44 69 72  3e 2e 5a 61 70 42 61 73  |<Zap$Dir>.ZapBas|
00000200  69 63 0a 52 4d 4c 6f 61  64 20 3c 5a 61 70 24 44  |ic.RMLoad <Zap$D|
00000210  69 72 3e 2e 5a 61 70 43  4d 6f 64 65 0a 49 63 6f  |ir>.ZapCMode.Ico|
00000220  6e 73 70 72 69 74 65 73  20 3c 5a 61 70 24 44 69  |nsprites <Zap$Di|
00000230  72 3e 2e 21 53 70 72 69  74 65 73 0a 5a 61 70 5f  |r>.!Sprites.Zap_|
00000240  44 65 73 6b 74 6f 70 20  25 30 0a                 |Desktop %0.|
0000024b