Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_18.ADF » P/btext1

P/btext1

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 » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_18.ADF
Filename: P/btext1
Read OK:
File size: 074B bytes
Load address: 3A204556
Exec address: 2E502E31
File contents
                         Large Text Program

       In June 1989, Electron User published two programs to 
print outlarge banners on paper. One of these used the 
Electron's built-incharacter set, and the other supplied its 
own, using DATA statements. Ihave rewritten most of the 
latter program, keeping the data from theoriginal, to print 
messages on the screen instead.
       Run the program and you will be asked to enter your 
message. Thiscan only contain capital letters, and some 
punctuation symbols (no lowercase letters, or numbers). If 
you enter a symbol which the program doesnot recognise, you 
will hear a beep.
       Next, enter the position of the top-left corner of the 
message, ingraphics coordinates (these run from 0 to 1279 
from left to right, andfrom 0 to 1023 from bottom to top). 
The width and height of the messageshould also be in graphics 
coordinates.
       You will also be asked for the gap between the letters, 
in mode 4pixels. 8 pixels is usually about right (1 character 
cell)
       If you want to produce a message which is more than one 
line long,build it up one line at a time using the LOAD/SAVE 
facility. When askedfor the LOAD filename, enter the filename 
you used for the SAVE filenamelast time you ran the program, 
or press Return to start with a blankscreen. Similarly, when 
asked for the SAVE filename, just press Return ifyou don't 
want to save the result.
       To load the screens back into the computer, use:
           MODE 4
           *LOAD <filename> 5800
       You may want to use these large messages to create 
autostereograms.See my separate article on how to do this. 
They may also be useful intitle screens for games, or 
headings for documents, etc. etc.

                                           Matthew Ford
00000000  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000010  20 20 20 20 20 20 20 20  20 4c 61 72 67 65 20 54  |         Large T|
00000020  65 78 74 20 50 72 6f 67  72 61 6d 0d 0d 20 20 20  |ext Program..   |
00000030  20 20 20 20 49 6e 20 4a  75 6e 65 20 31 39 38 39  |    In June 1989|
00000040  2c 20 45 6c 65 63 74 72  6f 6e 20 55 73 65 72 1a  |, Electron User.|
00000050  20 70 75 62 6c 69 73 68  65 64 1a 20 74 77 6f 1a  | published. two.|
00000060  20 70 72 6f 67 72 61 6d  73 1a 20 74 6f 20 0d 70  | programs. to .p|
00000070  72 69 6e 74 20 6f 75 74  10 6c 61 72 67 65 1a 20  |rint out.large. |
00000080  62 61 6e 6e 65 72 73 1a  20 6f 6e 1a 20 70 61 70  |banners. on. pap|
00000090  65 72 2e 1a 20 4f 6e 65  1a 20 6f 66 1a 20 74 68  |er.. One. of. th|
000000a0  65 73 65 1a 20 75 73 65  64 20 74 68 65 1a 20 0d  |ese. used the. .|
000000b0  45 6c 65 63 74 72 6f 6e  27 73 1a 20 62 75 69 6c  |Electron's. buil|
000000c0  74 2d 69 6e 10 63 68 61  72 61 63 74 65 72 20 73  |t-in.character s|
000000d0  65 74 2c 20 61 6e 64 20  74 68 65 20 6f 74 68 65  |et, and the othe|
000000e0  72 20 73 75 70 70 6c 69  65 64 20 69 74 73 20 0d  |r supplied its .|
000000f0  6f 77 6e 2c 1a 20 75 73  69 6e 67 1a 20 44 41 54  |own,. using. DAT|
00000100  41 1a 20 73 74 61 74 65  6d 65 6e 74 73 2e 20 49  |A. statements. I|
00000110  10 68 61 76 65 1a 20 72  65 77 72 69 74 74 65 6e  |.have. rewritten|
00000120  1a 20 6d 6f 73 74 1a 20  6f 66 1a 20 74 68 65 1a  |. most. of. the.|
00000130  20 0d 6c 61 74 74 65 72  1a 20 70 72 6f 67 72 61  | .latter. progra|
00000140  6d 2c 20 6b 65 65 70 69  6e 67 20 74 68 65 20 64  |m, keeping the d|
00000150  61 74 61 20 66 72 6f 6d  20 74 68 65 10 6f 72 69  |ata from the.ori|
00000160  67 69 6e 61 6c 2c 20 74  6f 20 70 72 69 6e 74 20  |ginal, to print |
00000170  0d 6d 65 73 73 61 67 65  73 20 6f 6e 20 74 68 65  |.messages on the|
00000180  20 73 63 72 65 65 6e 20  69 6e 73 74 65 61 64 2e  | screen instead.|
00000190  0d 20 20 20 20 20 20 20  52 75 6e 20 74 68 65 20  |.       Run the |
000001a0  70 72 6f 67 72 61 6d 20  61 6e 64 20 79 6f 75 1a  |program and you.|
000001b0  20 77 69 6c 6c 1a 20 62  65 20 61 73 6b 65 64 20  | will. be asked |
000001c0  74 6f 20 65 6e 74 65 72  20 79 6f 75 72 20 0d 6d  |to enter your .m|
000001d0  65 73 73 61 67 65 2e 20  54 68 69 73 10 63 61 6e  |essage. This.can|
000001e0  20 6f 6e 6c 79 20 63 6f  6e 74 61 69 6e 20 63 61  | only contain ca|
000001f0  70 69 74 61 6c 20 6c 65  74 74 65 72 73 2c 20 61  |pital letters, a|
00000200  6e 64 20 73 6f 6d 65 1a  20 0d 70 75 6e 63 74 75  |nd some. .punctu|
00000210  61 74 69 6f 6e 1a 20 73  79 6d 62 6f 6c 73 20 28  |ation. symbols (|
00000220  6e 6f 20 6c 6f 77 65 72  10 63 61 73 65 20 6c 65  |no lower.case le|
00000230  74 74 65 72 73 2c 20 6f  72 20 6e 75 6d 62 65 72  |tters, or number|
00000240  73 29 2e 20 49 66 20 0d  79 6f 75 20 65 6e 74 65  |s). If .you ente|
00000250  72 20 61 20 73 79 6d 62  6f 6c 1a 20 77 68 69 63  |r a symbol. whic|
00000260  68 1a 20 74 68 65 1a 20  70 72 6f 67 72 61 6d 20  |h. the. program |
00000270  64 6f 65 73 10 6e 6f 74  20 72 65 63 6f 67 6e 69  |does.not recogni|
00000280  73 65 2c 20 79 6f 75 20  0d 77 69 6c 6c 20 68 65  |se, you .will he|
00000290  61 72 20 61 20 62 65 65  70 2e 0d 20 20 20 20 20  |ar a beep..     |
000002a0  20 20 4e 65 78 74 2c 20  65 6e 74 65 72 20 74 68  |  Next, enter th|
000002b0  65 20 70 6f 73 69 74 69  6f 6e 20 6f 66 1a 20 74  |e position of. t|
000002c0  68 65 20 74 6f 70 2d 6c  65 66 74 20 63 6f 72 6e  |he top-left corn|
000002d0  65 72 20 6f 66 20 74 68  65 20 0d 6d 65 73 73 61  |er of the .messa|
000002e0  67 65 2c 20 69 6e 10 67  72 61 70 68 69 63 73 20  |ge, in.graphics |
000002f0  63 6f 6f 72 64 69 6e 61  74 65 73 20 28 74 68 65  |coordinates (the|
00000300  73 65 20 72 75 6e 20 66  72 6f 6d 20 30 1a 20 74  |se run from 0. t|
00000310  6f 1a 20 31 32 37 39 1a  20 0d 66 72 6f 6d 1a 20  |o. 1279. .from. |
00000320  6c 65 66 74 20 74 6f 20  72 69 67 68 74 2c 20 61  |left to right, a|
00000330  6e 64 10 66 72 6f 6d 20  30 20 74 6f 20 31 30 32  |nd.from 0 to 102|
00000340  33 20 66 72 6f 6d 20 62  6f 74 74 6f 6d 20 74 6f  |3 from bottom to|
00000350  20 74 6f 70 29 2e 20 0d  54 68 65 20 77 69 64 74  | top). .The widt|
00000360  68 1a 20 61 6e 64 1a 20  68 65 69 67 68 74 1a 20  |h. and. height. |
00000370  6f 66 20 74 68 65 20 6d  65 73 73 61 67 65 10 73  |of the message.s|
00000380  68 6f 75 6c 64 20 61 6c  73 6f 20 62 65 20 69 6e  |hould also be in|
00000390  20 67 72 61 70 68 69 63  73 20 0d 63 6f 6f 72 64  | graphics .coord|
000003a0  69 6e 61 74 65 73 2e 0d  20 20 20 20 20 20 20 59  |inates..       Y|
000003b0  6f 75 20 77 69 6c 6c 20  61 6c 73 6f 20 62 65 20  |ou will also be |
000003c0  61 73 6b 65 64 1a 20 66  6f 72 1a 20 74 68 65 20  |asked. for. the |
000003d0  67 61 70 20 62 65 74 77  65 65 6e 20 74 68 65 20  |gap between the |
000003e0  6c 65 74 74 65 72 73 2c  20 0d 69 6e 20 6d 6f 64  |letters, .in mod|
000003f0  65 20 34 10 70 69 78 65  6c 73 2e 20 38 20 70 69  |e 4.pixels. 8 pi|
00000400  78 65 6c 73 20 69 73 20  75 73 75 61 6c 6c 79 20  |xels is usually |
00000410  61 62 6f 75 74 20 72 69  67 68 74 20 28 31 20 63  |about right (1 c|
00000420  68 61 72 61 63 74 65 72  20 0d 63 65 6c 6c 29 0d  |haracter .cell).|
00000430  20 20 20 20 20 20 20 49  66 20 79 6f 75 20 77 61  |       If you wa|
00000440  6e 74 20 74 6f 20 70 72  6f 64 75 63 65 1a 20 61  |nt to produce. a|
00000450  20 6d 65 73 73 61 67 65  20 77 68 69 63 68 20 69  | message which i|
00000460  73 20 6d 6f 72 65 20 74  68 61 6e 20 6f 6e 65 20  |s more than one |
00000470  0d 6c 69 6e 65 20 6c 6f  6e 67 2c 10 62 75 69 6c  |.line long,.buil|
00000480  64 20 69 74 20 75 70 20  6f 6e 65 20 6c 69 6e 65  |d it up one line|
00000490  20 61 74 1a 20 61 1a 20  74 69 6d 65 1a 20 75 73  | at. a. time. us|
000004a0  69 6e 67 20 74 68 65 20  4c 4f 41 44 2f 53 41 56  |ing the LOAD/SAV|
000004b0  45 20 0d 66 61 63 69 6c  69 74 79 2e 20 57 68 65  |E .facility. Whe|
000004c0  6e 20 61 73 6b 65 64 10  66 6f 72 20 74 68 65 20  |n asked.for the |
000004d0  4c 4f 41 44 20 66 69 6c  65 6e 61 6d 65 2c 20 65  |LOAD filename, e|
000004e0  6e 74 65 72 20 74 68 65  20 66 69 6c 65 6e 61 6d  |nter the filenam|
000004f0  65 20 0d 79 6f 75 20 75  73 65 64 1a 20 66 6f 72  |e .you used. for|
00000500  1a 20 74 68 65 20 53 41  56 45 20 66 69 6c 65 6e  |. the SAVE filen|
00000510  61 6d 65 10 6c 61 73 74  1a 20 74 69 6d 65 1a 20  |ame.last. time. |
00000520  79 6f 75 1a 20 72 61 6e  20 74 68 65 20 70 72 6f  |you. ran the pro|
00000530  67 72 61 6d 2c 20 0d 6f  72 20 70 72 65 73 73 20  |gram, .or press |
00000540  52 65 74 75 72 6e 20 74  6f 20 73 74 61 72 74 1a  |Return to start.|
00000550  20 77 69 74 68 1a 20 61  1a 20 62 6c 61 6e 6b 10  | with. a. blank.|
00000560  73 63 72 65 65 6e 2e 20  53 69 6d 69 6c 61 72 6c  |screen. Similarl|
00000570  79 2c 20 77 68 65 6e 20  0d 61 73 6b 65 64 1a 20  |y, when .asked. |
00000580  66 6f 72 20 74 68 65 20  53 41 56 45 20 66 69 6c  |for the SAVE fil|
00000590  65 6e 61 6d 65 2c 20 6a  75 73 74 20 70 72 65 73  |ename, just pres|
000005a0  73 20 52 65 74 75 72 6e  20 69 66 10 79 6f 75 20  |s Return if.you |
000005b0  64 6f 6e 27 74 20 0d 77  61 6e 74 20 74 6f 20 73  |don't .want to s|
000005c0  61 76 65 20 74 68 65 20  72 65 73 75 6c 74 2e 0d  |ave the result..|
000005d0  20 20 20 20 20 20 20 54  6f 20 6c 6f 61 64 20 74  |       To load t|
000005e0  68 65 20 73 63 72 65 65  6e 73 20 62 61 63 6b 20  |he screens back |
000005f0  69 6e 74 6f 20 74 68 65  20 63 6f 6d 70 75 74 65  |into the compute|
00000600  72 2c 20 75 73 65 3a 0d  20 20 20 20 20 20 20 20  |r, use:.        |
00000610  20 20 20 4d 4f 44 45 20  34 0d 20 20 20 20 20 20  |   MODE 4.      |
00000620  20 20 20 20 20 2a 4c 4f  41 44 20 3c 66 69 6c 65  |     *LOAD <file|
00000630  6e 61 6d 65 3e 20 35 38  30 30 0d 20 20 20 20 20  |name> 5800.     |
00000640  20 20 59 6f 75 20 6d 61  79 20 77 61 6e 74 20 74  |  You may want t|
00000650  6f 20 75 73 65 20 74 68  65 73 65 20 6c 61 72 67  |o use these larg|
00000660  65 20 6d 65 73 73 61 67  65 73 20 74 6f 20 63 72  |e messages to cr|
00000670  65 61 74 65 20 0d 61 75  74 6f 73 74 65 72 65 6f  |eate .autostereo|
00000680  67 72 61 6d 73 2e 10 53  65 65 20 6d 79 20 73 65  |grams..See my se|
00000690  70 61 72 61 74 65 20 61  72 74 69 63 6c 65 20 6f  |parate article o|
000006a0  6e 1a 20 68 6f 77 1a 20  74 6f 1a 20 64 6f 1a 20  |n. how. to. do. |
000006b0  74 68 69 73 2e 1a 20 0d  54 68 65 79 20 6d 61 79  |this.. .They may|
000006c0  20 61 6c 73 6f 20 62 65  20 75 73 65 66 75 6c 20  | also be useful |
000006d0  69 6e 10 74 69 74 6c 65  20 73 63 72 65 65 6e 73  |in.title screens|
000006e0  20 66 6f 72 20 67 61 6d  65 73 2c 20 6f 72 20 0d  | for games, or .|
000006f0  68 65 61 64 69 6e 67 73  20 66 6f 72 20 64 6f 63  |headings for doc|
00000700  75 6d 65 6e 74 73 2c 20  65 74 63 2e 20 65 74 63  |uments, etc. etc|
00000710  2e 0d 0d 20 20 20 20 20  20 20 20 20 20 20 20 20  |...             |
00000720  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000730  20 20 20 20 20 20 20 20  20 20 20 20 20 20 4d 61  |              Ma|
00000740  74 74 68 65 77 20 46 6f  72 64 0d                 |tthew Ford.|
0000074b
P/btext1.m0
P/btext1.m1
P/btext1.m2
P/btext1.m4
P/btext1.m5