Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199312.adf » !StarInfo_StarInfo » Vibe/RainVGA

Vibe/RainVGA

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 » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199312.adf » !StarInfo_StarInfo
Filename: Vibe/RainVGA
Read OK:
File size: 01DD bytes
Load address: 0000
Exec address: 0000
File contents
   10REM    >RainVGA
   20REM By  Jan Vibe
   30REM For 32-bit machines
   40REM (c) BAU December 1993
   50:
   60MODE 28:MODE 27:OFF
   70FOR i=1 TO 15
   80 COLOUR i,i*&11,i*&11,i*&11
   90NEXT
  100max=20
  110DIM x(max),y(max),z(max),w(max),d(max)
  120b=1
  130REPEAT
  140 WAIT
  150 SYS 6,112,b
  160 SYS 6,113,3-b
  170 b=3-b
  180 CLS
  190 FOR i=1 TO max
  200  z(i)=z(i)+4
  210  IF z(i)>w(i) THEN
  220   x(i)=RND(1280)
  230   y(i)=RND(960)
  240   w(i)=RND(120)+30
  250   d(i)=w(i)/15+1
  260   z(i)=0
  270  ENDIF
  280  GCOL 16-z(i)/d(i)
  290  CIRCLE x(i),y(i),z(i)
  300 NEXT
  310UNTIL0

�    >RainVGA
� By  Jan Vibe
� For 32-bit machines
(� (c) BAU December 1993
2:
<� 28:� 27:�
F� i=1 � 15
P � i,i*&11,i*&11,i*&11
Z�
d
max=20
n(� x(max),y(max),z(max),w(max),d(max)
xb=1
��
� Ȗ
� ș 6,112,b
� ș 6,113,3-b
�
 b=3-b
� �
� � i=1 � max
�  z(i)=z(i)+4
�  � z(i)>w(i) �
�   x(i)=�(1280)
�   y(i)=�(960)
�   w(i)=�(120)+30
�   d(i)=w(i)/15+1

   z(i)=0
  �
  � 16-z(i)/d(i)
"  ȏ x(i),y(i),z(i)
, �
6�0
�
00000000  0d 00 0a 11 f4 20 20 20  20 3e 52 61 69 6e 56 47  |.....    >RainVG|
00000010  41 0d 00 14 12 f4 20 42  79 20 20 4a 61 6e 20 56  |A..... By  Jan V|
00000020  69 62 65 0d 00 1e 19 f4  20 46 6f 72 20 33 32 2d  |ibe..... For 32-|
00000030  62 69 74 20 6d 61 63 68  69 6e 65 73 0d 00 28 1b  |bit machines..(.|
00000040  f4 20 28 63 29 20 42 41  55 20 44 65 63 65 6d 62  |. (c) BAU Decemb|
00000050  65 72 20 31 39 39 33 0d  00 32 05 3a 0d 00 3c 0f  |er 1993..2.:..<.|
00000060  eb 20 32 38 3a eb 20 32  37 3a 87 0d 00 46 0e e3  |. 28:. 27:...F..|
00000070  20 69 3d 31 20 b8 20 31  35 0d 00 50 1a 20 fb 20  | i=1 . 15..P. . |
00000080  69 2c 69 2a 26 31 31 2c  69 2a 26 31 31 2c 69 2a  |i,i*&11,i*&11,i*|
00000090  26 31 31 0d 00 5a 05 ed  0d 00 64 0a 6d 61 78 3d  |&11..Z....d.max=|
000000a0  32 30 0d 00 6e 28 de 20  78 28 6d 61 78 29 2c 79  |20..n(. x(max),y|
000000b0  28 6d 61 78 29 2c 7a 28  6d 61 78 29 2c 77 28 6d  |(max),z(max),w(m|
000000c0  61 78 29 2c 64 28 6d 61  78 29 0d 00 78 07 62 3d  |ax),d(max)..x.b=|
000000d0  31 0d 00 82 05 f5 0d 00  8c 07 20 c8 96 0d 00 96  |1......... .....|
000000e0  0f 20 c8 99 20 36 2c 31  31 32 2c 62 0d 00 a0 11  |. .. 6,112,b....|
000000f0  20 c8 99 20 36 2c 31 31  33 2c 33 2d 62 0d 00 aa  | .. 6,113,3-b...|
00000100  0a 20 62 3d 33 2d 62 0d  00 b4 06 20 db 0d 00 be  |. b=3-b.... ....|
00000110  10 20 e3 20 69 3d 31 20  b8 20 6d 61 78 0d 00 c8  |. . i=1 . max...|
00000120  11 20 20 7a 28 69 29 3d  7a 28 69 29 2b 34 0d 00  |.  z(i)=z(i)+4..|
00000130  d2 13 20 20 e7 20 7a 28  69 29 3e 77 28 69 29 20  |..  . z(i)>w(i) |
00000140  8c 0d 00 dc 13 20 20 20  78 28 69 29 3d b3 28 31  |.....   x(i)=.(1|
00000150  32 38 30 29 0d 00 e6 12  20 20 20 79 28 69 29 3d  |280)....   y(i)=|
00000160  b3 28 39 36 30 29 0d 00  f0 15 20 20 20 77 28 69  |.(960)....   w(i|
00000170  29 3d b3 28 31 32 30 29  2b 33 30 0d 00 fa 15 20  |)=.(120)+30.... |
00000180  20 20 64 28 69 29 3d 77  28 69 29 2f 31 35 2b 31  |  d(i)=w(i)/15+1|
00000190  0d 01 04 0d 20 20 20 7a  28 69 29 3d 30 0d 01 0e  |....   z(i)=0...|
000001a0  07 20 20 cd 0d 01 18 14  20 20 e6 20 31 36 2d 7a  |.  .....  . 16-z|
000001b0  28 69 29 2f 64 28 69 29  0d 01 22 17 20 20 c8 8f  |(i)/d(i)..".  ..|
000001c0  20 78 28 69 29 2c 79 28  69 29 2c 7a 28 69 29 0d  | x(i),y(i),z(i).|
000001d0  01 2c 06 20 ed 0d 01 36  06 fd 30 0d ff           |.,. ...6..0..|
000001dd