Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199801_2.adf » Regulars2 » StarInfo/Fletcher/Mellor/Turbine1

StarInfo/Fletcher/Mellor/Turbine1

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_199801_2.adf » Regulars2
Filename: StarInfo/Fletcher/Mellor/Turbine1
Read OK:
File size: 021B bytes
Load address: 0000
Exec address: 0000
File contents
   10REM >Turbine1
   20REM By Philip Mellor
   30
   40MODE20:OFF
   50FOR I=0 TO 15
   60COLOUR I,I*17,I*17,I*17
   70NEXT
   80c=0:as=0:ang=0
   90ORIGIN 640,512
  100FOR r=800 TO 0 STEP -2
  110 GCOL c:c+=1:IF c>15 c=0
  120 xr=r+SIN(as)*20
  130 yr=r+COS(as)*20
  140 as+=0.1
  150 a=ang:ang+=7
  160 x1=xr*SIN RAD(a)
  170 y1=xr*COS RAD(a)
  180 x2=xr*SIN RAD(a+90)
  190 y2=xr*COS RAD(a+90)
  200 x3=xr*SIN RAD(a+180)
  210 y3=xr*COS RAD(a+180)
  220 x4=xr*SIN RAD(a+270)
  230 y4=xr*COS RAD(a+270)
  240 MOVE x1,y1:MOVE x2,y2:PLOT 85,x3,y3
  250 MOVE x4,y4:PLOT 85,x1,y1
  260NEXT
  270A=1
  280REPEAT
  290FOR I=15TO0STEP-1
  300COLOUR A,I*17,I*17,I*17
  310A+=1MOD15
  320NEXT
  330A+=1MOD15
  340WAIT
  350UNTIL0

� >Turbine1
� By Philip Mellor

(	�20:�
2� I=0 � 15
<� I,I*17,I*17,I*17
F�
Pc=0:as=0:ang=0
Zȑ 640,512
d� r=800 � 0 � -2
n � c:c+=1:� c>15 c=0
x xr=r+�(as)*20
� yr=r+�(as)*20
� as+=0.1
� a=ang:ang+=7
� x1=xr*� �(a)
� y1=xr*� �(a)
� x2=xr*� �(a+90)
� y2=xr*� �(a+90)
� x3=xr*� �(a+180)
� y3=xr*� �(a+180)
� x4=xr*� �(a+270)
� y4=xr*� �(a+270)
� � x1,y1:� x2,y2:� 85,x3,y3
� � x4,y4:� 85,x1,y1
�
A=1
�
"� I=15�0�-1
,� A,I*17,I*17,I*17
6A+=1�15
@�
JA+=1�15
TȖ
^�0
�
00000000  0d 00 0a 0f f4 20 3e 54  75 72 62 69 6e 65 31 0d  |..... >Turbine1.|
00000010  00 14 16 f4 20 42 79 20  50 68 69 6c 69 70 20 4d  |.... By Philip M|
00000020  65 6c 6c 6f 72 0d 00 1e  04 0d 00 28 09 eb 32 30  |ellor......(..20|
00000030  3a 87 0d 00 32 0e e3 20  49 3d 30 20 b8 20 31 35  |:...2.. I=0 . 15|
00000040  0d 00 3c 16 fb 20 49 2c  49 2a 31 37 2c 49 2a 31  |..<.. I,I*17,I*1|
00000050  37 2c 49 2a 31 37 0d 00  46 05 ed 0d 00 50 12 63  |7,I*17..F....P.c|
00000060  3d 30 3a 61 73 3d 30 3a  61 6e 67 3d 30 0d 00 5a  |=0:as=0:ang=0..Z|
00000070  0e c8 91 20 36 34 30 2c  35 31 32 0d 00 64 14 e3  |... 640,512..d..|
00000080  20 72 3d 38 30 30 20 b8  20 30 20 88 20 2d 32 0d  | r=800 . 0 . -2.|
00000090  00 6e 18 20 e6 20 63 3a  63 2b 3d 31 3a e7 20 63  |.n. . c:c+=1:. c|
000000a0  3e 31 35 20 63 3d 30 0d  00 78 12 20 78 72 3d 72  |>15 c=0..x. xr=r|
000000b0  2b b5 28 61 73 29 2a 32  30 0d 00 82 12 20 79 72  |+.(as)*20.... yr|
000000c0  3d 72 2b 9b 28 61 73 29  2a 32 30 0d 00 8c 0c 20  |=r+.(as)*20.... |
000000d0  61 73 2b 3d 30 2e 31 0d  00 96 11 20 61 3d 61 6e  |as+=0.1.... a=an|
000000e0  67 3a 61 6e 67 2b 3d 37  0d 00 a0 11 20 78 31 3d  |g:ang+=7.... x1=|
000000f0  78 72 2a b5 20 b2 28 61  29 0d 00 aa 11 20 79 31  |xr*. .(a).... y1|
00000100  3d 78 72 2a 9b 20 b2 28  61 29 0d 00 b4 14 20 78  |=xr*. .(a).... x|
00000110  32 3d 78 72 2a b5 20 b2  28 61 2b 39 30 29 0d 00  |2=xr*. .(a+90)..|
00000120  be 14 20 79 32 3d 78 72  2a 9b 20 b2 28 61 2b 39  |.. y2=xr*. .(a+9|
00000130  30 29 0d 00 c8 15 20 78  33 3d 78 72 2a b5 20 b2  |0).... x3=xr*. .|
00000140  28 61 2b 31 38 30 29 0d  00 d2 15 20 79 33 3d 78  |(a+180).... y3=x|
00000150  72 2a 9b 20 b2 28 61 2b  31 38 30 29 0d 00 dc 15  |r*. .(a+180)....|
00000160  20 78 34 3d 78 72 2a b5  20 b2 28 61 2b 32 37 30  | x4=xr*. .(a+270|
00000170  29 0d 00 e6 15 20 79 34  3d 78 72 2a 9b 20 b2 28  |).... y4=xr*. .(|
00000180  61 2b 32 37 30 29 0d 00  f0 1f 20 ec 20 78 31 2c  |a+270).... . x1,|
00000190  79 31 3a ec 20 78 32 2c  79 32 3a f0 20 38 35 2c  |y1:. x2,y2:. 85,|
000001a0  78 33 2c 79 33 0d 00 fa  17 20 ec 20 78 34 2c 79  |x3,y3.... . x4,y|
000001b0  34 3a f0 20 38 35 2c 78  31 2c 79 31 0d 01 04 05  |4:. 85,x1,y1....|
000001c0  ed 0d 01 0e 07 41 3d 31  0d 01 18 05 f5 0d 01 22  |.....A=1......."|
000001d0  0f e3 20 49 3d 31 35 b8  30 88 2d 31 0d 01 2c 16  |.. I=15.0.-1..,.|
000001e0  fb 20 41 2c 49 2a 31 37  2c 49 2a 31 37 2c 49 2a  |. A,I*17,I*17,I*|
000001f0  31 37 0d 01 36 0b 41 2b  3d 31 83 31 35 0d 01 40  |17..6.A+=1.15..@|
00000200  05 ed 0d 01 4a 0b 41 2b  3d 31 83 31 35 0d 01 54  |....J.A+=1.15..T|
00000210  06 c8 96 0d 01 5e 06 fd  30 0d ff                 |.....^..0..|
0000021b