Home » Archimedes archive » Acorn User » AU 1997-01 B.adf » Regulars » StarInfo/Mossop/GOOoooooo

StarInfo/Mossop/GOOoooooo

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 1997-01 B.adf » Regulars
Filename: StarInfo/Mossop/GOOoooooo
Read OK:
File size: 021D bytes
Load address: 0000
Exec address: 0000
File contents
   10MODE 12
   20OFF
   30
   40ON ERROR PRINT REPORT$,ERL:END
   50
   60DIMx(10)
   70
   80a=RND(TIME)
   90
  100FORx=0TO15
  110COLOUR x,0,x*16,0
  120NEXT
  130
  140col=15
  150blues=15
  160time=TIME
  170
  180REPEAT
  190 FORt=1TO10
  200  x(t)=RND(1279)
  210 NEXT
  220 FORy=1024TO-1024STEP-4
  230  GCOL col
  240  FORt=1TO10
  250   x(t)+=(RND(3)-2)*2
  260   CIRCLE FILL x(t),y+((t-1)*100),5+(RND(3)-2)
  270  NEXT
  280  GCOL0
  290  PROCcolourcycle
  300  IF RND(6)=6THEN col+=1:IFcol=16THENcol=1
  310 NEXT
  320col=15
  330UNTIL FALSE
  340
  350DEF PROCcolourcycle
  360IFTIME>time THEN
  370blues=blues MOD15 +1
  380FORloop%=1TO15
  390colname%=(blues+loop%) MOD15 +1
  400COLOUR colname%,0,16*loop%,0
  410NEXT
  420time=TIME+6
  430ENDIF
  440ENDPROC

� 12
�

(� � � �$,�:�
2
<
�x(10)
F
P
a=�(�)
Z
d�x=0�15
n� x,0,x*16,0
x�
�
�
col=15
�blues=15
�
time=�
�
��
� �t=1�10
�  x(t)=�(1279)
� �
� �y=1024�-1024�-4
�  � col
�
  �t=1�10
�   x(t)+=(�(3)-2)*2
*   ȏ Ȑ x(t),y+((t-1)*100),5+(�(3)-2)
  �
  �0
"  �colourcycle
,$  � �(6)=6� col+=1:�col=16�col=1
6 �
@
col=15
J� �
T
^� �colourcycle
h
�>time �
rblues=blues �15 +1
|�loop%=1�15
�!colname%=(blues+loop%) �15 +1
�� colname%,0,16*loop%,0
��
�time=�+6
��
��
�
00000000  0d 00 0a 08 eb 20 31 32  0d 00 14 05 87 0d 00 1e  |..... 12........|
00000010  04 0d 00 28 10 ee 20 85  20 f1 20 f6 24 2c 9e 3a  |...(.. . . .$,.:|
00000020  e0 0d 00 32 04 0d 00 3c  0a de 78 28 31 30 29 0d  |...2...<..x(10).|
00000030  00 46 04 0d 00 50 0a 61  3d b3 28 91 29 0d 00 5a  |.F...P.a=.(.)..Z|
00000040  04 0d 00 64 0b e3 78 3d  30 b8 31 35 0d 00 6e 10  |...d..x=0.15..n.|
00000050  fb 20 78 2c 30 2c 78 2a  31 36 2c 30 0d 00 78 05  |. x,0,x*16,0..x.|
00000060  ed 0d 00 82 04 0d 00 8c  0a 63 6f 6c 3d 31 35 0d  |.........col=15.|
00000070  00 96 0c 62 6c 75 65 73  3d 31 35 0d 00 a0 0a 74  |...blues=15....t|
00000080  69 6d 65 3d 91 0d 00 aa  04 0d 00 b4 05 f5 0d 00  |ime=............|
00000090  be 0c 20 e3 74 3d 31 b8  31 30 0d 00 c8 12 20 20  |.. .t=1.10....  |
000000a0  78 28 74 29 3d b3 28 31  32 37 39 29 0d 00 d2 06  |x(t)=.(1279)....|
000000b0  20 ed 0d 00 dc 15 20 e3  79 3d 31 30 32 34 b8 2d  | ..... .y=1024.-|
000000c0  31 30 32 34 88 2d 34 0d  00 e6 0b 20 20 e6 20 63  |1024.-4....  . c|
000000d0  6f 6c 0d 00 f0 0d 20 20  e3 74 3d 31 b8 31 30 0d  |ol....  .t=1.10.|
000000e0  00 fa 17 20 20 20 78 28  74 29 2b 3d 28 b3 28 33  |...   x(t)+=(.(3|
000000f0  29 2d 32 29 2a 32 0d 01  04 2a 20 20 20 c8 8f 20  |)-2)*2...*   .. |
00000100  c8 90 20 78 28 74 29 2c  79 2b 28 28 74 2d 31 29  |.. x(t),y+((t-1)|
00000110  2a 31 30 30 29 2c 35 2b  28 b3 28 33 29 2d 32 29  |*100),5+(.(3)-2)|
00000120  0d 01 0e 07 20 20 ed 0d  01 18 08 20 20 e6 30 0d  |....  .....  .0.|
00000130  01 22 12 20 20 f2 63 6f  6c 6f 75 72 63 79 63 6c  |.".  .colourcycl|
00000140  65 0d 01 2c 24 20 20 e7  20 b3 28 36 29 3d 36 8c  |e..,$  . .(6)=6.|
00000150  20 63 6f 6c 2b 3d 31 3a  e7 63 6f 6c 3d 31 36 8c  | col+=1:.col=16.|
00000160  63 6f 6c 3d 31 0d 01 36  06 20 ed 0d 01 40 0a 63  |col=1..6. ...@.c|
00000170  6f 6c 3d 31 35 0d 01 4a  07 fd 20 a3 0d 01 54 04  |ol=15..J.. ...T.|
00000180  0d 01 5e 12 dd 20 f2 63  6f 6c 6f 75 72 63 79 63  |..^.. .colourcyc|
00000190  6c 65 0d 01 68 0d e7 91  3e 74 69 6d 65 20 8c 0d  |le..h...>time ..|
000001a0  01 72 16 62 6c 75 65 73  3d 62 6c 75 65 73 20 83  |.r.blues=blues .|
000001b0  31 35 20 2b 31 0d 01 7c  0f e3 6c 6f 6f 70 25 3d  |15 +1..|..loop%=|
000001c0  31 b8 31 35 0d 01 86 21  63 6f 6c 6e 61 6d 65 25  |1.15...!colname%|
000001d0  3d 28 62 6c 75 65 73 2b  6c 6f 6f 70 25 29 20 83  |=(blues+loop%) .|
000001e0  31 35 20 2b 31 0d 01 90  1b fb 20 63 6f 6c 6e 61  |15 +1..... colna|
000001f0  6d 65 25 2c 30 2c 31 36  2a 6c 6f 6f 70 25 2c 30  |me%,0,16*loop%,0|
00000200  0d 01 9a 05 ed 0d 01 a4  0c 74 69 6d 65 3d 91 2b  |.........time=.+|
00000210  36 0d 01 ae 05 cd 0d 01  b8 05 e1 0d ff           |6............|
0000021d