Home » Archimedes archive » Acorn User » AU 1997-09 B.adf » Regulars » StarInfo/Vernon/!FontTrix/Demos/demo7b

StarInfo/Vernon/!FontTrix/Demos/demo7b

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-09 B.adf » Regulars
Filename: StarInfo/Vernon/!FontTrix/Demos/demo7b
Read OK:
File size: 015A bytes
Load address: 0000
Exec address: 0000
File contents
   10REM > demo
   20LIBRARY "<Font_SR$Dir>.Procs"
   30PROCset_fontmax(50,50)
   40
   50PROCinitialise(63,192)
   60font1=FNopen_font("Trinity.Bold", 30,30, 2,0, 63,192)
   70
   80x%=50
   90FOR n%=90 TO 1080 STEP 6
  100  x%=x%+4
  110  y%=400+((EXP(n%/600))*50*COSRAD(n%))
  120  PROCfont_scale(font1,"*Acorn User",x%,y%,n%/1080,n%/1080)
  130NEXT
  140
  150PROCclose_font(font1)
  160PROCreset_fontmax
  180END

� > demo
ț "<Font_SR$Dir>.Procs"
�set_fontmax(50,50)
(
2�initialise(63,192)
<8font1=�open_font("Trinity.Bold", 30,30, 2,0, 63,192)
F
P	x%=50
Z� n%=90 � 1080 � 6
d
  x%=x%+4
n$  y%=400+((�(n%/600))*50*��(n%))
x<  �font_scale(font1,"*Acorn User",x%,y%,n%/1080,n%/1080)
��
�
��close_font(font1)
��reset_fontmax
��
�
00000000  0d 00 0a 0c f4 20 3e 20  64 65 6d 6f 0d 00 14 1c  |..... > demo....|
00000010  c8 9b 20 22 3c 46 6f 6e  74 5f 53 52 24 44 69 72  |.. "<Font_SR$Dir|
00000020  3e 2e 50 72 6f 63 73 22  0d 00 1e 17 f2 73 65 74  |>.Procs".....set|
00000030  5f 66 6f 6e 74 6d 61 78  28 35 30 2c 35 30 29 0d  |_fontmax(50,50).|
00000040  00 28 04 0d 00 32 17 f2  69 6e 69 74 69 61 6c 69  |.(...2..initiali|
00000050  73 65 28 36 33 2c 31 39  32 29 0d 00 3c 38 66 6f  |se(63,192)..<8fo|
00000060  6e 74 31 3d a4 6f 70 65  6e 5f 66 6f 6e 74 28 22  |nt1=.open_font("|
00000070  54 72 69 6e 69 74 79 2e  42 6f 6c 64 22 2c 20 33  |Trinity.Bold", 3|
00000080  30 2c 33 30 2c 20 32 2c  30 2c 20 36 33 2c 31 39  |0,30, 2,0, 63,19|
00000090  32 29 0d 00 46 04 0d 00  50 09 78 25 3d 35 30 0d  |2)..F...P.x%=50.|
000000a0  00 5a 16 e3 20 6e 25 3d  39 30 20 b8 20 31 30 38  |.Z.. n%=90 . 108|
000000b0  30 20 88 20 36 0d 00 64  0d 20 20 78 25 3d 78 25  |0 . 6..d.  x%=x%|
000000c0  2b 34 0d 00 6e 24 20 20  79 25 3d 34 30 30 2b 28  |+4..n$  y%=400+(|
000000d0  28 a1 28 6e 25 2f 36 30  30 29 29 2a 35 30 2a 9b  |(.(n%/600))*50*.|
000000e0  b2 28 6e 25 29 29 0d 00  78 3c 20 20 f2 66 6f 6e  |.(n%))..x<  .fon|
000000f0  74 5f 73 63 61 6c 65 28  66 6f 6e 74 31 2c 22 2a  |t_scale(font1,"*|
00000100  41 63 6f 72 6e 20 55 73  65 72 22 2c 78 25 2c 79  |Acorn User",x%,y|
00000110  25 2c 6e 25 2f 31 30 38  30 2c 6e 25 2f 31 30 38  |%,n%/1080,n%/108|
00000120  30 29 0d 00 82 05 ed 0d  00 8c 04 0d 00 96 16 f2  |0)..............|
00000130  63 6c 6f 73 65 5f 66 6f  6e 74 28 66 6f 6e 74 31  |close_font(font1|
00000140  29 0d 00 a0 12 f2 72 65  73 65 74 5f 66 6f 6e 74  |).....reset_font|
00000150  6d 61 78 0d 00 b4 05 e0  0d ff                    |max.......|
0000015a