Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_17.ADF » PROGS/PMENU

PROGS/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_17.ADF
Filename: PROGS/PMENU
Read OK:
File size: 05D8 bytes
Load address: FFFF1D00
Exec address: FFFF8023
File contents
   10REM EUG MENU ADAPTED FROM PROGS BY R. DIMOND
   20HIMEM=&2500
   30*LOAD $.CODE2
   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,3)" EUG17 PROGRAMS MENU"
   80PRINTTAB(10,5)"~~~~~~~~~~~~~~~~~~~~"
   90VDU28,10,29,35,7 
  100COLOUR1:PRINT"PLEASE SELECT -":COLOUR3
  110PRINT'"<A>  CALANDERS"
  120PRINT'"<B>  ROM LISTING"
  130PRINT'"<C>  INTRODUCTION TO SOME"''"PROGS FROM PAUL WATERMAN"
  140PRINT'"<D>  CODER"
  150PRINT'"<E>  SOUND LIBRARY" 
  160PRINT'"<F>  VIEW-MENU"
  170PRINT'"<G>  CHRISTMAS PICTURES"
  180PRINT'"<H>  WIN THE LOTTERY 1?"
  185PRINT'"<I>  WIN THE LOTTERY 2?"
  190PRINT'"<R>  Return to Main Menu"
  200*FX21,0
  210REPEAT:a%=INSTR("ABCDEFGHIR",GET$):UNTILa% 
  220IFa%=1THENf$="CALTXT":fl%=1:m%=6:P$="CALANDR":PROCtext:GOTO30
  230IFa%=2THENf$="ROMTXT":fl%=2:m%=3:P$="DWROMS":PROCtext:GOTO30
  240IFa%=3THENf$="GAMTXT":fl%=1:m%=3:P$="SCREEN":PROCtext:GOTO30  
  250IFa%=4THENCHAIN"CODER" 
  260IFa%=5THENCHAIN"SOUND"
  270IFa%=6THENCHAIN"VMENU"
  280IFa%=7THENCHAIN"CPICS"
  290IFa%=8THENf$="WALKER":fl%=1:m%=3:P$="LOTTERY":PROCtext:GOTO30 
  295IFa%=9THENCHAIN"LOTT2"
  300IFa%=10THENOSCLI"DIR $":CHAIN"MENU" 
  310END
  320DEFPROCtext
  330P=FALSE
  340f%=0
  350VDU22,6:f%=f%+1:CALL&A3F:OSCLI"LOAD "+f$+STR$f%+" 2500"
  360VDU22,m%:IFNOTP VDU14:PRINT''"SHIFT TO SCROLL" 
  370CALL&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" ELSEGOTO30    
  430REPEAT:a%=INSTR("PMR",GET$):UNTILa%
  440IFa%=1 P=TRUE:VDU2,15:GOTO340
  450IFa%=2 GOTO30
  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

.� EUG MENU ADAPTED FROM PROGS BY R. DIMOND
�=&2500
*LOAD $.CODE2
(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,3)" EUG17 PROGRAMS MENU"
P!�10,5)"~~~~~~~~~~~~~~~~~~~~"
Z�28,10,29,35,7 
d�1:�"PLEASE SELECT -":�3
n�'"<A>  CALANDERS"
x�'"<B>  ROM LISTING"
�=�'"<C>  INTRODUCTION TO SOME"''"PROGS FROM PAUL WATERMAN"
��'"<D>  CODER"
��'"<E>  SOUND LIBRARY" 
��'"<F>  VIEW-MENU"
��'"<G>  CHRISTMAS PICTURES"
��'"<H>  WIN THE LOTTERY 1?"
��'"<I>  WIN THE LOTTERY 2?"
� �'"<R>  Return to Main Menu"
�*FX21,0
��:a%=�"ABCDEFGHIR",�):�a% 
�9�a%=1�f$="CALTXT":fl%=1:m%=6:P$="CALANDR":�text:�T^@
�8�a%=2�f$="ROMTXT":fl%=2:m%=3:P$="DWROMS":�text:�T^@
�:�a%=3�f$="GAMTXT":fl%=1:m%=3:P$="SCREEN":�text:�T^@  
��a%=4��"CODER" 
�a%=5��"SOUND"
�a%=6��"VMENU"
�a%=7��"CPICS"
":�a%=8�f$="WALKER":fl%=1:m%=3:P$="LOTTERY":�text:�T^@ 
'�a%=9��"LOTT2"
,�a%=10��"DIR $":�"MENU" 
6�
@
��text
JP=�
Tf%=0
^/�22,6:f%=f%+1:�&A3F:�"LOAD "+f$+�f%+" 2500"
h(�22,m%:�P �14:�''"SHIFT TO SCROLL" 
r	�&A0F
|9�f%=fl% �D �"PRESS SPACE TO CONTINUE":G=�:�pict:�tdA
��f%=fl% �tdA
�(�P �''"PRESS SPACE TO CONTINUE":G=�
�	�D^A
�J�3:�P �''"<P> TO PRINT TEXT <M> FOR MENU <R> RUN  PROGRAM" ��T^@    
��:a%=�"PMR",�):�a%
��a%=1 P=�:�2,15:�DTA
��a%=2 �T^@
�� 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
�
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 11 2a 4c 4f  |...=&2500....*LO|
00000040  41 44 20 24 2e 43 4f 44  45 32 0d 00 28 07 44 3d  |AD $.CODE2..(.D=|
00000050  a3 0d 00 32 22 ef 32 32  2c 34 3a ef 31 39 2c 30  |...2".22,4:.19,0|
00000060  2c 34 3b 30 3b 32 33 3b  38 32 30 32 3b 30 3b 30  |,4;0;23;8202;0;0|
00000070  3b 30 3b 0d 00 3c 2e ec  31 32 2c 31 32 3a df 31  |;0;..<..12,12:.1|
00000080  32 36 37 2c 31 32 3a df  31 32 36 37 2c 31 30 31  |267,12:.1267,101|
00000090  31 3a df 31 32 2c 31 30  31 31 3a df 31 32 2c 31  |1:.12,1011:.12,1|
000000a0  32 0d 00 46 21 f1 8a 31  30 2c 33 29 22 20 45 55  |2..F!..10,3)" EU|
000000b0  47 31 37 20 50 52 4f 47  52 41 4d 53 20 4d 45 4e  |G17 PROGRAMS MEN|
000000c0  55 22 0d 00 50 21 f1 8a  31 30 2c 35 29 22 7e 7e  |U"..P!..10,5)"~~|
000000d0  7e 7e 7e 7e 7e 7e 7e 7e  7e 7e 7e 7e 7e 7e 7e 7e  |~~~~~~~~~~~~~~~~|
000000e0  7e 7e 22 0d 00 5a 13 ef  32 38 2c 31 30 2c 32 39  |~~"..Z..28,10,29|
000000f0  2c 33 35 2c 37 20 0d 00  64 1c fb 31 3a f1 22 50  |,35,7 ..d..1:."P|
00000100  4c 45 41 53 45 20 53 45  4c 45 43 54 20 2d 22 3a  |LEASE SELECT -":|
00000110  fb 33 0d 00 6e 16 f1 27  22 3c 41 3e 20 20 43 41  |.3..n..'"<A>  CA|
00000120  4c 41 4e 44 45 52 53 22  0d 00 78 18 f1 27 22 3c  |LANDERS"..x..'"<|
00000130  42 3e 20 20 52 4f 4d 20  4c 49 53 54 49 4e 47 22  |B>  ROM LISTING"|
00000140  0d 00 82 3d f1 27 22 3c  43 3e 20 20 49 4e 54 52  |...=.'"<C>  INTR|
00000150  4f 44 55 43 54 49 4f 4e  20 54 4f 20 53 4f 4d 45  |ODUCTION TO SOME|
00000160  22 27 27 22 50 52 4f 47  53 20 46 52 4f 4d 20 50  |"''"PROGS FROM P|
00000170  41 55 4c 20 57 41 54 45  52 4d 41 4e 22 0d 00 8c  |AUL WATERMAN"...|
00000180  12 f1 27 22 3c 44 3e 20  20 43 4f 44 45 52 22 0d  |..'"<D>  CODER".|
00000190  00 96 1b f1 27 22 3c 45  3e 20 20 53 4f 55 4e 44  |....'"<E>  SOUND|
000001a0  20 4c 49 42 52 41 52 59  22 20 0d 00 a0 16 f1 27  | LIBRARY" .....'|
000001b0  22 3c 46 3e 20 20 56 49  45 57 2d 4d 45 4e 55 22  |"<F>  VIEW-MENU"|
000001c0  0d 00 aa 1f f1 27 22 3c  47 3e 20 20 43 48 52 49  |.....'"<G>  CHRI|
000001d0  53 54 4d 41 53 20 50 49  43 54 55 52 45 53 22 0d  |STMAS PICTURES".|
000001e0  00 b4 1f f1 27 22 3c 48  3e 20 20 57 49 4e 20 54  |....'"<H>  WIN T|
000001f0  48 45 20 4c 4f 54 54 45  52 59 20 31 3f 22 0d 00  |HE LOTTERY 1?"..|
00000200  b9 1f f1 27 22 3c 49 3e  20 20 57 49 4e 20 54 48  |...'"<I>  WIN TH|
00000210  45 20 4c 4f 54 54 45 52  59 20 32 3f 22 0d 00 be  |E LOTTERY 2?"...|
00000220  20 f1 27 22 3c 52 3e 20  20 52 65 74 75 72 6e 20  | .'"<R>  Return |
00000230  74 6f 20 4d 61 69 6e 20  4d 65 6e 75 22 0d 00 c8  |to Main Menu"...|
00000240  0b 2a 46 58 32 31 2c 30  0d 00 d2 1e f5 3a 61 25  |.*FX21,0.....:a%|
00000250  3d a7 22 41 42 43 44 45  46 47 48 49 52 22 2c be  |=."ABCDEFGHIR",.|
00000260  29 3a fd 61 25 20 0d 00  dc 39 e7 61 25 3d 31 8c  |):.a% ...9.a%=1.|
00000270  66 24 3d 22 43 41 4c 54  58 54 22 3a 66 6c 25 3d  |f$="CALTXT":fl%=|
00000280  31 3a 6d 25 3d 36 3a 50  24 3d 22 43 41 4c 41 4e  |1:m%=6:P$="CALAN|
00000290  44 52 22 3a f2 74 65 78  74 3a e5 8d 54 5e 40 0d  |DR":.text:..T^@.|
000002a0  00 e6 38 e7 61 25 3d 32  8c 66 24 3d 22 52 4f 4d  |..8.a%=2.f$="ROM|
000002b0  54 58 54 22 3a 66 6c 25  3d 32 3a 6d 25 3d 33 3a  |TXT":fl%=2:m%=3:|
000002c0  50 24 3d 22 44 57 52 4f  4d 53 22 3a f2 74 65 78  |P$="DWROMS":.tex|
000002d0  74 3a e5 8d 54 5e 40 0d  00 f0 3a e7 61 25 3d 33  |t:..T^@...:.a%=3|
000002e0  8c 66 24 3d 22 47 41 4d  54 58 54 22 3a 66 6c 25  |.f$="GAMTXT":fl%|
000002f0  3d 31 3a 6d 25 3d 33 3a  50 24 3d 22 53 43 52 45  |=1:m%=3:P$="SCRE|
00000300  45 4e 22 3a f2 74 65 78  74 3a e5 8d 54 5e 40 20  |EN":.text:..T^@ |
00000310  20 0d 00 fa 13 e7 61 25  3d 34 8c d7 22 43 4f 44  | .....a%=4.."COD|
00000320  45 52 22 20 0d 01 04 12  e7 61 25 3d 35 8c d7 22  |ER" .....a%=5.."|
00000330  53 4f 55 4e 44 22 0d 01  0e 12 e7 61 25 3d 36 8c  |SOUND".....a%=6.|
00000340  d7 22 56 4d 45 4e 55 22  0d 01 18 12 e7 61 25 3d  |."VMENU".....a%=|
00000350  37 8c d7 22 43 50 49 43  53 22 0d 01 22 3a e7 61  |7.."CPICS"..":.a|
00000360  25 3d 38 8c 66 24 3d 22  57 41 4c 4b 45 52 22 3a  |%=8.f$="WALKER":|
00000370  66 6c 25 3d 31 3a 6d 25  3d 33 3a 50 24 3d 22 4c  |fl%=1:m%=3:P$="L|
00000380  4f 54 54 45 52 59 22 3a  f2 74 65 78 74 3a e5 8d  |OTTERY":.text:..|
00000390  54 5e 40 20 0d 01 27 12  e7 61 25 3d 39 8c d7 22  |T^@ ..'..a%=9.."|
000003a0  4c 4f 54 54 32 22 0d 01  2c 1c e7 61 25 3d 31 30  |LOTT2"..,..a%=10|
000003b0  8c ff 22 44 49 52 20 24  22 3a d7 22 4d 45 4e 55  |.."DIR $":."MENU|
000003c0  22 20 0d 01 36 05 e0 0d  01 40 0a dd f2 74 65 78  |" ..6....@...tex|
000003d0  74 0d 01 4a 07 50 3d a3  0d 01 54 08 66 25 3d 30  |t..J.P=...T.f%=0|
000003e0  0d 01 5e 2f ef 32 32 2c  36 3a 66 25 3d 66 25 2b  |..^/.22,6:f%=f%+|
000003f0  31 3a d6 26 41 33 46 3a  ff 22 4c 4f 41 44 20 22  |1:.&A3F:."LOAD "|
00000400  2b 66 24 2b c3 66 25 2b  22 20 32 35 30 30 22 0d  |+f$+.f%+" 2500".|
00000410  01 68 28 ef 32 32 2c 6d  25 3a e7 ac 50 20 ef 31  |.h(.22,m%:..P .1|
00000420  34 3a f1 27 27 22 53 48  49 46 54 20 54 4f 20 53  |4:.''"SHIFT TO S|
00000430  43 52 4f 4c 4c 22 20 0d  01 72 09 d6 26 41 30 46  |CROLL" ..r..&A0F|
00000440  0d 01 7c 39 e7 66 25 3d  66 6c 25 20 e7 44 20 f1  |..|9.f%=fl% .D .|
00000450  22 50 52 45 53 53 20 53  50 41 43 45 20 54 4f 20  |"PRESS SPACE TO |
00000460  43 4f 4e 54 49 4e 55 45  22 3a 47 3d a5 3a f2 70  |CONTINUE":G=.:.p|
00000470  69 63 74 3a e5 8d 74 64  41 0d 01 86 11 e7 66 25  |ict:..tdA.....f%|
00000480  3d 66 6c 25 20 e5 8d 74  64 41 0d 01 90 28 e7 ac  |=fl% ..tdA...(..|
00000490  50 20 f1 27 27 22 50 52  45 53 53 20 53 50 41 43  |P .''"PRESS SPAC|
000004a0  45 20 54 4f 20 43 4f 4e  54 49 4e 55 45 22 3a 47  |E TO CONTINUE":G|
000004b0  3d a5 0d 01 9a 09 e5 8d  44 5e 41 0d 01 a4 4a ef  |=.......D^A...J.|
000004c0  33 3a e7 ac 50 20 f1 27  27 22 3c 50 3e 20 54 4f  |3:..P .''"<P> TO|
000004d0  20 50 52 49 4e 54 20 54  45 58 54 20 3c 4d 3e 20  | PRINT TEXT <M> |
000004e0  46 4f 52 20 4d 45 4e 55  20 3c 52 3e 20 52 55 4e  |FOR MENU <R> RUN|
000004f0  20 20 50 52 4f 47 52 41  4d 22 20 8b e5 8d 54 5e  |  PROGRAM" ...T^|
00000500  40 20 20 20 20 0d 01 ae  16 f5 3a 61 25 3d a7 22  |@    .....:a%=."|
00000510  50 4d 52 22 2c be 29 3a  fd 61 25 0d 01 b8 19 e7  |PMR",.):.a%.....|
00000520  61 25 3d 31 20 50 3d b9  3a ef 32 2c 31 35 3a e5  |a%=1 P=.:.2,15:.|
00000530  8d 44 54 41 0d 01 c2 0f  e7 61 25 3d 32 20 e5 8d  |.DTA.....a%=2 ..|
00000540  54 5e 40 0d 01 cc 0f e7  20 61 25 3d 33 20 d7 20  |T^@..... a%=3 . |
00000550  50 24 0d 01 d6 06 fd a3  0d 01 e0 0a dd f2 70 69  |P$............pi|
00000560  63 74 0d 01 ea 08 64 25  3d 30 0d 01 f4 21 64 25  |ct....d%=0...!d%|
00000570  3d 64 25 2b 31 3a ef 32  32 2c 30 3a ff 22 4c 4f  |=d%+1:.22,0:."LO|
00000580  41 44 20 50 49 43 22 2b  c3 64 25 0d 01 fe 2f e7  |AD PIC"+.d%.../.|
00000590  ac 50 20 f1 22 50 52 45  53 53 20 53 50 41 43 45  |.P ."PRESS SPACE|
000005a0  20 54 4f 20 43 4f 4e 54  49 4e 55 45 22 3a 47 3d  | TO CONTINUE":G=|
000005b0  a5 20 8b 20 d6 20 26 39  30 41 0d 02 08 13 e7 64  |. . . &90A.....d|
000005c0  25 3d 64 6c 25 20 ef 32  32 2c 33 3a e1 0d 02 12  |%=dl% .22,3:....|
000005d0  09 e5 8d 64 74 41 0d ff                           |...dtA..|
000005d8
PROGS/PMENU.m0
PROGS/PMENU.m1
PROGS/PMENU.m2
PROGS/PMENU.m4
PROGS/PMENU.m5