Home » Recent acquisitions » Acorn ADFS disks » adfs_AcornUser_199604.adf » Features » StarInfo/Vibe/V_TILE

StarInfo/Vibe/V_TILE

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_199604.adf » Features
Filename: StarInfo/Vibe/V_TILE
Read OK:
File size: 037B bytes
Load address: 0000
Exec address: 0000
File contents
   10REM > V_TILE
   20
   30MODE20:OFF
   40DIM SPR &10000,TX%(1000),TY%(1000)
   50SPR!0=&FFFF:SPR!4=0:SPR!8=16:SPR!12=16
   60R%=128:CR%=64:B%=2*R%:D%=R%/15
   70FORN%=1TO15:COLOUR N%,16*N%,16*N%,16*N%:NEXT
   80FORY%=0TOB%STEP2
   90FORX%=0TOB%STEP2:C%=16-(SQR((X%-R%)^2+(Y%-R%)^2)-RND(2*D%)+D%)/D%
  100IF C%>15 C%=15
  110IF C%<1 C%=1
  120GCOL C%:POINT X%,Y%
  130NEXT,
  140SYS"OS_SpriteOp",256+16,SPR,"BALL",0,0,0,2*R%,2*R%
  150SYS"OS_SpriteOp",256+29,SPR,"BALL"
  160CLS:T%=0:CT%=0
  170
  180REPEAT
  190REPEAT:X%=RND(1280):Y%=RND(1024):T%+=1
  200UNTILPOINT(X%,Y%)=0 OR T%=10000
  210IF T%<10000 THEN
  220CT%+=1:TX%(CT%)=X%:TY%(CT%)=Y%:T%=0
  230CIRCLE FILL X%,Y%,CR%
  240ENDIF:UNTILT%=10000
  250GCOL7:RECTANGLEFILL 0,0,1280,1024
  260
  270FORI%=CR%TOCR%/2-2STEP-2
  280FORN%=1TOCT%
  290X%=TX%(N%):Y%=TY%(N%)
  300CX%=X%*(B%-2*CR%)/1280+CR%:CY%=Y%*(B%-2*CR%)/1024+CR%
  310SYS"OS_SpriteOp",256+61,SPR,"BALL",0
  320GCOL0:RECTANGLE FILL 0,0,2*R%:GCOL15:CIRCLE FILL CX%,CY%,I%
  330SYS"OS_SpriteOp",256+61,SPR,0,0:OFF
  340SYS "OS_SpriteOp",256+34,SPR,"BALL",X%-CX%,Y%-CY%,8
  350NEXT,

� > V_TILE

	�20:�
($� SPR &10000,TX%(1000),TY%(1000)
2*SPR!0=&FFFF:SPR!4=0:SPR!8=16:SPR!12=16
<"R%=128:CR%=64:B%=2*R%:D%=R%/15
F%�N%=1�15:� N%,16*N%,16*N%,16*N%:�
P�Y%=0�B%�2
Z;�X%=0�B%�2:C%=16-(�((X%-R%)^2+(Y%-R%)^2)-�(2*D%)+D%)/D%
d� C%>15 C%=15
n� C%<1 C%=1
x� C%:Ȓ X%,Y%
��,
�5ș"OS_SpriteOp",256+16,SPR,"BALL",0,0,0,2*R%,2*R%
�%ș"OS_SpriteOp",256+29,SPR,"BALL"
��:T%=0:CT%=0
�
��
�!�:X%=�(1280):Y%=�(1024):T%+=1
���X%,Y%)=0 � T%=10000
�� T%<10000 �
�'CT%+=1:TX%(CT%)=X%:TY%(CT%)=Y%:T%=0
�ȏ Ȑ X%,Y%,CR%
��:�T%=10000
��7:ȓȐ 0,0,1280,1024

�I%=CR%�CR%/2-2�-2

�N%=1�CT%
"X%=TX%(N%):Y%=TY%(N%)
,9CX%=X%*(B%-2*CR%)/1280+CR%:CY%=Y%*(B%-2*CR%)/1024+CR%
6'ș"OS_SpriteOp",256+61,SPR,"BALL",0
@*�0:ȓ Ȑ 0,0,2*R%:�15:ȏ Ȑ CX%,CY%,I%
J$ș"OS_SpriteOp",256+61,SPR,0,0:�
T6ș "OS_SpriteOp",256+34,SPR,"BALL",X%-CX%,Y%-CY%,8
^�,
�
00000000  0d 00 0a 0e f4 20 3e 20  56 5f 54 49 4c 45 0d 00  |..... > V_TILE..|
00000010  14 04 0d 00 1e 09 eb 32  30 3a 87 0d 00 28 24 de  |.......20:...($.|
00000020  20 53 50 52 20 26 31 30  30 30 30 2c 54 58 25 28  | SPR &10000,TX%(|
00000030  31 30 30 30 29 2c 54 59  25 28 31 30 30 30 29 0d  |1000),TY%(1000).|
00000040  00 32 2a 53 50 52 21 30  3d 26 46 46 46 46 3a 53  |.2*SPR!0=&FFFF:S|
00000050  50 52 21 34 3d 30 3a 53  50 52 21 38 3d 31 36 3a  |PR!4=0:SPR!8=16:|
00000060  53 50 52 21 31 32 3d 31  36 0d 00 3c 22 52 25 3d  |SPR!12=16..<"R%=|
00000070  31 32 38 3a 43 52 25 3d  36 34 3a 42 25 3d 32 2a  |128:CR%=64:B%=2*|
00000080  52 25 3a 44 25 3d 52 25  2f 31 35 0d 00 46 25 e3  |R%:D%=R%/15..F%.|
00000090  4e 25 3d 31 b8 31 35 3a  fb 20 4e 25 2c 31 36 2a  |N%=1.15:. N%,16*|
000000a0  4e 25 2c 31 36 2a 4e 25  2c 31 36 2a 4e 25 3a ed  |N%,16*N%,16*N%:.|
000000b0  0d 00 50 0e e3 59 25 3d  30 b8 42 25 88 32 0d 00  |..P..Y%=0.B%.2..|
000000c0  5a 3b e3 58 25 3d 30 b8  42 25 88 32 3a 43 25 3d  |Z;.X%=0.B%.2:C%=|
000000d0  31 36 2d 28 b6 28 28 58  25 2d 52 25 29 5e 32 2b  |16-(.((X%-R%)^2+|
000000e0  28 59 25 2d 52 25 29 5e  32 29 2d b3 28 32 2a 44  |(Y%-R%)^2)-.(2*D|
000000f0  25 29 2b 44 25 29 2f 44  25 0d 00 64 11 e7 20 43  |%)+D%)/D%..d.. C|
00000100  25 3e 31 35 20 43 25 3d  31 35 0d 00 6e 0f e7 20  |%>15 C%=15..n.. |
00000110  43 25 3c 31 20 43 25 3d  31 0d 00 78 11 e6 20 43  |C%<1 C%=1..x.. C|
00000120  25 3a c8 92 20 58 25 2c  59 25 0d 00 82 06 ed 2c  |%:.. X%,Y%.....,|
00000130  0d 00 8c 35 c8 99 22 4f  53 5f 53 70 72 69 74 65  |...5.."OS_Sprite|
00000140  4f 70 22 2c 32 35 36 2b  31 36 2c 53 50 52 2c 22  |Op",256+16,SPR,"|
00000150  42 41 4c 4c 22 2c 30 2c  30 2c 30 2c 32 2a 52 25  |BALL",0,0,0,2*R%|
00000160  2c 32 2a 52 25 0d 00 96  25 c8 99 22 4f 53 5f 53  |,2*R%...%.."OS_S|
00000170  70 72 69 74 65 4f 70 22  2c 32 35 36 2b 32 39 2c  |priteOp",256+29,|
00000180  53 50 52 2c 22 42 41 4c  4c 22 0d 00 a0 10 db 3a  |SPR,"BALL".....:|
00000190  54 25 3d 30 3a 43 54 25  3d 30 0d 00 aa 04 0d 00  |T%=0:CT%=0......|
000001a0  b4 05 f5 0d 00 be 21 f5  3a 58 25 3d b3 28 31 32  |......!.:X%=.(12|
000001b0  38 30 29 3a 59 25 3d b3  28 31 30 32 34 29 3a 54  |80):Y%=.(1024):T|
000001c0  25 2b 3d 31 0d 00 c8 19  fd b0 58 25 2c 59 25 29  |%+=1......X%,Y%)|
000001d0  3d 30 20 84 20 54 25 3d  31 30 30 30 30 0d 00 d2  |=0 . T%=10000...|
000001e0  10 e7 20 54 25 3c 31 30  30 30 30 20 8c 0d 00 dc  |.. T%<10000 ....|
000001f0  27 43 54 25 2b 3d 31 3a  54 58 25 28 43 54 25 29  |'CT%+=1:TX%(CT%)|
00000200  3d 58 25 3a 54 59 25 28  43 54 25 29 3d 59 25 3a  |=X%:TY%(CT%)=Y%:|
00000210  54 25 3d 30 0d 00 e6 13  c8 8f 20 c8 90 20 58 25  |T%=0...... .. X%|
00000220  2c 59 25 2c 43 52 25 0d  00 f0 0f cd 3a fd 54 25  |,Y%,CR%.....:.T%|
00000230  3d 31 30 30 30 30 0d 00  fa 19 e6 37 3a c8 93 c8  |=10000.....7:...|
00000240  90 20 30 2c 30 2c 31 32  38 30 2c 31 30 32 34 0d  |. 0,0,1280,1024.|
00000250  01 04 04 0d 01 0e 16 e3  49 25 3d 43 52 25 b8 43  |........I%=CR%.C|
00000260  52 25 2f 32 2d 32 88 2d  32 0d 01 18 0d e3 4e 25  |R%/2-2.-2.....N%|
00000270  3d 31 b8 43 54 25 0d 01  22 19 58 25 3d 54 58 25  |=1.CT%..".X%=TX%|
00000280  28 4e 25 29 3a 59 25 3d  54 59 25 28 4e 25 29 0d  |(N%):Y%=TY%(N%).|
00000290  01 2c 39 43 58 25 3d 58  25 2a 28 42 25 2d 32 2a  |.,9CX%=X%*(B%-2*|
000002a0  43 52 25 29 2f 31 32 38  30 2b 43 52 25 3a 43 59  |CR%)/1280+CR%:CY|
000002b0  25 3d 59 25 2a 28 42 25  2d 32 2a 43 52 25 29 2f  |%=Y%*(B%-2*CR%)/|
000002c0  31 30 32 34 2b 43 52 25  0d 01 36 27 c8 99 22 4f  |1024+CR%..6'.."O|
000002d0  53 5f 53 70 72 69 74 65  4f 70 22 2c 32 35 36 2b  |S_SpriteOp",256+|
000002e0  36 31 2c 53 50 52 2c 22  42 41 4c 4c 22 2c 30 0d  |61,SPR,"BALL",0.|
000002f0  01 40 2a e6 30 3a c8 93  20 c8 90 20 30 2c 30 2c  |.@*.0:.. .. 0,0,|
00000300  32 2a 52 25 3a e6 31 35  3a c8 8f 20 c8 90 20 43  |2*R%:.15:.. .. C|
00000310  58 25 2c 43 59 25 2c 49  25 0d 01 4a 24 c8 99 22  |X%,CY%,I%..J$.."|
00000320  4f 53 5f 53 70 72 69 74  65 4f 70 22 2c 32 35 36  |OS_SpriteOp",256|
00000330  2b 36 31 2c 53 50 52 2c  30 2c 30 3a 87 0d 01 54  |+61,SPR,0,0:...T|
00000340  36 c8 99 20 22 4f 53 5f  53 70 72 69 74 65 4f 70  |6.. "OS_SpriteOp|
00000350  22 2c 32 35 36 2b 33 34  2c 53 50 52 2c 22 42 41  |",256+34,SPR,"BA|
00000360  4c 4c 22 2c 58 25 2d 43  58 25 2c 59 25 2d 43 59  |LL",X%-CX%,Y%-CY|
00000370  25 2c 38 0d 01 5e 06 ed  2c 0d ff                 |%,8..^..,..|
0000037b