Home » Archimedes archive » Acorn User » AU 1994-11.adf » !StarInfo_StarInfo » Ainsworth/AnimateVGA

Ainsworth/AnimateVGA

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 1994-11.adf » !StarInfo_StarInfo
Filename: Ainsworth/AnimateVGA
Read OK:
File size: 0827 bytes
Load address: 0000
Exec address: 0000
File contents
   10REM >Thomasina Animator
   20REM LEN 1994 Mark Ainsworth
   30:
   40ON ERROR REPORT:PRINT " at line ";ERL:END
   50INPUT " Do you want to see the images being drawn? "yn$
   60INPUT " Sinusoidal variable progression? "sin$
   70IF sin$="Y" OR sin$="y" THEN sin%=TRUE ELSE sin%=FALSE
   80INPUT " How much time in total? (minutes) "time
   90INPUT " Start a? "a1
  100INPUT " End a?   "a2
  110INPUT " Start b? "b1
  120INPUT " End b?   "b2
  130MODE 153
  140MODE 25
  150screensize%=&A040
  160colours%=1
  170width%=1280
  180height%=960
  190OFF
  200FOR col%=0 TO colours%
  210  grade%=255-col%*(255/colours%)
  220  COLOUR col%,grade%,grade%,grade%
  230NEXT col%
  240s1%=1
  250IF yn$="Y" OR yn$="y" THEN s2%=1 ELSE s2%=2
  260frames%=((HIMEM-END) DIV screensize%)-1
  270DIM spr (screensize%*frames%)
  280spr!0=(screensize%*frames%)-1
  290spr!4=0
  300spr!8=16
  310spr!12=16
  320ON ERROR SYS 6,112,s1%:SYS "Hourglass_Smash":PRINTREPORT$" at line "STR$ERL:ON:END
  330SYS "Hourglass_On"
  340FOR i%=1 TO frames%
  350 SYS "Hourglass_Percentage",(i%-1)*(100/frames%)
  360 s$=STR$i%
  370 PROCflip
  380 IF sin% THEN
  390  prop=-0.5*COS(PI*(i%-1)/(frames%-1))+0.5
  400 ELSE
  410  prop=(i%-1)/(frames%-1)
  420 ENDIF
  430 PROCplot(-5,7.5,9,-3,6000*time/frames%,prop)
  440 SYS 46,256+16,spr,s$,0,0,-0,1279,1023
  450NEXT
  460SYS "Hourglass_Off"
  470a%=2*(frames%-1)-1
  480REPEAT
  490 a%=(a%+1) MOD (2*(frames%-1))
  500 b%=ABS((frames%-1)-a%)+1
  510 s$=STR$b%
  520 PROCflip
  530 SYS 46,256+34,spr,s$,0,0,0
  540 WAIT
  550UNTIL FALSE
  560:
  570DEF PROCflip
  580SYS 6,112,s1%
  590SYS 6,113,s2%
  600WAIT
  610CLS
  620SWAP s1%,s2%
  630ENDPROC
  640:
  650DEF PROCplot(left,right,top,bottom,time%,prop)
  660a=a1+prop*(a2-a1)
  670b=b1+prop*(b2-b1)
  680COLOUR 15
  690PRINT TAB(1,1)"a=";a
  700PRINT TAB(1,2)"b=";b
  710PROCresize
  720IF colours%=1 THEN PROCmono ELSE PROCgrey
  730VDU 29,0;0;
  740ENDPROC
  750:
  760DEF PROCresize
  770xfactor=width%/(right-left)
  780yfactor=height%/(top-bottom)
  790midx%=-left*width%/(right-left)
  800midy%=-bottom*height%/(top-bottom)
  810VDU29,midx%;midy%;
  820ENDPROC
  830:
  840DEF PROCmono
  850x=0
  860y=0
  870TIME=0
  880REPEAT
  890  x=SQR(ABS(x*x-2*x+a))-y
  900  y=SQR(ABS(y*y-2*y-b))+x
  910  GCOL 0,1
  920  POINT xfactor*x, yfactor*y
  930UNTIL TIME>=time%
  940ENDPROC
  950:
  960DEF PROCgrey
  970x=0
  980y=0
  990TIME=0
 1000REPEAT
 1010  x=SQR(ABS(x*x-2*x+a))-y
 1020  y=SQR(ABS(y*y-2*y-b))+x
 1030  col%=POINT(xfactor*x, yfactor*y)
 1040  IF col%<colours% THEN col%+=1
 1050  GCOL 0,col%
 1060  POINT xfactor*x, yfactor*y
 1070UNTIL TIME>=time%
 1080ENDPROC

� >Thomasina Animator
� � 1994 Mark Ainsworth
:
(� � �:� " at line ";�:�
27� " Do you want to see the images being drawn? "yn$
<.� " Sinusoidal variable progression? "sin$
F+� sin$="Y" � sin$="y" � sin%=� � sin%=�
P/� " How much time in total? (minutes) "time
Z� " Start a? "a1
d� " End a?   "a2
n� " Start b? "b1
x� " End b?   "b2
�	� 153
�� 25
�screensize%=&A040
�colours%=1
�width%=1280
�height%=960
��
�� col%=0 � colours%
�$  grade%=255-col%*(255/colours%)
�!  � col%,grade%,grade%,grade%
�
� col%
�	s1%=1
�'� yn$="Y" � yn$="y" � s2%=1 � s2%=2
#frames%=((�-�) � screensize%)-1
� spr (screensize%*frames%)
!spr!0=(screensize%*frames%)-1
"spr!4=0
,spr!8=16
6
spr!12=16
@>� � ș 6,112,s1%:ș "Hourglass_Smash":�$" at line "Þ:�:�
Jș "Hourglass_On"
T� i%=1 � frames%
^3 ș "Hourglass_Percentage",(i%-1)*(100/frames%)
h s$=�i%
r
 �flip
|
 � sin% �
�+  prop=-0.5*�(�*(i%-1)/(frames%-1))+0.5
� �
�  prop=(i%-1)/(frames%-1)
� �
�. �plot(-5,7.5,9,-3,6000*time/frames%,prop)
�) ș 46,256+16,spr,s$,0,0,-0,1279,1023
��
�ș "Hourglass_Off"
�a%=2*(frames%-1)-1
��
�  a%=(a%+1) � (2*(frames%-1))
� b%=�((frames%-1)-a%)+1
� s$=�b%

 �flip
 ș 46,256+34,spr,s$,0,0,0
 Ȗ
&� �
0:
:� �flip
Dș 6,112,s1%
Nș 6,113,s2%
XȖ
b�
lȔ s1%,s2%
v�
�:
�-� �plot(left,right,top,bottom,time%,prop)
�a=a1+prop*(a2-a1)
�b=b1+prop*(b2-b1)
�� 15
�� �1,1)"a=";a
�� �1,2)"b=";b
��resize
� � colours%=1 � �mono � �grey
�
� 29,0;0;
��
�:
�
� �resize
xfactor=width%/(right-left)
 yfactor=height%/(top-bottom)
#midx%=-left*width%/(right-left)
 &midy%=-bottom*height%/(top-bottom)
*�29,midx%;midy%;
4�
>:
H� �mono
Rx=0
\y=0
f�=0
p�
z  x=�(�(x*x-2*x+a))-y
�  y=�(�(y*y-2*y-b))+x
�  � 0,1
�  Ȓ xfactor*x, yfactor*y
�� �>=time%
��
�:
�� �grey
�x=0
�y=0
��=0
��
�  x=�(�(x*x-2*x+a))-y
�  y=�(�(y*y-2*y-b))+x
!  col%=�xfactor*x, yfactor*y)
  � col%<colours% � col%+=1
  � 0,col%
$  Ȓ xfactor*x, yfactor*y
.� �>=time%
8�
�
00000000  0d 00 0a 19 f4 20 3e 54  68 6f 6d 61 73 69 6e 61  |..... >Thomasina|
00000010  20 41 6e 69 6d 61 74 6f  72 0d 00 14 1b f4 20 a9  | Animator..... .|
00000020  20 31 39 39 34 20 4d 61  72 6b 20 41 69 6e 73 77  | 1994 Mark Ainsw|
00000030  6f 72 74 68 0d 00 1e 05  3a 0d 00 28 1b ee 20 85  |orth....:..(.. .|
00000040  20 f6 3a f1 20 22 20 61  74 20 6c 69 6e 65 20 22  | .:. " at line "|
00000050  3b 9e 3a e0 0d 00 32 37  e8 20 22 20 44 6f 20 79  |;.:...27. " Do y|
00000060  6f 75 20 77 61 6e 74 20  74 6f 20 73 65 65 20 74  |ou want to see t|
00000070  68 65 20 69 6d 61 67 65  73 20 62 65 69 6e 67 20  |he images being |
00000080  64 72 61 77 6e 3f 20 22  79 6e 24 0d 00 3c 2e e8  |drawn? "yn$..<..|
00000090  20 22 20 53 69 6e 75 73  6f 69 64 61 6c 20 76 61  | " Sinusoidal va|
000000a0  72 69 61 62 6c 65 20 70  72 6f 67 72 65 73 73 69  |riable progressi|
000000b0  6f 6e 3f 20 22 73 69 6e  24 0d 00 46 2b e7 20 73  |on? "sin$..F+. s|
000000c0  69 6e 24 3d 22 59 22 20  84 20 73 69 6e 24 3d 22  |in$="Y" . sin$="|
000000d0  79 22 20 8c 20 73 69 6e  25 3d b9 20 8b 20 73 69  |y" . sin%=. . si|
000000e0  6e 25 3d a3 0d 00 50 2f  e8 20 22 20 48 6f 77 20  |n%=...P/. " How |
000000f0  6d 75 63 68 20 74 69 6d  65 20 69 6e 20 74 6f 74  |much time in tot|
00000100  61 6c 3f 20 28 6d 69 6e  75 74 65 73 29 20 22 74  |al? (minutes) "t|
00000110  69 6d 65 0d 00 5a 14 e8  20 22 20 53 74 61 72 74  |ime..Z.. " Start|
00000120  20 61 3f 20 22 61 31 0d  00 64 14 e8 20 22 20 45  | a? "a1..d.. " E|
00000130  6e 64 20 61 3f 20 20 20  22 61 32 0d 00 6e 14 e8  |nd a?   "a2..n..|
00000140  20 22 20 53 74 61 72 74  20 62 3f 20 22 62 31 0d  | " Start b? "b1.|
00000150  00 78 14 e8 20 22 20 45  6e 64 20 62 3f 20 20 20  |.x.. " End b?   |
00000160  22 62 32 0d 00 82 09 eb  20 31 35 33 0d 00 8c 08  |"b2..... 153....|
00000170  eb 20 32 35 0d 00 96 15  73 63 72 65 65 6e 73 69  |. 25....screensi|
00000180  7a 65 25 3d 26 41 30 34  30 0d 00 a0 0e 63 6f 6c  |ze%=&A040....col|
00000190  6f 75 72 73 25 3d 31 0d  00 aa 0f 77 69 64 74 68  |ours%=1....width|
000001a0  25 3d 31 32 38 30 0d 00  b4 0f 68 65 69 67 68 74  |%=1280....height|
000001b0  25 3d 39 36 30 0d 00 be  05 87 0d 00 c8 17 e3 20  |%=960.......... |
000001c0  63 6f 6c 25 3d 30 20 b8  20 63 6f 6c 6f 75 72 73  |col%=0 . colours|
000001d0  25 0d 00 d2 24 20 20 67  72 61 64 65 25 3d 32 35  |%...$  grade%=25|
000001e0  35 2d 63 6f 6c 25 2a 28  32 35 35 2f 63 6f 6c 6f  |5-col%*(255/colo|
000001f0  75 72 73 25 29 0d 00 dc  21 20 20 fb 20 63 6f 6c  |urs%)...!  . col|
00000200  25 2c 67 72 61 64 65 25  2c 67 72 61 64 65 25 2c  |%,grade%,grade%,|
00000210  67 72 61 64 65 25 0d 00  e6 0a ed 20 63 6f 6c 25  |grade%..... col%|
00000220  0d 00 f0 09 73 31 25 3d  31 0d 00 fa 27 e7 20 79  |....s1%=1...'. y|
00000230  6e 24 3d 22 59 22 20 84  20 79 6e 24 3d 22 79 22  |n$="Y" . yn$="y"|
00000240  20 8c 20 73 32 25 3d 31  20 8b 20 73 32 25 3d 32  | . s2%=1 . s2%=2|
00000250  0d 01 04 23 66 72 61 6d  65 73 25 3d 28 28 93 2d  |...#frames%=((.-|
00000260  e0 29 20 81 20 73 63 72  65 65 6e 73 69 7a 65 25  |.) . screensize%|
00000270  29 2d 31 0d 01 0e 1f de  20 73 70 72 20 28 73 63  |)-1..... spr (sc|
00000280  72 65 65 6e 73 69 7a 65  25 2a 66 72 61 6d 65 73  |reensize%*frames|
00000290  25 29 0d 01 18 21 73 70  72 21 30 3d 28 73 63 72  |%)...!spr!0=(scr|
000002a0  65 65 6e 73 69 7a 65 25  2a 66 72 61 6d 65 73 25  |eensize%*frames%|
000002b0  29 2d 31 0d 01 22 0b 73  70 72 21 34 3d 30 0d 01  |)-1..".spr!4=0..|
000002c0  2c 0c 73 70 72 21 38 3d  31 36 0d 01 36 0d 73 70  |,.spr!8=16..6.sp|
000002d0  72 21 31 32 3d 31 36 0d  01 40 3e ee 20 85 20 c8  |r!12=16..@>. . .|
000002e0  99 20 36 2c 31 31 32 2c  73 31 25 3a c8 99 20 22  |. 6,112,s1%:.. "|
000002f0  48 6f 75 72 67 6c 61 73  73 5f 53 6d 61 73 68 22  |Hourglass_Smash"|
00000300  3a f1 f6 24 22 20 61 74  20 6c 69 6e 65 20 22 c3  |:..$" at line ".|
00000310  9e 3a ee 3a e0 0d 01 4a  15 c8 99 20 22 48 6f 75  |.:.:...J... "Hou|
00000320  72 67 6c 61 73 73 5f 4f  6e 22 0d 01 54 14 e3 20  |rglass_On"..T.. |
00000330  69 25 3d 31 20 b8 20 66  72 61 6d 65 73 25 0d 01  |i%=1 . frames%..|
00000340  5e 33 20 c8 99 20 22 48  6f 75 72 67 6c 61 73 73  |^3 .. "Hourglass|
00000350  5f 50 65 72 63 65 6e 74  61 67 65 22 2c 28 69 25  |_Percentage",(i%|
00000360  2d 31 29 2a 28 31 30 30  2f 66 72 61 6d 65 73 25  |-1)*(100/frames%|
00000370  29 0d 01 68 0b 20 73 24  3d c3 69 25 0d 01 72 0a  |)..h. s$=.i%..r.|
00000380  20 f2 66 6c 69 70 0d 01  7c 0d 20 e7 20 73 69 6e  | .flip..|. . sin|
00000390  25 20 8c 0d 01 86 2b 20  20 70 72 6f 70 3d 2d 30  |% ....+  prop=-0|
000003a0  2e 35 2a 9b 28 af 2a 28  69 25 2d 31 29 2f 28 66  |.5*.(.*(i%-1)/(f|
000003b0  72 61 6d 65 73 25 2d 31  29 29 2b 30 2e 35 0d 01  |rames%-1))+0.5..|
000003c0  90 06 20 cc 0d 01 9a 1d  20 20 70 72 6f 70 3d 28  |.. .....  prop=(|
000003d0  69 25 2d 31 29 2f 28 66  72 61 6d 65 73 25 2d 31  |i%-1)/(frames%-1|
000003e0  29 0d 01 a4 06 20 cd 0d  01 ae 2e 20 f2 70 6c 6f  |).... ..... .plo|
000003f0  74 28 2d 35 2c 37 2e 35  2c 39 2c 2d 33 2c 36 30  |t(-5,7.5,9,-3,60|
00000400  30 30 2a 74 69 6d 65 2f  66 72 61 6d 65 73 25 2c  |00*time/frames%,|
00000410  70 72 6f 70 29 0d 01 b8  29 20 c8 99 20 34 36 2c  |prop)...) .. 46,|
00000420  32 35 36 2b 31 36 2c 73  70 72 2c 73 24 2c 30 2c  |256+16,spr,s$,0,|
00000430  30 2c 2d 30 2c 31 32 37  39 2c 31 30 32 33 0d 01  |0,-0,1279,1023..|
00000440  c2 05 ed 0d 01 cc 16 c8  99 20 22 48 6f 75 72 67  |......... "Hourg|
00000450  6c 61 73 73 5f 4f 66 66  22 0d 01 d6 16 61 25 3d  |lass_Off"....a%=|
00000460  32 2a 28 66 72 61 6d 65  73 25 2d 31 29 2d 31 0d  |2*(frames%-1)-1.|
00000470  01 e0 05 f5 0d 01 ea 20  20 61 25 3d 28 61 25 2b  |.......  a%=(a%+|
00000480  31 29 20 83 20 28 32 2a  28 66 72 61 6d 65 73 25  |1) . (2*(frames%|
00000490  2d 31 29 29 0d 01 f4 1b  20 62 25 3d 94 28 28 66  |-1)).... b%=.((f|
000004a0  72 61 6d 65 73 25 2d 31  29 2d 61 25 29 2b 31 0d  |rames%-1)-a%)+1.|
000004b0  01 fe 0b 20 73 24 3d c3  62 25 0d 02 08 0a 20 f2  |... s$=.b%.... .|
000004c0  66 6c 69 70 0d 02 12 1e  20 c8 99 20 34 36 2c 32  |flip.... .. 46,2|
000004d0  35 36 2b 33 34 2c 73 70  72 2c 73 24 2c 30 2c 30  |56+34,spr,s$,0,0|
000004e0  2c 30 0d 02 1c 07 20 c8  96 0d 02 26 07 fd 20 a3  |,0.... ....&.. .|
000004f0  0d 02 30 05 3a 0d 02 3a  0b dd 20 f2 66 6c 69 70  |..0.:..:.. .flip|
00000500  0d 02 44 10 c8 99 20 36  2c 31 31 32 2c 73 31 25  |..D... 6,112,s1%|
00000510  0d 02 4e 10 c8 99 20 36  2c 31 31 33 2c 73 32 25  |..N... 6,113,s2%|
00000520  0d 02 58 06 c8 96 0d 02  62 05 db 0d 02 6c 0e c8  |..X.....b....l..|
00000530  94 20 73 31 25 2c 73 32  25 0d 02 76 05 e1 0d 02  |. s1%,s2%..v....|
00000540  80 05 3a 0d 02 8a 2d dd  20 f2 70 6c 6f 74 28 6c  |..:...-. .plot(l|
00000550  65 66 74 2c 72 69 67 68  74 2c 74 6f 70 2c 62 6f  |eft,right,top,bo|
00000560  74 74 6f 6d 2c 74 69 6d  65 25 2c 70 72 6f 70 29  |ttom,time%,prop)|
00000570  0d 02 94 15 61 3d 61 31  2b 70 72 6f 70 2a 28 61  |....a=a1+prop*(a|
00000580  32 2d 61 31 29 0d 02 9e  15 62 3d 62 31 2b 70 72  |2-a1)....b=b1+pr|
00000590  6f 70 2a 28 62 32 2d 62  31 29 0d 02 a8 08 fb 20  |op*(b2-b1)..... |
000005a0  31 35 0d 02 b2 11 f1 20  8a 31 2c 31 29 22 61 3d  |15..... .1,1)"a=|
000005b0  22 3b 61 0d 02 bc 11 f1  20 8a 31 2c 32 29 22 62  |";a..... .1,2)"b|
000005c0  3d 22 3b 62 0d 02 c6 0b  f2 72 65 73 69 7a 65 0d  |=";b.....resize.|
000005d0  02 d0 20 e7 20 63 6f 6c  6f 75 72 73 25 3d 31 20  |.. . colours%=1 |
000005e0  8c 20 f2 6d 6f 6e 6f 20  8b 20 f2 67 72 65 79 0d  |. .mono . .grey.|
000005f0  02 da 0d ef 20 32 39 2c  30 3b 30 3b 0d 02 e4 05  |.... 29,0;0;....|
00000600  e1 0d 02 ee 05 3a 0d 02  f8 0d dd 20 f2 72 65 73  |.....:..... .res|
00000610  69 7a 65 0d 03 02 1f 78  66 61 63 74 6f 72 3d 77  |ize....xfactor=w|
00000620  69 64 74 68 25 2f 28 72  69 67 68 74 2d 6c 65 66  |idth%/(right-lef|
00000630  74 29 0d 03 0c 20 79 66  61 63 74 6f 72 3d 68 65  |t)... yfactor=he|
00000640  69 67 68 74 25 2f 28 74  6f 70 2d 62 6f 74 74 6f  |ight%/(top-botto|
00000650  6d 29 0d 03 16 23 6d 69  64 78 25 3d 2d 6c 65 66  |m)...#midx%=-lef|
00000660  74 2a 77 69 64 74 68 25  2f 28 72 69 67 68 74 2d  |t*width%/(right-|
00000670  6c 65 66 74 29 0d 03 20  26 6d 69 64 79 25 3d 2d  |left).. &midy%=-|
00000680  62 6f 74 74 6f 6d 2a 68  65 69 67 68 74 25 2f 28  |bottom*height%/(|
00000690  74 6f 70 2d 62 6f 74 74  6f 6d 29 0d 03 2a 14 ef  |top-bottom)..*..|
000006a0  32 39 2c 6d 69 64 78 25  3b 6d 69 64 79 25 3b 0d  |29,midx%;midy%;.|
000006b0  03 34 05 e1 0d 03 3e 05  3a 0d 03 48 0b dd 20 f2  |.4....>.:..H.. .|
000006c0  6d 6f 6e 6f 0d 03 52 07  78 3d 30 0d 03 5c 07 79  |mono..R.x=0..\.y|
000006d0  3d 30 0d 03 66 07 d1 3d  30 0d 03 70 05 f5 0d 03  |=0..f..=0..p....|
000006e0  7a 19 20 20 78 3d b6 28  94 28 78 2a 78 2d 32 2a  |z.  x=.(.(x*x-2*|
000006f0  78 2b 61 29 29 2d 79 0d  03 84 19 20 20 79 3d b6  |x+a))-y....  y=.|
00000700  28 94 28 79 2a 79 2d 32  2a 79 2d 62 29 29 2b 78  |(.(y*y-2*y-b))+x|
00000710  0d 03 8e 0b 20 20 e6 20  30 2c 31 0d 03 98 1d 20  |....  . 0,1.... |
00000720  20 c8 92 20 78 66 61 63  74 6f 72 2a 78 2c 20 79  | .. xfactor*x, y|
00000730  66 61 63 74 6f 72 2a 79  0d 03 a2 0e fd 20 91 3e  |factor*y..... .>|
00000740  3d 74 69 6d 65 25 0d 03  ac 05 e1 0d 03 b6 05 3a  |=time%.........:|
00000750  0d 03 c0 0b dd 20 f2 67  72 65 79 0d 03 ca 07 78  |..... .grey....x|
00000760  3d 30 0d 03 d4 07 79 3d  30 0d 03 de 07 d1 3d 30  |=0....y=0.....=0|
00000770  0d 03 e8 05 f5 0d 03 f2  19 20 20 78 3d b6 28 94  |.........  x=.(.|
00000780  28 78 2a 78 2d 32 2a 78  2b 61 29 29 2d 79 0d 03  |(x*x-2*x+a))-y..|
00000790  fc 19 20 20 79 3d b6 28  94 28 79 2a 79 2d 32 2a  |..  y=.(.(y*y-2*|
000007a0  79 2d 62 29 29 2b 78 0d  04 06 21 20 20 63 6f 6c  |y-b))+x...!  col|
000007b0  25 3d b0 78 66 61 63 74  6f 72 2a 78 2c 20 79 66  |%=.xfactor*x, yf|
000007c0  61 63 74 6f 72 2a 79 29  0d 04 10 1f 20 20 e7 20  |actor*y)....  . |
000007d0  63 6f 6c 25 3c 63 6f 6c  6f 75 72 73 25 20 8c 20  |col%<colours% . |
000007e0  63 6f 6c 25 2b 3d 31 0d  04 1a 0e 20 20 e6 20 30  |col%+=1....  . 0|
000007f0  2c 63 6f 6c 25 0d 04 24  1d 20 20 c8 92 20 78 66  |,col%..$.  .. xf|
00000800  61 63 74 6f 72 2a 78 2c  20 79 66 61 63 74 6f 72  |actor*x, yfactor|
00000810  2a 79 0d 04 2e 0e fd 20  91 3e 3d 74 69 6d 65 25  |*y..... .>=time%|
00000820  0d 04 38 05 e1 0d ff                              |..8....|
00000827