Home » Archimedes archive » Acorn User » AU 1996-06.adf » Regulars » StarInfo/Jerome/Mossop/Shimmer

StarInfo/Jerome/Mossop/Shimmer

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 1996-06.adf » Regulars
Filename: StarInfo/Jerome/Mossop/Shimmer
Read OK:
File size: 027C bytes
Load address: 0000
Exec address: 0000
File contents
   10REM                              ** Shimmer **
   20REM                         ** By Daniel Mossop **
   30
   40ON ERROR PRINT REPORT$;" at line ";ERL:END
   50
   60s=RND(TIME)
   70time=TIME
   80blues=0
   90wait=0
  100MODE12:OFF
  110PROCsplash
  120colourstart=blues
  130FOR y=1TO1024STEP4
  140n=100
  150FOR x=1TO1279STEP2
  160IF n>95 THEN GCOL RND(15)
  170IF n>30 AND n<94 THEN s=POINT(x-2,y):n=RND(1):IFn>.5THEN s=s MOD15 +1:GCOL s
  180IF n<31 THEN s=POINT(x,y-4):n=RND(1):IFn>.5THEN s=s MOD15 +1:GCOL s
  190POINT x,y
  200IFy>1THEN n=RND(100)
  210PROCsplash
  220NEXT
  230NEXT
  240REPEAT
  250PROCsplash
  260UNTIL FALSE
  270END
  280
  290DEF PROCsplash
  300IFTIME>time THEN
  310blues=blues MOD15 +1
  311WAIT
  320FORloop%=1TO15
  330colname%=(blues+loop%) MOD15 +1
  340COLOUR colname%,16*loop%,16*loop%,255
  350NEXT
  360time=TIME+6
  370ENDIF
  380ENDPROC

0�                              ** Shimmer **
4�                         ** By Daniel Mossop **

(� � � �$;" at line ";�:�
2
<
s=�(�)
F
time=�
Pblues=0
Z
wait=0
d	�12:�
n�splash
xcolourstart=blues
�� y=1�1024�4
�	n=100
�� x=1�1279�2
�� n>95 � � �(15)
�:� n>30 � n<94 � s=�x-2,y):n=�(1):�n>.5� s=s �15 +1:� s
�3� n<31 � s=�x,y-4):n=�(1):�n>.5� s=s �15 +1:� s
�
Ȓ x,y
��y>1� n=�(100)
��splash
��
��
��
��splash
� �
�

"
� �splash
,
�>time �
6blues=blues �15 +1
7Ȗ
@�loop%=1�15
J!colname%=(blues+loop%) �15 +1
T$� colname%,16*loop%,16*loop%,255
^�
htime=�+6
r�
|�
�
00000000  0d 00 0a 30 f4 20 20 20  20 20 20 20 20 20 20 20  |...0.           |
00000010  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000020  20 20 20 2a 2a 20 53 68  69 6d 6d 65 72 20 2a 2a  |   ** Shimmer **|
00000030  0d 00 14 34 f4 20 20 20  20 20 20 20 20 20 20 20  |...4.           |
00000040  20 20 20 20 20 20 20 20  20 20 20 20 20 20 2a 2a  |              **|
00000050  20 42 79 20 44 61 6e 69  65 6c 20 4d 6f 73 73 6f  | By Daniel Mosso|
00000060  70 20 2a 2a 0d 00 1e 04  0d 00 28 1c ee 20 85 20  |p **......(.. . |
00000070  f1 20 f6 24 3b 22 20 61  74 20 6c 69 6e 65 20 22  |. .$;" at line "|
00000080  3b 9e 3a e0 0d 00 32 04  0d 00 3c 0a 73 3d b3 28  |;.:...2...<.s=.(|
00000090  91 29 0d 00 46 0a 74 69  6d 65 3d 91 0d 00 50 0b  |.)..F.time=...P.|
000000a0  62 6c 75 65 73 3d 30 0d  00 5a 0a 77 61 69 74 3d  |blues=0..Z.wait=|
000000b0  30 0d 00 64 09 eb 31 32  3a 87 0d 00 6e 0b f2 73  |0..d..12:...n..s|
000000c0  70 6c 61 73 68 0d 00 78  15 63 6f 6c 6f 75 72 73  |plash..x.colours|
000000d0  74 61 72 74 3d 62 6c 75  65 73 0d 00 82 10 e3 20  |tart=blues..... |
000000e0  79 3d 31 b8 31 30 32 34  88 34 0d 00 8c 09 6e 3d  |y=1.1024.4....n=|
000000f0  31 30 30 0d 00 96 10 e3  20 78 3d 31 b8 31 32 37  |100..... x=1.127|
00000100  39 88 32 0d 00 a0 14 e7  20 6e 3e 39 35 20 8c 20  |9.2..... n>95 . |
00000110  e6 20 b3 28 31 35 29 0d  00 aa 3a e7 20 6e 3e 33  |. .(15)...:. n>3|
00000120  30 20 80 20 6e 3c 39 34  20 8c 20 73 3d b0 78 2d  |0 . n<94 . s=.x-|
00000130  32 2c 79 29 3a 6e 3d b3  28 31 29 3a e7 6e 3e 2e  |2,y):n=.(1):.n>.|
00000140  35 8c 20 73 3d 73 20 83  31 35 20 2b 31 3a e6 20  |5. s=s .15 +1:. |
00000150  73 0d 00 b4 33 e7 20 6e  3c 33 31 20 8c 20 73 3d  |s...3. n<31 . s=|
00000160  b0 78 2c 79 2d 34 29 3a  6e 3d b3 28 31 29 3a e7  |.x,y-4):n=.(1):.|
00000170  6e 3e 2e 35 8c 20 73 3d  73 20 83 31 35 20 2b 31  |n>.5. s=s .15 +1|
00000180  3a e6 20 73 0d 00 be 0a  c8 92 20 78 2c 79 0d 00  |:. s...... x,y..|
00000190  c8 12 e7 79 3e 31 8c 20  6e 3d b3 28 31 30 30 29  |...y>1. n=.(100)|
000001a0  0d 00 d2 0b f2 73 70 6c  61 73 68 0d 00 dc 05 ed  |.....splash.....|
000001b0  0d 00 e6 05 ed 0d 00 f0  05 f5 0d 00 fa 0b f2 73  |...............s|
000001c0  70 6c 61 73 68 0d 01 04  07 fd 20 a3 0d 01 0e 05  |plash..... .....|
000001d0  e0 0d 01 18 04 0d 01 22  0d dd 20 f2 73 70 6c 61  |.......".. .spla|
000001e0  73 68 0d 01 2c 0d e7 91  3e 74 69 6d 65 20 8c 0d  |sh..,...>time ..|
000001f0  01 36 16 62 6c 75 65 73  3d 62 6c 75 65 73 20 83  |.6.blues=blues .|
00000200  31 35 20 2b 31 0d 01 37  06 c8 96 0d 01 40 0f e3  |15 +1..7.....@..|
00000210  6c 6f 6f 70 25 3d 31 b8  31 35 0d 01 4a 21 63 6f  |loop%=1.15..J!co|
00000220  6c 6e 61 6d 65 25 3d 28  62 6c 75 65 73 2b 6c 6f  |lname%=(blues+lo|
00000230  6f 70 25 29 20 83 31 35  20 2b 31 0d 01 54 24 fb  |op%) .15 +1..T$.|
00000240  20 63 6f 6c 6e 61 6d 65  25 2c 31 36 2a 6c 6f 6f  | colname%,16*loo|
00000250  70 25 2c 31 36 2a 6c 6f  6f 70 25 2c 32 35 35 0d  |p%,16*loop%,255.|
00000260  01 5e 05 ed 0d 01 68 0c  74 69 6d 65 3d 91 2b 36  |.^....h.time=.+6|
00000270  0d 01 72 05 cd 0d 01 7c  05 e1 0d ff              |..r....|....|
0000027c