Home » Archimedes archive » Acorn User » AU 1998-07.adf » Regulars » StarInfo/Stoner/Ka-Boom!
StarInfo/Stoner/Ka-Boom!
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 1998-07.adf » Regulars |
Filename: | StarInfo/Stoner/Ka-Boom! |
Read OK: | ✔ |
File size: | 01B6 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
10REM Multi Colored Balls 20 30MODE 28:IF MODE<>28 MODE 13 40OFF:ORIGIN 0,160:COLOUR3 50DIM dx%(100),dy%(100):SYS"OS_SWINumberFromString",,"ColourTrans_SetGCOL" TO col%:x=640:y=512:dx%()=x:dy%()=y:b=0:g=0:r=120:dr=(r/255):dg=240/255:db=120/255:r=120:g=0:b=0 60FOR rad= 63 TO 1 STEP -.25:d1=-rad/256:SYS col%,(r<<8)+(g<<16)+(b<<24),,,&100:FOR a%=0 TO 49:CIRCLEFILLdx%(a%),dy%(a%)-rad*6,120*d1:dx%(a%)+=RND(rad)-rad/RND(4):dy%(a%)+=RND(rad)-rad/RND(4.5):NEXT a%:r+=dr:g+=dg:b+=db:NEXT rad
� Multi Colored Balls � 28:� �<>28 � 13 (�:ȑ 0,160:�3 2�� dx%(100),dy%(100):ș"OS_SWINumberFromString",,"ColourTrans_SetGCOL" � col%:x=640:y=512:dx%()=x:dy%()=y:b=0:g=0:r=120:dr=(r/255):dg=240/255:db=120/255:r=120:g=0:b=0 <�� rad= 63 � 1 � -.25:d1=-rad/256:ș col%,(r<<8)+(g<<16)+(b<<24),,,&100:� a%=0 � 49:ȏȐdx%(a%),dy%(a%)-rad*6,120*d1:dx%(a%)+=�(rad)-rad/�(4):dy%(a%)+=�(rad)-rad/�(4.5):� a%:r+=dr:g+=dg:b+=db:� rad �
00000000 0d 00 0a 19 f4 20 4d 75 6c 74 69 20 43 6f 6c 6f |..... Multi Colo| 00000010 72 65 64 20 42 61 6c 6c 73 0d 00 14 04 0d 00 1e |red Balls.......| 00000020 15 eb 20 32 38 3a e7 20 eb 3c 3e 32 38 20 eb 20 |.. 28:. .<>28 . | 00000030 31 33 0d 00 28 11 87 3a c8 91 20 30 2c 31 36 30 |13..(..:.. 0,160| 00000040 3a fb 33 0d 00 32 a9 de 20 64 78 25 28 31 30 30 |:.3..2.. dx%(100| 00000050 29 2c 64 79 25 28 31 30 30 29 3a c8 99 22 4f 53 |),dy%(100):.."OS| 00000060 5f 53 57 49 4e 75 6d 62 65 72 46 72 6f 6d 53 74 |_SWINumberFromSt| 00000070 72 69 6e 67 22 2c 2c 22 43 6f 6c 6f 75 72 54 72 |ring",,"ColourTr| 00000080 61 6e 73 5f 53 65 74 47 43 4f 4c 22 20 b8 20 63 |ans_SetGCOL" . c| 00000090 6f 6c 25 3a 78 3d 36 34 30 3a 79 3d 35 31 32 3a |ol%:x=640:y=512:| 000000a0 64 78 25 28 29 3d 78 3a 64 79 25 28 29 3d 79 3a |dx%()=x:dy%()=y:| 000000b0 62 3d 30 3a 67 3d 30 3a 72 3d 31 32 30 3a 64 72 |b=0:g=0:r=120:dr| 000000c0 3d 28 72 2f 32 35 35 29 3a 64 67 3d 32 34 30 2f |=(r/255):dg=240/| 000000d0 32 35 35 3a 64 62 3d 31 32 30 2f 32 35 35 3a 72 |255:db=120/255:r| 000000e0 3d 31 32 30 3a 67 3d 30 3a 62 3d 30 0d 00 3c c8 |=120:g=0:b=0..<.| 000000f0 e3 20 72 61 64 3d 20 36 33 20 b8 20 31 20 88 20 |. rad= 63 . 1 . | 00000100 2d 2e 32 35 3a 64 31 3d 2d 72 61 64 2f 32 35 36 |-.25:d1=-rad/256| 00000110 3a c8 99 20 63 6f 6c 25 2c 28 72 3c 3c 38 29 2b |:.. col%,(r<<8)+| 00000120 28 67 3c 3c 31 36 29 2b 28 62 3c 3c 32 34 29 2c |(g<<16)+(b<<24),| 00000130 2c 2c 26 31 30 30 3a e3 20 61 25 3d 30 20 b8 20 |,,&100:. a%=0 . | 00000140 34 39 3a c8 8f c8 90 64 78 25 28 61 25 29 2c 64 |49:....dx%(a%),d| 00000150 79 25 28 61 25 29 2d 72 61 64 2a 36 2c 31 32 30 |y%(a%)-rad*6,120| 00000160 2a 64 31 3a 64 78 25 28 61 25 29 2b 3d b3 28 72 |*d1:dx%(a%)+=.(r| 00000170 61 64 29 2d 72 61 64 2f b3 28 34 29 3a 64 79 25 |ad)-rad/.(4):dy%| 00000180 28 61 25 29 2b 3d b3 28 72 61 64 29 2d 72 61 64 |(a%)+=.(rad)-rad| 00000190 2f b3 28 34 2e 35 29 3a ed 20 61 25 3a 72 2b 3d |/.(4.5):. a%:r+=| 000001a0 64 72 3a 67 2b 3d 64 67 3a 62 2b 3d 64 62 3a ed |dr:g+=dg:b+=db:.| 000001b0 20 72 61 64 0d ff | rad..| 000001b6