Home » Archimedes archive » Archimedes World » AW-1991-03.adf » !AWMar91/Goodies/ProgARM/!ReadMe

!AWMar91/Goodies/ProgARM/!ReadMe

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-1991-03.adf
Filename: !AWMar91/Goodies/ProgARM/!ReadMe
Read OK:
File size: 049A bytes
Load address: FFFFFF42
Exec address: E0FCD1BF
File contents
                            Programming The ARM
                            -------------------

                              By Paul Fellows


The example programs in this section demonstrate software protection
methods. The programs are described by the Programming The ARM article in
the March '91 issue of Archimedes World magazine. To run the programs select
the 'Open viewer' item from the disk menu. Now double-click on the Program1
or Program2 BASIC program icons.

When you run Program1, the computer will not respond to any mouse button
activity thus removing control of the desktop. To stop the program either
press <CTRL> and <ALT> together or press <ESCAPE>.

When Program2 has been run, you will lose control of the desktop. Type in
the word 'MyName' exactly as it is here with the correct lower and upper
case letters. This will enable you to control the desktop once more. If this
fails then reset the computer.

If you try to open the 'LookInHere' directory you will lose control of the
desktop and the pointer will become the hourglass. To gain control you need
to type 'MyName' in the same way as above. If this does not work then simply
reset the computer.
00000000  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
00000010  20 20 20 20 20 20 20 20  20 20 20 20 20 50 72 6f  |             Pro|
00000020  67 72 61 6d 6d 69 6e 67  20 54 68 65 20 41 52 4d  |gramming The ARM|
00000030  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
00000040  20 20 20 20 20 20 20 20  20 20 20 20 20 2d 2d 2d  |             ---|
00000050  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00000060  0a 0a 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |..              |
00000070  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000080  42 79 20 50 61 75 6c 20  46 65 6c 6c 6f 77 73 0a  |By Paul Fellows.|
00000090  0a 0a 54 68 65 20 65 78  61 6d 70 6c 65 20 70 72  |..The example pr|
000000a0  6f 67 72 61 6d 73 20 69  6e 20 74 68 69 73 20 73  |ograms in this s|
000000b0  65 63 74 69 6f 6e 20 64  65 6d 6f 6e 73 74 72 61  |ection demonstra|
000000c0  74 65 20 73 6f 66 74 77  61 72 65 20 70 72 6f 74  |te software prot|
000000d0  65 63 74 69 6f 6e 0a 6d  65 74 68 6f 64 73 2e 20  |ection.methods. |
000000e0  54 68 65 20 70 72 6f 67  72 61 6d 73 20 61 72 65  |The programs are|
000000f0  20 64 65 73 63 72 69 62  65 64 20 62 79 20 74 68  | described by th|
00000100  65 20 50 72 6f 67 72 61  6d 6d 69 6e 67 20 54 68  |e Programming Th|
00000110  65 20 41 52 4d 20 61 72  74 69 63 6c 65 20 69 6e  |e ARM article in|
00000120  0a 74 68 65 20 4d 61 72  63 68 20 27 39 31 20 69  |.the March '91 i|
00000130  73 73 75 65 20 6f 66 20  41 72 63 68 69 6d 65 64  |ssue of Archimed|
00000140  65 73 20 57 6f 72 6c 64  20 6d 61 67 61 7a 69 6e  |es World magazin|
00000150  65 2e 20 54 6f 20 72 75  6e 20 74 68 65 20 70 72  |e. To run the pr|
00000160  6f 67 72 61 6d 73 20 73  65 6c 65 63 74 0a 74 68  |ograms select.th|
00000170  65 20 27 4f 70 65 6e 20  76 69 65 77 65 72 27 20  |e 'Open viewer' |
00000180  69 74 65 6d 20 66 72 6f  6d 20 74 68 65 20 64 69  |item from the di|
00000190  73 6b 20 6d 65 6e 75 2e  20 4e 6f 77 20 64 6f 75  |sk menu. Now dou|
000001a0  62 6c 65 2d 63 6c 69 63  6b 20 6f 6e 20 74 68 65  |ble-click on the|
000001b0  20 50 72 6f 67 72 61 6d  31 0a 6f 72 20 50 72 6f  | Program1.or Pro|
000001c0  67 72 61 6d 32 20 42 41  53 49 43 20 70 72 6f 67  |gram2 BASIC prog|
000001d0  72 61 6d 20 69 63 6f 6e  73 2e 0a 0a 57 68 65 6e  |ram icons...When|
000001e0  20 79 6f 75 20 72 75 6e  20 50 72 6f 67 72 61 6d  | you run Program|
000001f0  31 2c 20 74 68 65 20 63  6f 6d 70 75 74 65 72 20  |1, the computer |
00000200  77 69 6c 6c 20 6e 6f 74  20 72 65 73 70 6f 6e 64  |will not respond|
00000210  20 74 6f 20 61 6e 79 20  6d 6f 75 73 65 20 62 75  | to any mouse bu|
00000220  74 74 6f 6e 0a 61 63 74  69 76 69 74 79 20 74 68  |tton.activity th|
00000230  75 73 20 72 65 6d 6f 76  69 6e 67 20 63 6f 6e 74  |us removing cont|
00000240  72 6f 6c 20 6f 66 20 74  68 65 20 64 65 73 6b 74  |rol of the deskt|
00000250  6f 70 2e 20 54 6f 20 73  74 6f 70 20 74 68 65 20  |op. To stop the |
00000260  70 72 6f 67 72 61 6d 20  65 69 74 68 65 72 0a 70  |program either.p|
00000270  72 65 73 73 20 3c 43 54  52 4c 3e 20 61 6e 64 20  |ress <CTRL> and |
00000280  3c 41 4c 54 3e 20 74 6f  67 65 74 68 65 72 20 6f  |<ALT> together o|
00000290  72 20 70 72 65 73 73 20  3c 45 53 43 41 50 45 3e  |r press <ESCAPE>|
000002a0  2e 0a 0a 57 68 65 6e 20  50 72 6f 67 72 61 6d 32  |...When Program2|
000002b0  20 68 61 73 20 62 65 65  6e 20 72 75 6e 2c 20 79  | has been run, y|
000002c0  6f 75 20 77 69 6c 6c 20  6c 6f 73 65 20 63 6f 6e  |ou will lose con|
000002d0  74 72 6f 6c 20 6f 66 20  74 68 65 20 64 65 73 6b  |trol of the desk|
000002e0  74 6f 70 2e 20 54 79 70  65 20 69 6e 0a 74 68 65  |top. Type in.the|
000002f0  20 77 6f 72 64 20 27 4d  79 4e 61 6d 65 27 20 65  | word 'MyName' e|
00000300  78 61 63 74 6c 79 20 61  73 20 69 74 20 69 73 20  |xactly as it is |
00000310  68 65 72 65 20 77 69 74  68 20 74 68 65 20 63 6f  |here with the co|
00000320  72 72 65 63 74 20 6c 6f  77 65 72 20 61 6e 64 20  |rrect lower and |
00000330  75 70 70 65 72 0a 63 61  73 65 20 6c 65 74 74 65  |upper.case lette|
00000340  72 73 2e 20 54 68 69 73  20 77 69 6c 6c 20 65 6e  |rs. This will en|
00000350  61 62 6c 65 20 79 6f 75  20 74 6f 20 63 6f 6e 74  |able you to cont|
00000360  72 6f 6c 20 74 68 65 20  64 65 73 6b 74 6f 70 20  |rol the desktop |
00000370  6f 6e 63 65 20 6d 6f 72  65 2e 20 49 66 20 74 68  |once more. If th|
00000380  69 73 0a 66 61 69 6c 73  20 74 68 65 6e 20 72 65  |is.fails then re|
00000390  73 65 74 20 74 68 65 20  63 6f 6d 70 75 74 65 72  |set the computer|
000003a0  2e 0a 0a 49 66 20 79 6f  75 20 74 72 79 20 74 6f  |...If you try to|
000003b0  20 6f 70 65 6e 20 74 68  65 20 27 4c 6f 6f 6b 49  | open the 'LookI|
000003c0  6e 48 65 72 65 27 20 64  69 72 65 63 74 6f 72 79  |nHere' directory|
000003d0  20 79 6f 75 20 77 69 6c  6c 20 6c 6f 73 65 20 63  | you will lose c|
000003e0  6f 6e 74 72 6f 6c 20 6f  66 20 74 68 65 0a 64 65  |ontrol of the.de|
000003f0  73 6b 74 6f 70 20 61 6e  64 20 74 68 65 20 70 6f  |sktop and the po|
00000400  69 6e 74 65 72 20 77 69  6c 6c 20 62 65 63 6f 6d  |inter will becom|
00000410  65 20 74 68 65 20 68 6f  75 72 67 6c 61 73 73 2e  |e the hourglass.|
00000420  20 54 6f 20 67 61 69 6e  20 63 6f 6e 74 72 6f 6c  | To gain control|
00000430  20 79 6f 75 20 6e 65 65  64 0a 74 6f 20 74 79 70  | you need.to typ|
00000440  65 20 27 4d 79 4e 61 6d  65 27 20 69 6e 20 74 68  |e 'MyName' in th|
00000450  65 20 73 61 6d 65 20 77  61 79 20 61 73 20 61 62  |e same way as ab|
00000460  6f 76 65 2e 20 49 66 20  74 68 69 73 20 64 6f 65  |ove. If this doe|
00000470  73 20 6e 6f 74 20 77 6f  72 6b 20 74 68 65 6e 20  |s not work then |
00000480  73 69 6d 70 6c 79 0a 72  65 73 65 74 20 74 68 65  |simply.reset the|
00000490  20 63 6f 6d 70 75 74 65  72 2e                    | computer.|
0000049a