Home » Archimedes archive » Acorn User » Acorn User - Updated Shareware Collection (1994).adf » Programs » TaskKill/Actions/Cache

TaskKill/Actions/Cache

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 - Updated Shareware Collection (1994).adf » Programs
Filename: TaskKill/Actions/Cache
Read OK:
File size: 0108 bytes
Load address: 0000
Exec address: 0000
File contents
| Defines ALT + keypad * to toggle the state of the ARM 3 cache
| it assumes that by default the cache is turned on

Set Cache$State Off
SetMacro Alias$TaskKillAction IF "<Cache$State>"="Off" THEN Set Cache$State On ELSE Set Cache$State Off|mCache <Cache$State>|m
00000000  7c 20 44 65 66 69 6e 65  73 20 41 4c 54 20 2b 20  || Defines ALT + |
00000010  6b 65 79 70 61 64 20 2a  20 74 6f 20 74 6f 67 67  |keypad * to togg|
00000020  6c 65 20 74 68 65 20 73  74 61 74 65 20 6f 66 20  |le the state of |
00000030  74 68 65 20 41 52 4d 20  33 20 63 61 63 68 65 0a  |the ARM 3 cache.|
00000040  7c 20 69 74 20 61 73 73  75 6d 65 73 20 74 68 61  || it assumes tha|
00000050  74 20 62 79 20 64 65 66  61 75 6c 74 20 74 68 65  |t by default the|
00000060  20 63 61 63 68 65 20 69  73 20 74 75 72 6e 65 64  | cache is turned|
00000070  20 6f 6e 0a 0a 53 65 74  20 43 61 63 68 65 24 53  | on..Set Cache$S|
00000080  74 61 74 65 20 4f 66 66  0a 53 65 74 4d 61 63 72  |tate Off.SetMacr|
00000090  6f 20 41 6c 69 61 73 24  54 61 73 6b 4b 69 6c 6c  |o Alias$TaskKill|
000000a0  41 63 74 69 6f 6e 20 49  46 20 22 3c 43 61 63 68  |Action IF "<Cach|
000000b0  65 24 53 74 61 74 65 3e  22 3d 22 4f 66 66 22 20  |e$State>"="Off" |
000000c0  54 48 45 4e 20 53 65 74  20 43 61 63 68 65 24 53  |THEN Set Cache$S|
000000d0  74 61 74 65 20 4f 6e 20  45 4c 53 45 20 53 65 74  |tate On ELSE Set|
000000e0  20 43 61 63 68 65 24 53  74 61 74 65 20 4f 66 66  | Cache$State Off|
000000f0  7c 6d 43 61 63 68 65 20  3c 43 61 63 68 65 24 53  ||mCache <Cache$S|
00000100  74 61 74 65 3e 7c 6d 0a                           |tate>|m.|
00000108