Home » Archimedes archive » Acorn User » AU 1997-04 A.adf » Features1 » StarInfo/Young/Circley1

StarInfo/Young/Circley1

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-04 A.adf » Features1
Filename: StarInfo/Young/Circley1
Read OK:
File size: 016D bytes
Load address: 0000
Exec address: 0000
File contents
   10REM Circley Proggie by RJY '96
   11MODE128+12
   20MODE12
   30Number_Of_Sides=100
   40X%=639.5:Y%=512:A%=1:B%=2:REM F=360/Number_Of_Sides
   50F=1
   60REPEAT
   70FOR C=1 TO 360 STEP F
   80LINE X%+511*(SIN(RAD(C))),Y%+511*(SIN(RAD(C))),X%+511*(SIN(RAD(C-F*F))),Y%+511*(COS(RAD(C-F*F)))
   90NEXT
  100F+=0.1
  110PROCScreeny
  120UNTIL FALSE
  130END
  140DEF PROCScreeny
  150WAIT
  160SYS"OS_Byte",112,A%
  170SYS"OS_Byte",113,B%
  180SWAP A%,B%
  190CLS
  200ENDPROC

 � Circley Proggie by RJY '96
�128+12
�12
Number_Of_Sides=100
(5X%=639.5:Y%=512:A%=1:B%=2:� F=360/Number_Of_Sides
2F=1
<�
F� C=1 � 360 � F
PQ� X%+511*(�(�(C))),Y%+511*(�(�(C))),X%+511*(�(�(C-F*F))),Y%+511*(�(�(C-F*F)))
Z�
d
F+=0.1
n�Screeny
x� �
��
�� �Screeny
�Ȗ
�ș"OS_Byte",112,A%
�ș"OS_Byte",113,B%
�Ȕ A%,B%
��
��
�
00000000  0d 00 0a 20 f4 20 43 69  72 63 6c 65 79 20 50 72  |... . Circley Pr|
00000010  6f 67 67 69 65 20 62 79  20 52 4a 59 20 27 39 36  |oggie by RJY '96|
00000020  0d 00 0b 0b eb 31 32 38  2b 31 32 0d 00 14 07 eb  |.....128+12.....|
00000030  31 32 0d 00 1e 17 4e 75  6d 62 65 72 5f 4f 66 5f  |12....Number_Of_|
00000040  53 69 64 65 73 3d 31 30  30 0d 00 28 35 58 25 3d  |Sides=100..(5X%=|
00000050  36 33 39 2e 35 3a 59 25  3d 35 31 32 3a 41 25 3d  |639.5:Y%=512:A%=|
00000060  31 3a 42 25 3d 32 3a f4  20 46 3d 33 36 30 2f 4e  |1:B%=2:. F=360/N|
00000070  75 6d 62 65 72 5f 4f 66  5f 53 69 64 65 73 0d 00  |umber_Of_Sides..|
00000080  32 07 46 3d 31 0d 00 3c  05 f5 0d 00 46 13 e3 20  |2.F=1..<....F.. |
00000090  43 3d 31 20 b8 20 33 36  30 20 88 20 46 0d 00 50  |C=1 . 360 . F..P|
000000a0  51 86 20 58 25 2b 35 31  31 2a 28 b5 28 b2 28 43  |Q. X%+511*(.(.(C|
000000b0  29 29 29 2c 59 25 2b 35  31 31 2a 28 b5 28 b2 28  |))),Y%+511*(.(.(|
000000c0  43 29 29 29 2c 58 25 2b  35 31 31 2a 28 b5 28 b2  |C))),X%+511*(.(.|
000000d0  28 43 2d 46 2a 46 29 29  29 2c 59 25 2b 35 31 31  |(C-F*F))),Y%+511|
000000e0  2a 28 9b 28 b2 28 43 2d  46 2a 46 29 29 29 0d 00  |*(.(.(C-F*F)))..|
000000f0  5a 05 ed 0d 00 64 0a 46  2b 3d 30 2e 31 0d 00 6e  |Z....d.F+=0.1..n|
00000100  0c f2 53 63 72 65 65 6e  79 0d 00 78 07 fd 20 a3  |..Screeny..x.. .|
00000110  0d 00 82 05 e0 0d 00 8c  0e dd 20 f2 53 63 72 65  |.......... .Scre|
00000120  65 6e 79 0d 00 96 06 c8  96 0d 00 a0 16 c8 99 22  |eny............"|
00000130  4f 53 5f 42 79 74 65 22  2c 31 31 32 2c 41 25 0d  |OS_Byte",112,A%.|
00000140  00 aa 16 c8 99 22 4f 53  5f 42 79 74 65 22 2c 31  |....."OS_Byte",1|
00000150  31 33 2c 42 25 0d 00 b4  0c c8 94 20 41 25 2c 42  |13,B%...... A%,B|
00000160  25 0d 00 be 05 db 0d 00  c8 05 e1 0d ff           |%............|
0000016d