Home » Personal collection » Acorn hard disk » files » BASIC » PER2

PER2

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 » Personal collection » Acorn hard disk » files » BASIC
Filename: PER2
Read OK:
File size: 00E3 bytes
Load address: 0000
Exec address: 0000
File contents
    1 REPEAT
   10ON ERROR MODE 3:END
   40MODE 1
   50VDU 19,1,RND(7);0;
   60VDU 29,638;398;
   70J1%=0
   80FOR K%=396 TO 240 STEP -40
   90REPEATJ2%=RND(3):UNTILJ2%<>J1%
  100J1%=J2%
  110GCOL 3,J1%
  120FOR I%=-K% TO K% STEP 4
  130MOVE K%,I%
  140DRAW -K%,-I%
  150MOVE I%,-K%
  160DRAW -I%,K%
  170NEXT
  180NEXT
  190UNTIL FALSE
 �


� � � 3:�
(� 1
2� 19,1,�(7);0;
<� 29,638;398;
F	J1%=0
P� K%=396 � 240 � -40
Z�J2%=�(3):�J2%<>J1%
dJ1%=J2%
n� 3,J1%
x� I%=-K% � K% � 4
�� K%,I%
�
� -K%,-I%
�� I%,-K%
�� -I%,K%
��
��
�� �
�
00000000  0d 00 01 06 20 f5 0d 00  0a 0d ee 20 85 20 eb 20  |.... ...... . . |
00000010  33 3a e0 0d 00 28 07 eb  20 31 0d 00 32 12 ef 20  |3:...(.. 1..2.. |
00000020  31 39 2c 31 2c b3 28 37  29 3b 30 3b 0d 00 3c 11  |19,1,.(7);0;..<.|
00000030  ef 20 32 39 2c 36 33 38  3b 33 39 38 3b 0d 00 46  |. 29,638;398;..F|
00000040  09 4a 31 25 3d 30 0d 00  50 18 e3 20 4b 25 3d 33  |.J1%=0..P.. K%=3|
00000050  39 36 20 b8 20 32 34 30  20 88 20 2d 34 30 0d 00  |96 . 240 . -40..|
00000060  5a 17 f5 4a 32 25 3d b3  28 33 29 3a fd 4a 32 25  |Z..J2%=.(3):.J2%|
00000070  3c 3e 4a 31 25 0d 00 64  0b 4a 31 25 3d 4a 32 25  |<>J1%..d.J1%=J2%|
00000080  0d 00 6e 0b e6 20 33 2c  4a 31 25 0d 00 78 15 e3  |..n.. 3,J1%..x..|
00000090  20 49 25 3d 2d 4b 25 20  b8 20 4b 25 20 88 20 34  | I%=-K% . K% . 4|
000000a0  0d 00 82 0b ec 20 4b 25  2c 49 25 0d 00 8c 0d df  |..... K%,I%.....|
000000b0  20 2d 4b 25 2c 2d 49 25  0d 00 96 0c ec 20 49 25  | -K%,-I%..... I%|
000000c0  2c 2d 4b 25 0d 00 a0 0c  df 20 2d 49 25 2c 4b 25  |,-K%..... -I%,K%|
000000d0  0d 00 aa 05 ed 0d 00 b4  05 ed 0d 00 be 07 fd 20  |............... |
000000e0  a3 0d ff                                          |...|
000000e3