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

P/PMenu

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/PMenu
Read OK:
File size: 06E7 bytes
Load address: FFFF1D00
Exec address: FFFF8023
File contents
   10REM EUG MENU ADAPTED FROM PROGS BY R. DIMOND
   20HIMEM=&2500
   30*LOAD $.CODE2  
   35D%=FALSE
   40D=FALSE
   50VDU22,4:VDU19,0,4;0;23;8202;0;0;0;
   60MOVE12,12:DRAW1267,12:DRAW1267,1011:DRAW12,1011:DRAW12,12
   70PRINTTAB(10,2)" EUG18 PROGRAMS MENU"
   80PRINTTAB(10,4)" ~~~~~~~~~~~~~~~~~~~" 
   90VDU28,2,29,35,5
  100COLOUR1:PRINT"PLEASE SELECT -":COLOUR3
  110PRINT'"<A> Creating Screen Fonts N Mosson" 
  120PRINT "<B> Convert2              N Mosson"
  140PRINT "<C> Unlock tapes          F Thomas"  
  150PRINT "<D> AutoStereoGrams       M Ford"
  160PRINT'"<E> Improved ElkPaint     M Ford" 
  170PRINT'"<F> Improved Diagram Dump M Ford"
  180PRINT'"<G> Improved Banner       M Ford"  
  190PRINT'"<Y> 40 Column text?"         
  195PRINT'"<R>  Return to Main Menu" 
  200*FX21,0
  210REPEAT:a%=INSTR("ABCDEFGYR",GET$):UNTILa%  
  220IFa%=1THENf$="CText":fl%=1:P$="CONVERT":PROCtext:GOTO40
  230IFa%=2THENCHAIN"Convrt2"
  240IFa%=3THENf$="UText":fl%=1:P$="UNLOCK":PROCtext:GOTO40
  260IFa%=4THENf$="AText":fl%=2:P$="AUTO":PROCtext:GOTO40
  270IFa%=5THENCHAIN"ElkPaint"
  280IFa%=6THENf$="DText":fl%=1:P$="DUMP":PROCtext:GOTO40
  290IFa%=7THENf$="BText":fl%=1:P$="BProg":PROCtext:GOTO40
  300IFa%=8THEND%=TRUE:GOTO40  
  305IFa%=9THENOSCLI"DIR $":CHAIN"MENU"   
  310END
  320DEFPROCtext
  330P=FALSE
  340f%=0
  350VDU22,6:f%=f%+1:CALL&A3F:OSCLI"LOAD "+f$+STR$f%+" 2500"
  355IF D% m%=6ELSE m%=3
  360VDU22,m%:IFNOTP VDU14:PRINT''"SHIFT TO SCROLL"
  370IF D% PROCcol40 ELSE CALL&A0F  
  380IFf%=fl% IFD PRINT"PRESS SPACE TO CONTINUE":G=GET:PROCpict:GOTO420
  390IFf%=fl% GOTO420
  400IFNOTP PRINT''"PRESS SPACE TO CONTINUE":G=GET
  410GOTO350
  420VDU3:IFNOTP PRINT''"<P> TO PRINT TEXT <M> FOR MENU <R> RUN  PROGRAM" ELSEGOTO40
  430REPEAT:a%=INSTR("PMR",GET$):UNTILa%
  440IFa%=1 P=TRUE:VDU2,15:GOTO340
  450IFa%=2 GOTO40
  460IF a%=3 CHAIN P$
  470UNTILFALSE
  480DEFPROCpict
  490d%=0
  500d%=d%+1:VDU22,0:OSCLI"LOAD PIC"+STR$d%
  510IFNOTP PRINT"PRESS SPACE TO CONTINUE":G=GET ELSE CALL &90A
  520IFd%=dl% VDU22,3:ENDPROC
  530GOTO500
 1000DEFPROCcol40
 1010addr=HIMEM
 1020REPEAT
 1030a%=?addr
 1040IFa%=&0D THENPRINT
 1050IFa%=&1A a%=&20
 1060IFa%=&20 AND POS>28 THENPRINT
 1070IF a%=&20 AND POS=0 THENREPEAT:addr=addr+1:a%=?addr:UNTILa%<>&20
 1080PRINTCHR$a%;
 1090addr=addr+1
 1100UNTILa%=0
 1110ENDPROC

.� EUG MENU ADAPTED FROM PROGS BY R. DIMOND
�=&2500
*LOAD $.CODE2  
#D%=�
(D=�
2"�22,4:�19,0,4;0;23;8202;0;0;0;
<.�12,12:�1267,12:�1267,1011:�12,1011:�12,12
F!�10,2)" EUG18 PROGRAMS MENU"
P"�10,4)" ~~~~~~~~~~~~~~~~~~~" 
Z�28,2,29,35,5
d�1:�"PLEASE SELECT -":�3
n+�'"<A> Creating Screen Fonts N Mosson" 
x*� "<B> Convert2              N Mosson"
�,� "<C> Unlock tapes          F Thomas"  
�(� "<D> AutoStereoGrams       M Ford"
�)�'"<E> Improved ElkPaint     M Ford" 
�(�'"<F> Improved Diagram Dump M Ford"
�*�'"<G> Improved Banner       M Ford"  
�$�'"<Y> 40 Column text?"         
�!�'"<R>  Return to Main Menu" 
�*FX21,0
��:a%=�"ABCDEFGYR",�):�a%  
�3�a%=1�f$="CText":fl%=1:P$="CONVERT":�text:�Th@
��a%=2��"Convrt2"
�2�a%=3�f$="UText":fl%=1:P$="UNLOCK":�text:�Th@
0�a%=4�f$="AText":fl%=2:P$="AUTO":�text:�Th@
�a%=5��"ElkPaint"
0�a%=6�f$="DText":fl%=1:P$="DUMP":�text:�Th@
"1�a%=7�f$="BText":fl%=1:P$="BProg":�text:�Th@
,�a%=8�D%=�:�Th@  
1�a%=9��"DIR $":�"MENU"   
6�
@
��text
JP=�
Tf%=0
^/�22,6:f%=f%+1:�&A3F:�"LOAD "+f$+�f%+" 2500"
c� D% m%=6� m%=3
h'�22,m%:�P �14:�''"SHIFT TO SCROLL"
r� D% �col40 � �&A0F  
|9�f%=fl% �D �"PRESS SPACE TO CONTINUE":G=�:�pict:�tdA
��f%=fl% �tdA
�(�P �''"PRESS SPACE TO CONTINUE":G=�
�	�D^A
�F�3:�P �''"<P> TO PRINT TEXT <M> FOR MENU <R> RUN  PROGRAM" ��Th@
��:a%=�"PMR",�):�a%
��a%=1 P=�:�2,15:�DTA
��a%=2 �Th@
�� a%=3 � P$
���
�
��pict
�d%=0
�!d%=d%+1:�22,0:�"LOAD PIC"+�d%
�/�P �"PRESS SPACE TO CONTINUE":G=� � � &90A
�d%=dl% �22,3:�
	�dtA
���col40
�
addr=�
��
a%=?addr
�a%=&0D ��
�a%=&1A a%=&20
$�a%=&20 � �>28 ��
.3� a%=&20 � �=0 ��:addr=addr+1:a%=?addr:�a%<>&20
8	�a%;
Baddr=addr+1
L	�a%=0
V�
�
00000000  0d 00 0a 2e f4 20 45 55  47 20 4d 45 4e 55 20 41  |..... EUG MENU A|
00000010  44 41 50 54 45 44 20 46  52 4f 4d 20 50 52 4f 47  |DAPTED FROM PROG|
00000020  53 20 42 59 20 52 2e 20  44 49 4d 4f 4e 44 0d 00  |S BY R. DIMOND..|
00000030  14 0b d3 3d 26 32 35 30  30 0d 00 1e 13 2a 4c 4f  |...=&2500....*LO|
00000040  41 44 20 24 2e 43 4f 44  45 32 20 20 0d 00 23 08  |AD $.CODE2  ..#.|
00000050  44 25 3d a3 0d 00 28 07  44 3d a3 0d 00 32 22 ef  |D%=...(.D=...2".|
00000060  32 32 2c 34 3a ef 31 39  2c 30 2c 34 3b 30 3b 32  |22,4:.19,0,4;0;2|
00000070  33 3b 38 32 30 32 3b 30  3b 30 3b 30 3b 0d 00 3c  |3;8202;0;0;0;..<|
00000080  2e ec 31 32 2c 31 32 3a  df 31 32 36 37 2c 31 32  |..12,12:.1267,12|
00000090  3a df 31 32 36 37 2c 31  30 31 31 3a df 31 32 2c  |:.1267,1011:.12,|
000000a0  31 30 31 31 3a df 31 32  2c 31 32 0d 00 46 21 f1  |1011:.12,12..F!.|
000000b0  8a 31 30 2c 32 29 22 20  45 55 47 31 38 20 50 52  |.10,2)" EUG18 PR|
000000c0  4f 47 52 41 4d 53 20 4d  45 4e 55 22 0d 00 50 22  |OGRAMS MENU"..P"|
000000d0  f1 8a 31 30 2c 34 29 22  20 7e 7e 7e 7e 7e 7e 7e  |..10,4)" ~~~~~~~|
000000e0  7e 7e 7e 7e 7e 7e 7e 7e  7e 7e 7e 7e 22 20 0d 00  |~~~~~~~~~~~~" ..|
000000f0  5a 11 ef 32 38 2c 32 2c  32 39 2c 33 35 2c 35 0d  |Z..28,2,29,35,5.|
00000100  00 64 1c fb 31 3a f1 22  50 4c 45 41 53 45 20 53  |.d..1:."PLEASE S|
00000110  45 4c 45 43 54 20 2d 22  3a fb 33 0d 00 6e 2b f1  |ELECT -":.3..n+.|
00000120  27 22 3c 41 3e 20 43 72  65 61 74 69 6e 67 20 53  |'"<A> Creating S|
00000130  63 72 65 65 6e 20 46 6f  6e 74 73 20 4e 20 4d 6f  |creen Fonts N Mo|
00000140  73 73 6f 6e 22 20 0d 00  78 2a f1 20 22 3c 42 3e  |sson" ..x*. "<B>|
00000150  20 43 6f 6e 76 65 72 74  32 20 20 20 20 20 20 20  | Convert2       |
00000160  20 20 20 20 20 20 20 4e  20 4d 6f 73 73 6f 6e 22  |       N Mosson"|
00000170  0d 00 8c 2c f1 20 22 3c  43 3e 20 55 6e 6c 6f 63  |...,. "<C> Unloc|
00000180  6b 20 74 61 70 65 73 20  20 20 20 20 20 20 20 20  |k tapes         |
00000190  20 46 20 54 68 6f 6d 61  73 22 20 20 0d 00 96 28  | F Thomas"  ...(|
000001a0  f1 20 22 3c 44 3e 20 41  75 74 6f 53 74 65 72 65  |. "<D> AutoStere|
000001b0  6f 47 72 61 6d 73 20 20  20 20 20 20 20 4d 20 46  |oGrams       M F|
000001c0  6f 72 64 22 0d 00 a0 29  f1 27 22 3c 45 3e 20 49  |ord"...).'"<E> I|
000001d0  6d 70 72 6f 76 65 64 20  45 6c 6b 50 61 69 6e 74  |mproved ElkPaint|
000001e0  20 20 20 20 20 4d 20 46  6f 72 64 22 20 0d 00 aa  |     M Ford" ...|
000001f0  28 f1 27 22 3c 46 3e 20  49 6d 70 72 6f 76 65 64  |(.'"<F> Improved|
00000200  20 44 69 61 67 72 61 6d  20 44 75 6d 70 20 4d 20  | Diagram Dump M |
00000210  46 6f 72 64 22 0d 00 b4  2a f1 27 22 3c 47 3e 20  |Ford"...*.'"<G> |
00000220  49 6d 70 72 6f 76 65 64  20 42 61 6e 6e 65 72 20  |Improved Banner |
00000230  20 20 20 20 20 20 4d 20  46 6f 72 64 22 20 20 0d  |      M Ford"  .|
00000240  00 be 24 f1 27 22 3c 59  3e 20 34 30 20 43 6f 6c  |..$.'"<Y> 40 Col|
00000250  75 6d 6e 20 74 65 78 74  3f 22 20 20 20 20 20 20  |umn text?"      |
00000260  20 20 20 0d 00 c3 21 f1  27 22 3c 52 3e 20 20 52  |   ...!.'"<R>  R|
00000270  65 74 75 72 6e 20 74 6f  20 4d 61 69 6e 20 4d 65  |eturn to Main Me|
00000280  6e 75 22 20 0d 00 c8 0b  2a 46 58 32 31 2c 30 0d  |nu" ....*FX21,0.|
00000290  00 d2 1e f5 3a 61 25 3d  a7 22 41 42 43 44 45 46  |....:a%=."ABCDEF|
000002a0  47 59 52 22 2c be 29 3a  fd 61 25 20 20 0d 00 dc  |GYR",.):.a%  ...|
000002b0  33 e7 61 25 3d 31 8c 66  24 3d 22 43 54 65 78 74  |3.a%=1.f$="CText|
000002c0  22 3a 66 6c 25 3d 31 3a  50 24 3d 22 43 4f 4e 56  |":fl%=1:P$="CONV|
000002d0  45 52 54 22 3a f2 74 65  78 74 3a e5 8d 54 68 40  |ERT":.text:..Th@|
000002e0  0d 00 e6 14 e7 61 25 3d  32 8c d7 22 43 6f 6e 76  |.....a%=2.."Conv|
000002f0  72 74 32 22 0d 00 f0 32  e7 61 25 3d 33 8c 66 24  |rt2"...2.a%=3.f$|
00000300  3d 22 55 54 65 78 74 22  3a 66 6c 25 3d 31 3a 50  |="UText":fl%=1:P|
00000310  24 3d 22 55 4e 4c 4f 43  4b 22 3a f2 74 65 78 74  |$="UNLOCK":.text|
00000320  3a e5 8d 54 68 40 0d 01  04 30 e7 61 25 3d 34 8c  |:..Th@...0.a%=4.|
00000330  66 24 3d 22 41 54 65 78  74 22 3a 66 6c 25 3d 32  |f$="AText":fl%=2|
00000340  3a 50 24 3d 22 41 55 54  4f 22 3a f2 74 65 78 74  |:P$="AUTO":.text|
00000350  3a e5 8d 54 68 40 0d 01  0e 15 e7 61 25 3d 35 8c  |:..Th@.....a%=5.|
00000360  d7 22 45 6c 6b 50 61 69  6e 74 22 0d 01 18 30 e7  |."ElkPaint"...0.|
00000370  61 25 3d 36 8c 66 24 3d  22 44 54 65 78 74 22 3a  |a%=6.f$="DText":|
00000380  66 6c 25 3d 31 3a 50 24  3d 22 44 55 4d 50 22 3a  |fl%=1:P$="DUMP":|
00000390  f2 74 65 78 74 3a e5 8d  54 68 40 0d 01 22 31 e7  |.text:..Th@.."1.|
000003a0  61 25 3d 37 8c 66 24 3d  22 42 54 65 78 74 22 3a  |a%=7.f$="BText":|
000003b0  66 6c 25 3d 31 3a 50 24  3d 22 42 50 72 6f 67 22  |fl%=1:P$="BProg"|
000003c0  3a f2 74 65 78 74 3a e5  8d 54 68 40 0d 01 2c 16  |:.text:..Th@..,.|
000003d0  e7 61 25 3d 38 8c 44 25  3d b9 3a e5 8d 54 68 40  |.a%=8.D%=.:..Th@|
000003e0  20 20 0d 01 31 1d e7 61  25 3d 39 8c ff 22 44 49  |  ..1..a%=9.."DI|
000003f0  52 20 24 22 3a d7 22 4d  45 4e 55 22 20 20 20 0d  |R $":."MENU"   .|
00000400  01 36 05 e0 0d 01 40 0a  dd f2 74 65 78 74 0d 01  |.6....@...text..|
00000410  4a 07 50 3d a3 0d 01 54  08 66 25 3d 30 0d 01 5e  |J.P=...T.f%=0..^|
00000420  2f ef 32 32 2c 36 3a 66  25 3d 66 25 2b 31 3a d6  |/.22,6:f%=f%+1:.|
00000430  26 41 33 46 3a ff 22 4c  4f 41 44 20 22 2b 66 24  |&A3F:."LOAD "+f$|
00000440  2b c3 66 25 2b 22 20 32  35 30 30 22 0d 01 63 13  |+.f%+" 2500"..c.|
00000450  e7 20 44 25 20 6d 25 3d  36 8b 20 6d 25 3d 33 0d  |. D% m%=6. m%=3.|
00000460  01 68 27 ef 32 32 2c 6d  25 3a e7 ac 50 20 ef 31  |.h'.22,m%:..P .1|
00000470  34 3a f1 27 27 22 53 48  49 46 54 20 54 4f 20 53  |4:.''"SHIFT TO S|
00000480  43 52 4f 4c 4c 22 0d 01  72 19 e7 20 44 25 20 f2  |CROLL"..r.. D% .|
00000490  63 6f 6c 34 30 20 8b 20  d6 26 41 30 46 20 20 0d  |col40 . .&A0F  .|
000004a0  01 7c 39 e7 66 25 3d 66  6c 25 20 e7 44 20 f1 22  |.|9.f%=fl% .D ."|
000004b0  50 52 45 53 53 20 53 50  41 43 45 20 54 4f 20 43  |PRESS SPACE TO C|
000004c0  4f 4e 54 49 4e 55 45 22  3a 47 3d a5 3a f2 70 69  |ONTINUE":G=.:.pi|
000004d0  63 74 3a e5 8d 74 64 41  0d 01 86 11 e7 66 25 3d  |ct:..tdA.....f%=|
000004e0  66 6c 25 20 e5 8d 74 64  41 0d 01 90 28 e7 ac 50  |fl% ..tdA...(..P|
000004f0  20 f1 27 27 22 50 52 45  53 53 20 53 50 41 43 45  | .''"PRESS SPACE|
00000500  20 54 4f 20 43 4f 4e 54  49 4e 55 45 22 3a 47 3d  | TO CONTINUE":G=|
00000510  a5 0d 01 9a 09 e5 8d 44  5e 41 0d 01 a4 46 ef 33  |.......D^A...F.3|
00000520  3a e7 ac 50 20 f1 27 27  22 3c 50 3e 20 54 4f 20  |:..P .''"<P> TO |
00000530  50 52 49 4e 54 20 54 45  58 54 20 3c 4d 3e 20 46  |PRINT TEXT <M> F|
00000540  4f 52 20 4d 45 4e 55 20  3c 52 3e 20 52 55 4e 20  |OR MENU <R> RUN |
00000550  20 50 52 4f 47 52 41 4d  22 20 8b e5 8d 54 68 40  | PROGRAM" ...Th@|
00000560  0d 01 ae 16 f5 3a 61 25  3d a7 22 50 4d 52 22 2c  |.....:a%=."PMR",|
00000570  be 29 3a fd 61 25 0d 01  b8 19 e7 61 25 3d 31 20  |.):.a%.....a%=1 |
00000580  50 3d b9 3a ef 32 2c 31  35 3a e5 8d 44 54 41 0d  |P=.:.2,15:..DTA.|
00000590  01 c2 0f e7 61 25 3d 32  20 e5 8d 54 68 40 0d 01  |....a%=2 ..Th@..|
000005a0  cc 0f e7 20 61 25 3d 33  20 d7 20 50 24 0d 01 d6  |... a%=3 . P$...|
000005b0  06 fd a3 0d 01 e0 0a dd  f2 70 69 63 74 0d 01 ea  |.........pict...|
000005c0  08 64 25 3d 30 0d 01 f4  21 64 25 3d 64 25 2b 31  |.d%=0...!d%=d%+1|
000005d0  3a ef 32 32 2c 30 3a ff  22 4c 4f 41 44 20 50 49  |:.22,0:."LOAD PI|
000005e0  43 22 2b c3 64 25 0d 01  fe 2f e7 ac 50 20 f1 22  |C"+.d%.../..P ."|
000005f0  50 52 45 53 53 20 53 50  41 43 45 20 54 4f 20 43  |PRESS SPACE TO C|
00000600  4f 4e 54 49 4e 55 45 22  3a 47 3d a5 20 8b 20 d6  |ONTINUE":G=. . .|
00000610  20 26 39 30 41 0d 02 08  13 e7 64 25 3d 64 6c 25  | &90A.....d%=dl%|
00000620  20 ef 32 32 2c 33 3a e1  0d 02 12 09 e5 8d 64 74  | .22,3:.......dt|
00000630  41 0d 03 e8 0b dd f2 63  6f 6c 34 30 0d 03 f2 0a  |A......col40....|
00000640  61 64 64 72 3d 93 0d 03  fc 05 f5 0d 04 06 0c 61  |addr=..........a|
00000650  25 3d 3f 61 64 64 72 0d  04 10 0e e7 61 25 3d 26  |%=?addr.....a%=&|
00000660  30 44 20 8c f1 0d 04 1a  12 e7 61 25 3d 26 31 41  |0D .......a%=&1A|
00000670  20 61 25 3d 26 32 30 0d  04 24 15 e7 61 25 3d 26  | a%=&20..$..a%=&|
00000680  32 30 20 80 20 b1 3e 32  38 20 8c f1 0d 04 2e 33  |20 . .>28 .....3|
00000690  e7 20 61 25 3d 26 32 30  20 80 20 b1 3d 30 20 8c  |. a%=&20 . .=0 .|
000006a0  f5 3a 61 64 64 72 3d 61  64 64 72 2b 31 3a 61 25  |.:addr=addr+1:a%|
000006b0  3d 3f 61 64 64 72 3a fd  61 25 3c 3e 26 32 30 0d  |=?addr:.a%<>&20.|
000006c0  04 38 09 f1 bd 61 25 3b  0d 04 42 0f 61 64 64 72  |.8...a%;..B.addr|
000006d0  3d 61 64 64 72 2b 31 0d  04 4c 09 fd 61 25 3d 30  |=addr+1..L..a%=0|
000006e0  0d 04 56 05 e1 0d ff                              |..V....|
000006e7
P/PMenu.m0
P/PMenu.m1
P/PMenu.m2
P/PMenu.m4
P/PMenu.m5