Home » Personal collection » Acorn tapes » Electron_User » Electron_User_tape12a_acorn_eu_1990_june.wav » BANNER2
BANNER2
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 tapes » Electron_User » Electron_User_tape12a_acorn_eu_1990_june.wav |
Filename: | BANNER2 |
Read OK: | ✔ |
File size: | 061C bytes |
Load address: | 2000 |
Exec address: | 1900 |
Duplicates
There is 1 duplicate copy of this file in the archive:
- AEW website » database » database_5_25_discs_Electron-User-7-09_D-E709.ssd » BANNER2
- Personal collection » Acorn tapes » Electron_User » Electron_User_tape12a_acorn_eu_1990_june.wav » BANNER2
File contents
10REM ***************************** 20REM * Banner printing program * 30REM * * 40REM * Written by Wayne G Boyd * 50REM * * 60REM * (c) Electron User * 70REM * * 80REM ***************************** 90REM 100MODE 1 110DIM BLOCK 8 120PROCdisplay 130PROCprint 140PRINT"FINISHED..." 150END 160: 170: 180DEF PROCdisplay 190CLS 200REMPROCback 210PROCDBL("Banner Printing Program",-5,2) 220 COLOUR 2 230PROCDBL("=======================",-5,4) 240PROChighlight("Written by Wayne G Boyd",220,800,1) 250COLOUR 2 260PRINT''''''''"Enter the message you want to print:-" 270INPUT">> "mess$ 280COLOUR1 290PRINTTAB(0,16)"Enter hight value (1-8) "; 300G$=GET$ 310COLOUR 3 320IF G$<"1" OR G$>"8" THEN VDU7:GOTO 300 ELSE PRINTG$:SOUND1,-15,165,5 330hight=VAL(G$) 340COLOUR1 350PRINTTAB(0,19)"Enter width value (1-8) "; 360G$=GET$ 370COLOUR 3 380IF G$<"1" OR G$>"8" THEN VDU7:GOTO 360 ELSE PRINTG$:SOUND1,-15,165,5 390width=VAL(G$) 400PROChighlight("PRESS ANY KEY TO PRINT..",190,200,0) 410PRINTTAB(35,30); 420G=GET 430ENDPROC 440END 450 DEFPROCDBL(A$,x%,y%) 460IFx%<0THENPRINTTAB((38-LENA$)/2,y%);ELSEPRINTTAB(x%,y%); 470FORCH%=1TOLENA$ 480K%=FNCHAR(ASCMID$(A$,CH%,1)) 490VDU254,10,8,255,11 500NEXT 510ENDPROC 520DEF FNCHAR(C%) 530?BLOCK=C%: A%=10: X%=BLOCK: Y%=BLOCK DIV 256: CALL&FFF1 540FORJ%=0TO1 550VDU23,J%+254 560FORI%=2TO9 570VDUBLOCK?(J%*4+I%DIV2) 580NEXT, 590=0 600 610DEFPROChighlight(A$,X%,Y%,C%):VDU5:GCOL0,3:MOVEX%,Y%-4:PRINTA$:MOVEX%-8,Y%:PRINTA$:MOVEX%+8,Y%:PRINTA$:MOVEX%,Y%+4:PRINTA$:GCOL0,C%:MOVEX%,Y%:PRINTA$:VDU4:ENDPROC 620 DEFPROCprint 630 CLS 640PRINTTAB(0,2);mess$ 650VDU28,0,30,39,5 660y=(LEN(mess$)*32) 670PRINTTAB(0,10); 680 VDU2 690FOR l=1 TO y STEP 4 700y=y-4 710FOR do=1 TO width 720FOR A=960 TO 928 STEP -4 730IF POINT(y,A)<>0 THEN PRINT STRING$(hight,"*"); ELSE PRINT STRING$(hight," "); 740NEXT 750PRINT 760NEXT 770NEXT 780VDU3 790ENDPROC
#� ***************************** $� * Banner printing program * #� * * (#� * Written by Wayne G Boyd * 2#� * * <#� * (c) Electron User * F#� * * P#� ***************************** Z� d� 1 n � BLOCK 8 x�display � �print ��"FINISHED..." �� �: �: �� �display �� ��PROCback �(�DBL("Banner Printing Program",-5,2) � � 2 �(�DBL("=======================",-5,4) �4�highlight("Written by Wayne G Boyd",220,800,1) �� 2 5�''''''''"Enter the message you want to print:-" �">> "mess$ �1 "&�0,16)"Enter hight value (1-8) "; ,G$=� 6� 3 @4� G$<"1" � G$>"8" � �7:� �TlA � �G$:�1,-15,165,5 Jhight=�(G$) T�1 ^'�0,19)"Enter width value (1-8) "; hG$=� r� 3 |4� G$<"1" � G$>"8" � �7:� �DhA � �G$:�1,-15,165,5 �width=�(G$) �4�highlight("PRESS ANY KEY TO PRINT..",190,200,0) � �35,30); �G=� �� �� � ��DBL(A$,x%,y%) �%�x%<0��(38-�A$)/2,y%);��x%,y%); ��CH%=1��A$ �K%=�CHAR(��A$,CH%,1)) ��254,10,8,255,11 �� �� � �CHAR(C%) 6?BLOCK=C%: A%=10: X%=BLOCK: Y%=BLOCK � 256: �&FFF1 �J%=0�1 &�23,J%+254 0�I%=2�9 :�BLOCK?(J%*4+I%�2) D�, N=0 X bn��highlight(A$,X%,Y%,C%):�5:�0,3:�X%,Y%-4:�A$:�X%-8,Y%:�A$:�X%+8,Y%:�A$:�X%,Y%+4:�A$:�0,C%:�X%,Y%:�A$:�4:� l ��print v � ��0,2);mess$ ��28,0,30,39,5 �y=(�(mess$)*32) � �0,10); � �2 �� l=1 � y � 4 � y=y-4 �� do=1 � width �� A=960 � 928 � -4 �1� �y,A)<>0 � � �hight,"*"); � � �hight," "); �� �� �� � �3 � �
00000000 0d 00 0a 23 f4 20 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |...#. **********| 00000010 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| 00000020 2a 2a 2a 0d 00 14 24 f4 20 2a 20 20 42 61 6e 6e |***...$. * Bann| 00000030 65 72 20 70 72 69 6e 74 69 6e 67 20 70 72 6f 67 |er printing prog| 00000040 72 61 6d 20 20 2a 20 0d 00 1e 23 f4 20 2a 20 20 |ram * ...#. * | 00000050 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000060 20 20 20 20 20 20 20 20 20 2a 0d 00 28 23 f4 20 | *..(#. | 00000070 2a 20 20 57 72 69 74 74 65 6e 20 62 79 20 57 61 |* Written by Wa| 00000080 79 6e 65 20 47 20 42 6f 79 64 20 20 2a 0d 00 32 |yne G Boyd *..2| 00000090 23 f4 20 2a 20 20 20 20 20 20 20 20 20 20 20 20 |#. * | 000000a0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2a | *| 000000b0 0d 00 3c 23 f4 20 2a 20 20 20 20 20 28 63 29 20 |..<#. * (c) | 000000c0 45 6c 65 63 74 72 6f 6e 20 55 73 65 72 20 20 20 |Electron User | 000000d0 20 20 2a 0d 00 46 23 f4 20 2a 20 20 20 20 20 20 | *..F#. * | 000000e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 000000f0 20 20 20 20 20 2a 0d 00 50 23 f4 20 2a 2a 2a 2a | *..P#. ****| 00000100 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a |****************| 00000110 2a 2a 2a 2a 2a 2a 2a 2a 2a 0d 00 5a 05 f4 0d 00 |*********..Z....| 00000120 64 07 eb 20 31 0d 00 6e 0d de 20 42 4c 4f 43 4b |d.. 1..n.. BLOCK| 00000130 20 38 0d 00 78 0c f2 64 69 73 70 6c 61 79 0d 00 | 8..x..display..| 00000140 82 0a f2 70 72 69 6e 74 0d 00 8c 12 f1 22 46 49 |...print....."FI| 00000150 4e 49 53 48 45 44 2e 2e 2e 22 0d 00 96 05 e0 0d |NISHED..."......| 00000160 00 a0 05 3a 0d 00 aa 05 3a 0d 00 b4 0e dd 20 f2 |...:....:..... .| 00000170 64 69 73 70 6c 61 79 0d 00 be 05 db 0d 00 c8 0e |display.........| 00000180 f4 50 52 4f 43 62 61 63 6b 20 0d 00 d2 28 f2 44 |.PROCback ...(.D| 00000190 42 4c 28 22 42 61 6e 6e 65 72 20 50 72 69 6e 74 |BL("Banner Print| 000001a0 69 6e 67 20 50 72 6f 67 72 61 6d 22 2c 2d 35 2c |ing Program",-5,| 000001b0 32 29 0d 00 dc 08 20 fb 20 32 0d 00 e6 28 f2 44 |2).... . 2...(.D| 000001c0 42 4c 28 22 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |BL("============| 000001d0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 22 2c 2d 35 2c |===========",-5,| 000001e0 34 29 0d 00 f0 34 f2 68 69 67 68 6c 69 67 68 74 |4)...4.highlight| 000001f0 28 22 57 72 69 74 74 65 6e 20 62 79 20 57 61 79 |("Written by Way| 00000200 6e 65 20 47 20 42 6f 79 64 22 2c 32 32 30 2c 38 |ne G Boyd",220,8| 00000210 30 30 2c 31 29 20 0d 00 fa 07 fb 20 32 0d 01 04 |00,1) ..... 2...| 00000220 35 f1 27 27 27 27 27 27 27 27 22 45 6e 74 65 72 |5.''''''''"Enter| 00000230 20 74 68 65 20 6d 65 73 73 61 67 65 20 79 6f 75 | the message you| 00000240 20 77 61 6e 74 20 74 6f 20 70 72 69 6e 74 3a 2d | want to print:-| 00000250 22 20 0d 01 0e 0f e8 22 3e 3e 20 22 6d 65 73 73 |" .....">> "mess| 00000260 24 0d 01 18 06 fb 31 0d 01 22 26 f1 8a 30 2c 31 |$.....1.."&..0,1| 00000270 36 29 22 45 6e 74 65 72 20 68 69 67 68 74 20 76 |6)"Enter hight v| 00000280 61 6c 75 65 20 28 31 2d 38 29 20 22 3b 0d 01 2c |alue (1-8) ";..,| 00000290 08 47 24 3d be 0d 01 36 07 fb 20 33 0d 01 40 34 |.G$=...6.. 3..@4| 000002a0 e7 20 47 24 3c 22 31 22 20 84 20 47 24 3e 22 38 |. G$<"1" . G$>"8| 000002b0 22 20 8c 20 ef 37 3a e5 20 8d 54 6c 41 20 8b 20 |" . .7:. .TlA . | 000002c0 f1 47 24 3a d4 31 2c 2d 31 35 2c 31 36 35 2c 35 |.G$:.1,-15,165,5| 000002d0 0d 01 4a 0f 68 69 67 68 74 3d bb 28 47 24 29 0d |..J.hight=.(G$).| 000002e0 01 54 06 fb 31 0d 01 5e 27 f1 8a 30 2c 31 39 29 |.T..1..^'..0,19)| 000002f0 22 45 6e 74 65 72 20 77 69 64 74 68 20 76 61 6c |"Enter width val| 00000300 75 65 20 28 31 2d 38 29 20 22 3b 20 0d 01 68 08 |ue (1-8) "; ..h.| 00000310 47 24 3d be 0d 01 72 07 fb 20 33 0d 01 7c 34 e7 |G$=...r.. 3..|4.| 00000320 20 47 24 3c 22 31 22 20 84 20 47 24 3e 22 38 22 | G$<"1" . G$>"8"| 00000330 20 8c 20 ef 37 3a e5 20 8d 44 68 41 20 8b 20 f1 | . .7:. .DhA . .| 00000340 47 24 3a d4 31 2c 2d 31 35 2c 31 36 35 2c 35 0d |G$:.1,-15,165,5.| 00000350 01 86 0f 77 69 64 74 68 3d bb 28 47 24 29 0d 01 |...width=.(G$)..| 00000360 90 34 f2 68 69 67 68 6c 69 67 68 74 28 22 50 52 |.4.highlight("PR| 00000370 45 53 53 20 41 4e 59 20 4b 45 59 20 54 4f 20 50 |ESS ANY KEY TO P| 00000380 52 49 4e 54 2e 2e 22 2c 31 39 30 2c 32 30 30 2c |RINT..",190,200,| 00000390 30 29 0d 01 9a 0d f1 8a 33 35 2c 33 30 29 3b 0d |0)......35,30);.| 000003a0 01 a4 07 47 3d a5 0d 01 ae 05 e1 0d 01 b8 05 e0 |...G=...........| 000003b0 0d 01 c2 14 20 dd f2 44 42 4c 28 41 24 2c 78 25 |.... ..DBL(A$,x%| 000003c0 2c 79 25 29 0d 01 cc 25 e7 78 25 3c 30 8c f1 8a |,y%)...%.x%<0...| 000003d0 28 33 38 2d a9 41 24 29 2f 32 2c 79 25 29 3b 8b |(38-.A$)/2,y%);.| 000003e0 f1 8a 78 25 2c 79 25 29 3b 0d 01 d6 0e e3 43 48 |..x%,y%);.....CH| 000003f0 25 3d 31 b8 a9 41 24 0d 01 e0 19 4b 25 3d a4 43 |%=1..A$....K%=.C| 00000400 48 41 52 28 97 c1 41 24 2c 43 48 25 2c 31 29 29 |HAR(..A$,CH%,1))| 00000410 0d 01 ea 14 ef 32 35 34 2c 31 30 2c 38 2c 32 35 |.....254,10,8,25| 00000420 35 2c 31 31 0d 01 f4 05 ed 0d 01 fe 05 e1 0d 02 |5,11............| 00000430 08 0f dd 20 a4 43 48 41 52 28 43 25 29 0d 02 12 |... .CHAR(C%)...| 00000440 36 3f 42 4c 4f 43 4b 3d 43 25 3a 20 41 25 3d 31 |6?BLOCK=C%: A%=1| 00000450 30 3a 20 58 25 3d 42 4c 4f 43 4b 3a 20 59 25 3d |0: X%=BLOCK: Y%=| 00000460 42 4c 4f 43 4b 20 81 20 32 35 36 3a 20 d6 26 46 |BLOCK . 256: .&F| 00000470 46 46 31 0d 02 1c 0b e3 4a 25 3d 30 b8 31 0d 02 |FF1.....J%=0.1..| 00000480 26 0e ef 32 33 2c 4a 25 2b 32 35 34 0d 02 30 0b |&..23,J%+254..0.| 00000490 e3 49 25 3d 32 b8 39 0d 02 3a 16 ef 42 4c 4f 43 |.I%=2.9..:..BLOC| 000004a0 4b 3f 28 4a 25 2a 34 2b 49 25 81 32 29 0d 02 44 |K?(J%*4+I%.2)..D| 000004b0 06 ed 2c 0d 02 4e 06 3d 30 0d 02 58 05 20 0d 02 |..,..N.=0..X. ..| 000004c0 62 6e dd f2 68 69 67 68 6c 69 67 68 74 28 41 24 |bn..highlight(A$| 000004d0 2c 58 25 2c 59 25 2c 43 25 29 3a ef 35 3a e6 30 |,X%,Y%,C%):.5:.0| 000004e0 2c 33 3a ec 58 25 2c 59 25 2d 34 3a f1 41 24 3a |,3:.X%,Y%-4:.A$:| 000004f0 ec 58 25 2d 38 2c 59 25 3a f1 41 24 3a ec 58 25 |.X%-8,Y%:.A$:.X%| 00000500 2b 38 2c 59 25 3a f1 41 24 3a ec 58 25 2c 59 25 |+8,Y%:.A$:.X%,Y%| 00000510 2b 34 3a f1 41 24 3a e6 30 2c 43 25 3a ec 58 25 |+4:.A$:.0,C%:.X%| 00000520 2c 59 25 3a f1 41 24 3a ef 34 3a e1 0d 02 6c 0c |,Y%:.A$:.4:...l.| 00000530 20 dd f2 70 72 69 6e 74 0d 02 76 06 20 db 0d 02 | ..print..v. ...| 00000540 80 10 f1 8a 30 2c 32 29 3b 6d 65 73 73 24 0d 02 |....0,2);mess$..| 00000550 8a 13 ef 32 38 2c 30 2c 33 30 2c 33 39 2c 35 20 |...28,0,30,39,5 | 00000560 20 0d 02 94 13 79 3d 28 a9 28 6d 65 73 73 24 29 | ....y=(.(mess$)| 00000570 2a 33 32 29 0d 02 9e 0d f1 8a 30 2c 31 30 29 3b |*32)......0,10);| 00000580 20 0d 02 a8 07 20 ef 32 0d 02 b2 11 e3 20 6c 3d | .... .2..... l=| 00000590 31 20 b8 20 79 20 88 20 34 0d 02 bc 09 79 3d 79 |1 . y . 4....y=y| 000005a0 2d 34 0d 02 c6 12 e3 20 64 6f 3d 31 20 b8 20 77 |-4..... do=1 . w| 000005b0 69 64 74 68 0d 02 d0 16 e3 20 41 3d 39 36 30 20 |idth..... A=960 | 000005c0 b8 20 39 32 38 20 88 20 2d 34 0d 02 da 31 e7 20 |. 928 . -4...1. | 000005d0 b0 79 2c 41 29 3c 3e 30 20 8c 20 f1 20 c4 68 69 |.y,A)<>0 . . .hi| 000005e0 67 68 74 2c 22 2a 22 29 3b 20 8b 20 f1 20 c4 68 |ght,"*"); . . .h| 000005f0 69 67 68 74 2c 22 20 22 29 3b 20 0d 02 e4 05 ed |ight," "); .....| 00000600 0d 02 ee 05 f1 0d 02 f8 05 ed 0d 03 02 05 ed 0d |................| 00000610 03 0c 06 ef 33 0d 03 16 05 e1 0d ff |....3.......| 0000061c