Home » Archimedes archive » Acorn User » AU 1993-06.adf » !ArmCode_ArmCode » Arm5
Arm5
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 » AU 1993-06.adf » !ArmCode_ArmCode |
Filename: | Arm5 |
Read OK: | ✔ |
File size: | 0251 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM >Arm5 20REM By Dave Lawrence 30REM For 32-bit machines 40REM (c) BAU June 1993 50: 60MODE 9:OFF 70FOR c=1 TO 15 80 COLOUR c,RND,RND,RND 90NEXT 100DIM code 200 110FOR pass=0 TO 2 STEP 2:P%=code 120[OPT pass 130 LDR R0,seed 140 LDR R1,c1 150 LDR R2,c2 160 MLA R0,R1,R0,R2 170 MLA R3,R1,R0,R2 180 STR R3,seed 190 EOR R0,R0,R3,ROR #16 200 MOV PC,R14 210 220.c1 EQUD 1664525 230.c2 EQUD 907633393 240.seed EQUD TIME 250]NEXT 260REPEAT 270 rnd=USR(code) 280 GCOL USR(code) AND 15 290 POINT (USR(code) AND 255)*4,(USR(code) AND 255)*4 300UNTIL 0
� >Arm5 � By Dave Lawrence � For 32-bit machines (� (c) BAU June 1993 2: < � 9:� F� c=1 � 15 P � c,�,�,� Z� d� code 200 n� pass=0 � 2 � 2:P%=code x [OPT pass � LDR R0,seed � LDR R1,c1 � LDR R2,c2 � MLA R0,R1,R0,R2 � MLA R3,R1,R0,R2 � STR R3,seed �" � R0,R0,R3,ROR #16 � MOV PC,R14 � �.c1 EQUD 1664525 �.c2 EQUD 907633393 �.seed EQUD � �]� � rnd=�(code) � �(code) � 15 "+ Ȓ (�(code) � 255)*4,(�(code) � 255)*4 ,� 0 �
00000000 0d 00 0a 0f f4 20 20 20 20 20 3e 41 72 6d 35 0d |..... >Arm5.| 00000010 00 14 17 f4 20 42 79 20 20 44 61 76 65 20 4c 61 |.... By Dave La| 00000020 77 72 65 6e 63 65 0d 00 1e 19 f4 20 46 6f 72 20 |wrence..... For | 00000030 33 32 2d 62 69 74 20 6d 61 63 68 69 6e 65 73 0d |32-bit machines.| 00000040 00 28 17 f4 20 28 63 29 20 42 41 55 20 4a 75 6e |.(.. (c) BAU Jun| 00000050 65 20 31 39 39 33 0d 00 32 05 3a 0d 00 3c 09 eb |e 1993..2.:..<..| 00000060 20 39 3a 87 0d 00 46 0e e3 20 63 3d 31 20 b8 20 | 9:...F.. c=1 . | 00000070 31 35 0d 00 50 0e 20 fb 20 63 2c b3 2c b3 2c b3 |15..P. . c,.,.,.| 00000080 0d 00 5a 05 ed 0d 00 64 0e de 20 63 6f 64 65 20 |..Z....d.. code | 00000090 32 30 30 0d 00 6e 1c e3 20 70 61 73 73 3d 30 20 |200..n.. pass=0 | 000000a0 b8 20 32 20 88 20 32 3a 50 25 3d 63 6f 64 65 0d |. 2 . 2:P%=code.| 000000b0 00 78 0d 5b 4f 50 54 20 70 61 73 73 0d 00 82 1b |.x.[OPT pass....| 000000c0 20 20 20 20 20 20 20 20 4c 44 52 20 20 20 20 20 | LDR | 000000d0 52 30 2c 73 65 65 64 0d 00 8c 19 20 20 20 20 20 |R0,seed.... | 000000e0 20 20 20 4c 44 52 20 20 20 20 20 52 31 2c 63 31 | LDR R1,c1| 000000f0 0d 00 96 19 20 20 20 20 20 20 20 20 4c 44 52 20 |.... LDR | 00000100 20 20 20 20 52 32 2c 63 32 0d 00 a0 1f 20 20 20 | R2,c2.... | 00000110 20 20 20 20 20 4d 4c 41 20 20 20 20 20 52 30 2c | MLA R0,| 00000120 52 31 2c 52 30 2c 52 32 0d 00 aa 1f 20 20 20 20 |R1,R0,R2.... | 00000130 20 20 20 20 4d 4c 41 20 20 20 20 20 52 33 2c 52 | MLA R3,R| 00000140 31 2c 52 30 2c 52 32 0d 00 b4 1b 20 20 20 20 20 |1,R0,R2.... | 00000150 20 20 20 53 54 52 20 20 20 20 20 52 33 2c 73 65 | STR R3,se| 00000160 65 64 0d 00 be 22 20 20 20 20 20 20 20 20 82 20 |ed..." . | 00000170 20 20 20 20 52 30 2c 52 30 2c 52 33 2c 52 4f 52 | R0,R0,R3,ROR| 00000180 20 23 31 36 0d 00 c8 1a 20 20 20 20 20 20 20 20 | #16.... | 00000190 4d 4f 56 20 20 20 20 20 50 43 2c 52 31 34 0d 00 |MOV PC,R14..| 000001a0 d2 04 0d 00 dc 1b 2e 63 31 20 20 20 20 20 45 51 |.......c1 EQ| 000001b0 55 44 20 20 20 20 31 36 36 34 35 32 35 0d 00 e6 |UD 1664525...| 000001c0 1d 2e 63 32 20 20 20 20 20 45 51 55 44 20 20 20 |..c2 EQUD | 000001d0 20 39 30 37 36 33 33 33 39 33 0d 00 f0 15 2e 73 | 907633393.....s| 000001e0 65 65 64 20 20 20 45 51 55 44 20 20 20 20 91 0d |eed EQUD ..| 000001f0 00 fa 06 5d ed 0d 01 04 05 f5 0d 01 0e 10 20 72 |...].......... r| 00000200 6e 64 3d ba 28 63 6f 64 65 29 0d 01 18 13 20 e6 |nd=.(code).... .| 00000210 20 ba 28 63 6f 64 65 29 20 80 20 31 35 0d 01 22 | .(code) . 15.."| 00000220 2b 20 c8 92 20 28 ba 28 63 6f 64 65 29 20 80 20 |+ .. (.(code) . | 00000230 32 35 35 29 2a 34 2c 28 ba 28 63 6f 64 65 29 20 |255)*4,(.(code) | 00000240 80 20 32 35 35 29 2a 34 0d 01 2c 07 fd 20 30 0d |. 255)*4..,.. 0.| 00000250 ff |.| 00000251