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

StarInfo/Vernon/!FontTrix/Demos/rand2

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/rand2
Read OK:
File size: 0138 bytes
Load address: 0000
Exec address: 0000
File contents
   10REM > demo
   20LIBRARY "<Font_SR$Dir>.Procs"
   30PROCset_fontmax(100,100)
   40PROCinitialise(63,192)
   50
   60FOR loop%=1 TO 100
   70  font1=FNopen_font("Trinity.Medium", 30,30, RND(63),0, 63,192)
   80  PROCfont_SR(font1,"*Acorn User*",RND(1000),RND(900),RND(120)-60,RND(0)*2,RND(0)*2)
   90  PROCclose_font(font1)
  100NEXT
  110
  120PROCreset_fontmax
  130END
  140

� > demo
ț "<Font_SR$Dir>.Procs"
�set_fontmax(100,100)
(�initialise(63,192)
2
<� loop%=1 � 100
F@  font1=�open_font("Trinity.Medium", 30,30, �(63),0, 63,192)
PK  �font_SR(font1,"*Acorn User*",�(1000),�(900),�(120)-60,�(0)*2,�(0)*2)
Z  �close_font(font1)
d�
n
x�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 19 f2 73 65 74  |>.Procs".....set|
00000030  5f 66 6f 6e 74 6d 61 78  28 31 30 30 2c 31 30 30  |_fontmax(100,100|
00000040  29 0d 00 28 17 f2 69 6e  69 74 69 61 6c 69 73 65  |)..(..initialise|
00000050  28 36 33 2c 31 39 32 29  0d 00 32 04 0d 00 3c 13  |(63,192)..2...<.|
00000060  e3 20 6c 6f 6f 70 25 3d  31 20 b8 20 31 30 30 0d  |. loop%=1 . 100.|
00000070  00 46 40 20 20 66 6f 6e  74 31 3d a4 6f 70 65 6e  |.F@  font1=.open|
00000080  5f 66 6f 6e 74 28 22 54  72 69 6e 69 74 79 2e 4d  |_font("Trinity.M|
00000090  65 64 69 75 6d 22 2c 20  33 30 2c 33 30 2c 20 b3  |edium", 30,30, .|
000000a0  28 36 33 29 2c 30 2c 20  36 33 2c 31 39 32 29 0d  |(63),0, 63,192).|
000000b0  00 50 4b 20 20 f2 66 6f  6e 74 5f 53 52 28 66 6f  |.PK  .font_SR(fo|
000000c0  6e 74 31 2c 22 2a 41 63  6f 72 6e 20 55 73 65 72  |nt1,"*Acorn User|
000000d0  2a 22 2c b3 28 31 30 30  30 29 2c b3 28 39 30 30  |*",.(1000),.(900|
000000e0  29 2c b3 28 31 32 30 29  2d 36 30 2c b3 28 30 29  |),.(120)-60,.(0)|
000000f0  2a 32 2c b3 28 30 29 2a  32 29 0d 00 5a 18 20 20  |*2,.(0)*2)..Z.  |
00000100  f2 63 6c 6f 73 65 5f 66  6f 6e 74 28 66 6f 6e 74  |.close_font(font|
00000110  31 29 0d 00 64 05 ed 0d  00 6e 04 0d 00 78 12 f2  |1)..d....n...x..|
00000120  72 65 73 65 74 5f 66 6f  6e 74 6d 61 78 0d 00 82  |reset_fontmax...|
00000130  05 e0 0d 00 8c 04 0d ff                           |........|
00000138