Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_18.ADF » Menu

Menu

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: Menu
Read OK:
File size: 05DE 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,3)" EUG18 MAIN MENU"
   80PRINTTAB(10,5)" ~~~~~~~~~~~~~~~"    
   90VDU28,10,29,35,7 
  100COLOUR1:PRINT"PLEASE SELECT -":COLOUR3
  110PRINT'"<A> Editroial"
  120PRINT'"<B> Letters"
  130PRINT'"<C> Programs"
  140PRINT'"<D> Features"
  150PRINT'"<E> Tape to Disc Transfer"
  160PRINT'"<F> Games"
  170PRINT'"<G> Shopping" 
  180PRINT'"<H> Read Me"
  185PRINT'"<Y> 40 Column text?"
  200*FX21,0
  210REPEAT:a%=INSTR("ABCDEFGHY",GET$):UNTILa% 
  220IFa%=1THENf$="EDIT":fl%=1:PROCtext:GOTO40 
  230IFa%=2THENOSCLI"DIR L":CHAIN"LMenu"
  240IFa%=3THENOSCLI"DIR P":CHAIN"PMenu"
  250IFa%=4THENOSCLI"DIR F":CHAIN"FMenu" 
  260IFa%=5THENOSCLI"DIR T":CHAIN"TMenu"
  270IFa%=6THENOSCLI"DIR G":CHAIN"GMenu"
  280IFa%=7THENOSCLI"DIR S":CHAIN"SMenu" 
  285IFa%=8THENf$="READ":fl%=1:PROCtext:GOTO40 
  290IFa%=9THEND%=TRUE:GOTO40 
  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"ELSEGOTO40
  430REPEAT:a%=INSTR("PMR",GET$):UNTILa%
  440IFa%=1 P=TRUE:VDU2,15:GOTO340
  450IFa%=2GOTO40
  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,3)" EUG18 MAIN MENU"
P!�10,5)" ~~~~~~~~~~~~~~~"    
Z�28,10,29,35,7 
d�1:�"PLEASE SELECT -":�3
n�'"<A> Editroial"
x�'"<B> Letters"
��'"<C> Programs"
��'"<D> Features"
�!�'"<E> Tape to Disc Transfer"
��'"<F> Games"
��'"<G> Shopping" 
��'"<H> Read Me"
��'"<Y> 40 Column text?"
�*FX21,0
��:a%=�"ABCDEFGHY",�):�a% 
�&�a%=1�f$="EDIT":fl%=1:�text:�Th@ 
��a%=2��"DIR L":�"LMenu"
��a%=3��"DIR P":�"PMenu"
��a%=4��"DIR F":�"FMenu" 
�a%=5��"DIR T":�"TMenu"
�a%=6��"DIR G":�"GMenu"
�a%=7��"DIR S":�"SMenu" 
&�a%=8�f$="READ":fl%=1:�text:�Th@ 
"�a%=9�D%=�:�Th@ 
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
�4�3:�P �''"<P> TO PRINT TEXT <M> FOR MENU"��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 12 2a 4c 4f  |...=&2500....*LO|
00000040  41 44 20 24 2e 43 4f 44  45 32 20 0d 00 23 08 44  |AD $.CODE2 ..#.D|
00000050  25 3d a3 0d 00 28 07 44  3d a3 0d 00 32 22 ef 32  |%=...(.D=...2".2|
00000060  32 2c 34 3a ef 31 39 2c  30 2c 34 3b 30 3b 32 33  |2,4:.19,0,4;0;23|
00000070  3b 38 32 30 32 3b 30 3b  30 3b 30 3b 0d 00 3c 2e  |;8202;0;0;0;..<.|
00000080  ec 31 32 2c 31 32 3a df  31 32 36 37 2c 31 32 3a  |.12,12:.1267,12:|
00000090  df 31 32 36 37 2c 31 30  31 31 3a df 31 32 2c 31  |.1267,1011:.12,1|
000000a0  30 31 31 3a df 31 32 2c  31 32 0d 00 46 1d f1 8a  |011:.12,12..F...|
000000b0  31 30 2c 33 29 22 20 45  55 47 31 38 20 4d 41 49  |10,3)" EUG18 MAI|
000000c0  4e 20 4d 45 4e 55 22 0d  00 50 21 f1 8a 31 30 2c  |N MENU"..P!..10,|
000000d0  35 29 22 20 7e 7e 7e 7e  7e 7e 7e 7e 7e 7e 7e 7e  |5)" ~~~~~~~~~~~~|
000000e0  7e 7e 7e 22 20 20 20 20  0d 00 5a 13 ef 32 38 2c  |~~~"    ..Z..28,|
000000f0  31 30 2c 32 39 2c 33 35  2c 37 20 0d 00 64 1c fb  |10,29,35,7 ..d..|
00000100  31 3a f1 22 50 4c 45 41  53 45 20 53 45 4c 45 43  |1:."PLEASE SELEC|
00000110  54 20 2d 22 3a fb 33 0d  00 6e 15 f1 27 22 3c 41  |T -":.3..n..'"<A|
00000120  3e 20 45 64 69 74 72 6f  69 61 6c 22 0d 00 78 13  |> Editroial"..x.|
00000130  f1 27 22 3c 42 3e 20 4c  65 74 74 65 72 73 22 0d  |.'"<B> Letters".|
00000140  00 82 14 f1 27 22 3c 43  3e 20 50 72 6f 67 72 61  |....'"<C> Progra|
00000150  6d 73 22 0d 00 8c 14 f1  27 22 3c 44 3e 20 46 65  |ms".....'"<D> Fe|
00000160  61 74 75 72 65 73 22 0d  00 96 21 f1 27 22 3c 45  |atures"...!.'"<E|
00000170  3e 20 54 61 70 65 20 74  6f 20 44 69 73 63 20 54  |> Tape to Disc T|
00000180  72 61 6e 73 66 65 72 22  0d 00 a0 11 f1 27 22 3c  |ransfer".....'"<|
00000190  46 3e 20 47 61 6d 65 73  22 0d 00 aa 15 f1 27 22  |F> Games".....'"|
000001a0  3c 47 3e 20 53 68 6f 70  70 69 6e 67 22 20 0d 00  |<G> Shopping" ..|
000001b0  b4 13 f1 27 22 3c 48 3e  20 52 65 61 64 20 4d 65  |...'"<H> Read Me|
000001c0  22 0d 00 b9 1b f1 27 22  3c 59 3e 20 34 30 20 43  |".....'"<Y> 40 C|
000001d0  6f 6c 75 6d 6e 20 74 65  78 74 3f 22 0d 00 c8 0b  |olumn text?"....|
000001e0  2a 46 58 32 31 2c 30 0d  00 d2 1d f5 3a 61 25 3d  |*FX21,0.....:a%=|
000001f0  a7 22 41 42 43 44 45 46  47 48 59 22 2c be 29 3a  |."ABCDEFGHY",.):|
00000200  fd 61 25 20 0d 00 dc 26  e7 61 25 3d 31 8c 66 24  |.a% ...&.a%=1.f$|
00000210  3d 22 45 44 49 54 22 3a  66 6c 25 3d 31 3a f2 74  |="EDIT":fl%=1:.t|
00000220  65 78 74 3a e5 8d 54 68  40 20 0d 00 e6 1b e7 61  |ext:..Th@ .....a|
00000230  25 3d 32 8c ff 22 44 49  52 20 4c 22 3a d7 22 4c  |%=2.."DIR L":."L|
00000240  4d 65 6e 75 22 0d 00 f0  1b e7 61 25 3d 33 8c ff  |Menu".....a%=3..|
00000250  22 44 49 52 20 50 22 3a  d7 22 50 4d 65 6e 75 22  |"DIR P":."PMenu"|
00000260  0d 00 fa 1c e7 61 25 3d  34 8c ff 22 44 49 52 20  |.....a%=4.."DIR |
00000270  46 22 3a d7 22 46 4d 65  6e 75 22 20 0d 01 04 1b  |F":."FMenu" ....|
00000280  e7 61 25 3d 35 8c ff 22  44 49 52 20 54 22 3a d7  |.a%=5.."DIR T":.|
00000290  22 54 4d 65 6e 75 22 0d  01 0e 1b e7 61 25 3d 36  |"TMenu".....a%=6|
000002a0  8c ff 22 44 49 52 20 47  22 3a d7 22 47 4d 65 6e  |.."DIR G":."GMen|
000002b0  75 22 0d 01 18 1c e7 61  25 3d 37 8c ff 22 44 49  |u".....a%=7.."DI|
000002c0  52 20 53 22 3a d7 22 53  4d 65 6e 75 22 20 0d 01  |R S":."SMenu" ..|
000002d0  1d 26 e7 61 25 3d 38 8c  66 24 3d 22 52 45 41 44  |.&.a%=8.f$="READ|
000002e0  22 3a 66 6c 25 3d 31 3a  f2 74 65 78 74 3a e5 8d  |":fl%=1:.text:..|
000002f0  54 68 40 20 0d 01 22 15  e7 61 25 3d 39 8c 44 25  |Th@ .."..a%=9.D%|
00000300  3d b9 3a e5 8d 54 68 40  20 0d 01 36 05 e0 0d 01  |=.:..Th@ ..6....|
00000310  40 0a dd f2 74 65 78 74  0d 01 4a 07 50 3d a3 0d  |@...text..J.P=..|
00000320  01 54 08 66 25 3d 30 0d  01 5e 2f ef 32 32 2c 36  |.T.f%=0..^/.22,6|
00000330  3a 66 25 3d 66 25 2b 31  3a d6 26 41 33 46 3a ff  |:f%=f%+1:.&A3F:.|
00000340  22 4c 4f 41 44 20 22 2b  66 24 2b c3 66 25 2b 22  |"LOAD "+f$+.f%+"|
00000350  20 32 35 30 30 22 0d 01  63 13 e7 20 44 25 20 6d  | 2500"..c.. D% m|
00000360  25 3d 36 8b 20 6d 25 3d  33 0d 01 68 27 ef 32 32  |%=6. m%=3..h'.22|
00000370  2c 6d 25 3a e7 ac 50 20  ef 31 34 3a f1 27 27 22  |,m%:..P .14:.''"|
00000380  53 48 49 46 54 20 54 4f  20 53 43 52 4f 4c 4c 22  |SHIFT TO SCROLL"|
00000390  0d 01 72 19 e7 20 44 25  20 f2 63 6f 6c 34 30 20  |..r.. D% .col40 |
000003a0  8b 20 d6 26 41 30 46 20  20 0d 01 7c 39 e7 66 25  |. .&A0F  ..|9.f%|
000003b0  3d 66 6c 25 20 e7 44 20  f1 22 50 52 45 53 53 20  |=fl% .D ."PRESS |
000003c0  53 50 41 43 45 20 54 4f  20 43 4f 4e 54 49 4e 55  |SPACE TO CONTINU|
000003d0  45 22 3a 47 3d a5 3a f2  70 69 63 74 3a e5 8d 74  |E":G=.:.pict:..t|
000003e0  64 41 0d 01 86 11 e7 66  25 3d 66 6c 25 20 e5 8d  |dA.....f%=fl% ..|
000003f0  74 64 41 0d 01 90 28 e7  ac 50 20 f1 27 27 22 50  |tdA...(..P .''"P|
00000400  52 45 53 53 20 53 50 41  43 45 20 54 4f 20 43 4f  |RESS SPACE TO CO|
00000410  4e 54 49 4e 55 45 22 3a  47 3d a5 0d 01 9a 09 e5  |NTINUE":G=......|
00000420  8d 44 5e 41 0d 01 a4 34  ef 33 3a e7 ac 50 20 f1  |.D^A...4.3:..P .|
00000430  27 27 22 3c 50 3e 20 54  4f 20 50 52 49 4e 54 20  |''"<P> TO PRINT |
00000440  54 45 58 54 20 3c 4d 3e  20 46 4f 52 20 4d 45 4e  |TEXT <M> FOR MEN|
00000450  55 22 8b e5 8d 54 68 40  0d 01 ae 16 f5 3a 61 25  |U"...Th@.....:a%|
00000460  3d a7 22 50 4d 52 22 2c  be 29 3a fd 61 25 0d 01  |=."PMR",.):.a%..|
00000470  b8 19 e7 61 25 3d 31 20  50 3d b9 3a ef 32 2c 31  |...a%=1 P=.:.2,1|
00000480  35 3a e5 8d 44 54 41 0d  01 c2 0e e7 61 25 3d 32  |5:..DTA.....a%=2|
00000490  e5 8d 54 68 40 0d 01 cc  0f e7 20 61 25 3d 33 20  |..Th@..... a%=3 |
000004a0  d7 20 50 24 0d 01 d6 06  fd a3 0d 01 e0 0a dd f2  |. P$............|
000004b0  70 69 63 74 0d 01 ea 08  64 25 3d 30 0d 01 f4 21  |pict....d%=0...!|
000004c0  64 25 3d 64 25 2b 31 3a  ef 32 32 2c 30 3a ff 22  |d%=d%+1:.22,0:."|
000004d0  4c 4f 41 44 20 50 49 43  22 2b c3 64 25 0d 01 fe  |LOAD PIC"+.d%...|
000004e0  2f e7 ac 50 20 f1 22 50  52 45 53 53 20 53 50 41  |/..P ."PRESS SPA|
000004f0  43 45 20 54 4f 20 43 4f  4e 54 49 4e 55 45 22 3a  |CE TO CONTINUE":|
00000500  47 3d a5 20 8b 20 d6 20  26 39 30 41 0d 02 08 13  |G=. . . &90A....|
00000510  e7 64 25 3d 64 6c 25 20  ef 32 32 2c 33 3a e1 0d  |.d%=dl% .22,3:..|
00000520  02 12 09 e5 8d 64 74 41  0d 03 e8 0b dd f2 63 6f  |.....dtA......co|
00000530  6c 34 30 0d 03 f2 0a 61  64 64 72 3d 93 0d 03 fc  |l40....addr=....|
00000540  05 f5 0d 04 06 0c 61 25  3d 3f 61 64 64 72 0d 04  |......a%=?addr..|
00000550  10 0e e7 61 25 3d 26 30  44 20 8c f1 0d 04 1a 12  |...a%=&0D ......|
00000560  e7 61 25 3d 26 31 41 20  61 25 3d 26 32 30 0d 04  |.a%=&1A a%=&20..|
00000570  24 15 e7 61 25 3d 26 32  30 20 80 20 b1 3e 32 38  |$..a%=&20 . .>28|
00000580  20 8c f1 0d 04 2e 33 e7  20 61 25 3d 26 32 30 20  | .....3. a%=&20 |
00000590  80 20 b1 3d 30 20 8c f5  3a 61 64 64 72 3d 61 64  |. .=0 ..:addr=ad|
000005a0  64 72 2b 31 3a 61 25 3d  3f 61 64 64 72 3a fd 61  |dr+1:a%=?addr:.a|
000005b0  25 3c 3e 26 32 30 0d 04  38 09 f1 bd 61 25 3b 0d  |%<>&20..8...a%;.|
000005c0  04 42 0f 61 64 64 72 3d  61 64 64 72 2b 31 0d 04  |.B.addr=addr+1..|
000005d0  4c 09 fd 61 25 3d 30 0d  04 56 05 e1 0d ff        |L..a%=0..V....|
000005de
Menu.m0
Menu.m1
Menu.m2
Menu.m4
Menu.m5