Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_20.ADF » G/GMenu
G/GMenu
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_20.ADF |
Filename: | G/GMenu |
Read OK: | ✔ |
File size: | 06AB bytes |
Load address: | FFFF1D00 |
Exec address: | FFFF8023 |
File contents
10REM EUG MENU by Richard Dimond 20lines=&80:skiplines=&81:skip=&82:count=&83:modeflag=&84 30?lines=60:?skiplines=12 40*LOAD $.CODE4 50VDU22,4:HIMEM=&2600 60VDU19,0,4;0;23,1,0;0;0;0; 70?skip=0:?modeflag=0:?count=?lines 80P=FALSE:M=FALSE:D=FALSE:R=FALSE 90MOVE12,12:DRAW1267,12:DRAW1267,1011:DRAW12,1011:DRAW12,12 100PROCmenu:GOTO50 110END 120DEFPROCtext:P=FALSE 130f%=0 140VDU22,6:f%=f%+1:CALL&900:OSCLI"LOAD "+f$+STR$f%+" "+STR$~HIMEM 150IFM m%=6ELSE m%=3 160VDU22,m%:IFNOTP VDU14:PRINT''"SHIFT TO SCROLL"'' 170CALL&98C 180IFf%=fl% IFD PROCspace:PROCpict("PIC",0,2):GOTO220 190IFf%=fl% GOTO220 200IFNOTP PROCspace 210GOTO140 220VDU3:IFNOTP PRINT''"<P> TO PRINT TEXT <M> FOR MENU"; ELSE ENDPROC 230IF R a$="PMR":PRINT" <R> RUN PROGRAM" ELSEa$="PM" 240REPEAT:a%=INSTR(a$,GET$):UNTILa% 250IFa%=1 PROCprinter 260IFa%=2 ENDPROC 270IF a%=3 CHAIN P$ 280UNTILFALSE 290DEFPROCpict(P$,m%,dl%) 300d%=0:PROCspace 310d%=d%+1:VDU22,m%:OSCLI"LOAD "+P$+STR$d% 320IFNOTP PROCspace ELSE CALL &B00 330IFd%=dl% VDU22,3:ENDPROC 340GOTO310 350DEFPROCprinter 360P=TRUE:M=FALSE:m%=3 370PRINT''"Do you want perforation skip? (Y/N)" 380PROCyn 390IFa%<3 ?skip=-1 ELSE ?skip=0 400GOTO130 410DEFPROCyn:REPEAT:a%=INSTR("YyNn",GET$):UNTILa%:ENDPROC 420DEFPROCspace PRINT''"PRESS SPACE TO CONTINUE"':G=GET:ENDPROC 430DEFPROCmenu 440PRINTTAB(10,2)" EUG20 GAMES MENU" 450PRINTTAB(10,4)" ~~~~~~~~~~~~~~~~" 460VDU28,3,29,35,5 470COLOUR1:PRINT"PLEASE SELECT -":COLOUR3 480PRINT'"<A> Modified Beleagured Castle"''" R Dimond" 490PRINT'"<B> Rubik's Cube Game R Dimond" 500PRINT'"<C> Mastermind Game Ross Little" 510PRINT'"<D> Zombies Game Ross Little" 520PRINT'"<E> Alphabet Chaser Modicications" 550PRINT'"<Y> 40 Column text?" 560PRINT'"<R> Return to Main Menu" 570*FX21,0 580REPEAT:a%=INSTR("ABCDEYR",GET$):UNTILa% 590IFa%=1THENf$="CAStxt":fl%=1:R=TRUE:P$="CASmods":PROCtext:ENDPROC 600IFa%=2THENCHAIN"Rubik" 610IFa%=3THENf$="Litt":fl%=1:R=TRUE:P$="Mmind":PROCtext:ENDPROC 620IFa%=4THENCHAIN"Zombies" 630IFa%=5THENCLS:PRINT:PRINT"READ THE TEXT IN <C>":A=GET:GOTO 470 660IFa%=6THENM=TRUE:VDU6,12:GOTO470 670IFa%=7THENOSCLI"DIR $":CHAIN"MENU" 680ENDPROC
� EUG MENU by Richard Dimond ;lines=&80:skiplines=&81:skip=&82:count=&83:modeflag=&84 ?lines=60:?skiplines=12 (*LOAD $.CODE4 2�22,4:�=&2600 <�19,0,4;0;23,1,0;0;0;0; F%?skip=0:?modeflag=0:?count=?lines PP=�:M=�:D=�:R=� Z.�12,12:�1267,12:�1267,1011:�12,1011:�12,12 d�menu:�Tr@ n� x��text:P=� �f%=0 �/�22,6:f%=f%+1:�&900:�"LOAD "+f$+�f%+" "+�~� ��M m%=6� m%=3 �)�22,m%:�P �14:�''"SHIFT TO SCROLL"'' � �&98C �,�f%=fl% �D �space:�pict("PIC",0,2):�d\@ ��f%=fl% �d\@ ��P �space � �tL@ �3�3:�P �''"<P> TO PRINT TEXT <M> FOR MENU"; � � �-� R a$="PMR":�" <R> RUN PROGRAM" �a$="PM" ��:a%=�a$,�):�a% ��a%=1 �printer �a%=2 � � a%=3 � P$ �� "��pict(P$,m%,dl%) ,d%=0:�space 6"d%=d%+1:�22,m%:�"LOAD "+P$+�d% @�P �space � � &B00 J�d%=dl% �22,3:� T �TvA ^ ��printer hP=�:M=�:m%=3 r,�''"Do you want perforation skip? (Y/N)" |�yn ��a%<3 ?skip=-1 � ?skip=0 � �tB@ ���yn:�:a%=�"YyNn",�):�a%:� �/��space �''"PRESS SPACE TO CONTINUE"':G=�:� � ��menu ��10,2)" EUG20 GAMES MENU" ��10,4)" ~~~~~~~~~~~~~~~~" ��28,3,29,35,5 ��1:�"PLEASE SELECT -":�3 �:�'"<A> Modified Beleagured Castle"''" R Dimond" �,�'"<B> Rubik's Cube Game R Dimond" �)�'"<C> Mastermind Game Ross Little" �,�'"<D> Zombies Game Ross Little" )�'"<E> Alphabet Chaser Modicications" &$�'"<Y> 40 Column text?" 0!�'"<R> Return to Main Menu" :*FX21,0 D�:a%=�"ABCDEYR",�):�a% N5�a%=1�f$="CAStxt":fl%=1:R=�:P$="CASmods":�text:� X�a%=2��"Rubik" b3�a%=3�f$="Litt":fl%=1:R=�:P$="Mmind":�text:� l�a%=4��"Zombies" v1�a%=5��:�:�"READ THE TEXT IN <C>":A=�:� �dVA ��a%=6�M=�:�6,12:�dVA ��a%=7��"DIR $":�"MENU" �� �
00000000 0d 00 0a 20 f4 20 45 55 47 20 4d 45 4e 55 20 62 |... . EUG MENU b| 00000010 79 20 52 69 63 68 61 72 64 20 44 69 6d 6f 6e 64 |y Richard Dimond| 00000020 0d 00 14 3b 6c 69 6e 65 73 3d 26 38 30 3a 73 6b |...;lines=&80:sk| 00000030 69 70 6c 69 6e 65 73 3d 26 38 31 3a 73 6b 69 70 |iplines=&81:skip| 00000040 3d 26 38 32 3a 63 6f 75 6e 74 3d 26 38 33 3a 6d |=&82:count=&83:m| 00000050 6f 64 65 66 6c 61 67 3d 26 38 34 0d 00 1e 1b 3f |odeflag=&84....?| 00000060 6c 69 6e 65 73 3d 36 30 3a 3f 73 6b 69 70 6c 69 |lines=60:?skipli| 00000070 6e 65 73 3d 31 32 0d 00 28 12 2a 4c 4f 41 44 20 |nes=12..(.*LOAD | 00000080 20 24 2e 43 4f 44 45 34 0d 00 32 11 ef 32 32 2c | $.CODE4..2..22,| 00000090 34 3a d3 3d 26 32 36 30 30 0d 00 3c 1b ef 31 39 |4:.=&2600..<..19| 000000a0 2c 30 2c 34 3b 30 3b 32 33 2c 31 2c 30 3b 30 3b |,0,4;0;23,1,0;0;| 000000b0 30 3b 30 3b 0d 00 46 25 3f 73 6b 69 70 3d 30 3a |0;0;..F%?skip=0:| 000000c0 3f 6d 6f 64 65 66 6c 61 67 3d 30 3a 3f 63 6f 75 |?modeflag=0:?cou| 000000d0 6e 74 3d 3f 6c 69 6e 65 73 0d 00 50 13 50 3d a3 |nt=?lines..P.P=.| 000000e0 3a 4d 3d a3 3a 44 3d a3 3a 52 3d a3 0d 00 5a 2e |:M=.:D=.:R=...Z.| 000000f0 ec 31 32 2c 31 32 3a df 31 32 36 37 2c 31 32 3a |.12,12:.1267,12:| 00000100 df 31 32 36 37 2c 31 30 31 31 3a df 31 32 2c 31 |.1267,1011:.12,1| 00000110 30 31 31 3a df 31 32 2c 31 32 0d 00 64 0f f2 6d |011:.12,12..d..m| 00000120 65 6e 75 3a e5 8d 54 72 40 0d 00 6e 05 e0 0d 00 |enu:..Tr@..n....| 00000130 78 0e dd f2 74 65 78 74 3a 50 3d a3 0d 00 82 08 |x...text:P=.....| 00000140 66 25 3d 30 0d 00 8c 2f ef 32 32 2c 36 3a 66 25 |f%=0.../.22,6:f%| 00000150 3d 66 25 2b 31 3a d6 26 39 30 30 3a ff 22 4c 4f |=f%+1:.&900:."LO| 00000160 41 44 20 22 2b 66 24 2b c3 66 25 2b 22 20 22 2b |AD "+f$+.f%+" "+| 00000170 c3 7e 93 0d 00 96 11 e7 4d 20 6d 25 3d 36 8b 20 |.~......M m%=6. | 00000180 6d 25 3d 33 0d 00 a0 29 ef 32 32 2c 6d 25 3a e7 |m%=3...).22,m%:.| 00000190 ac 50 20 ef 31 34 3a f1 27 27 22 53 48 49 46 54 |.P .14:.''"SHIFT| 000001a0 20 54 4f 20 53 43 52 4f 4c 4c 22 27 27 0d 00 aa | TO SCROLL"''...| 000001b0 09 d6 26 39 38 43 0d 00 b4 2c e7 66 25 3d 66 6c |..&98C...,.f%=fl| 000001c0 25 20 e7 44 20 f2 73 70 61 63 65 3a f2 70 69 63 |% .D .space:.pic| 000001d0 74 28 22 50 49 43 22 2c 30 2c 32 29 3a e5 8d 64 |t("PIC",0,2):..d| 000001e0 5c 40 0d 00 be 11 e7 66 25 3d 66 6c 25 20 e5 8d |\@.....f%=fl% ..| 000001f0 64 5c 40 0d 00 c8 0e e7 ac 50 20 f2 73 70 61 63 |d\@......P .spac| 00000200 65 0d 00 d2 09 e5 8d 74 4c 40 0d 00 dc 33 ef 33 |e......tL@...3.3| 00000210 3a e7 ac 50 20 f1 27 27 22 3c 50 3e 20 54 4f 20 |:..P .''"<P> TO | 00000220 50 52 49 4e 54 20 54 45 58 54 20 3c 4d 3e 20 46 |PRINT TEXT <M> F| 00000230 4f 52 20 4d 45 4e 55 22 3b 20 8b 20 e1 0d 00 e6 |OR MENU"; . ....| 00000240 2d e7 20 52 20 61 24 3d 22 50 4d 52 22 3a f1 22 |-. R a$="PMR":."| 00000250 20 3c 52 3e 20 52 55 4e 20 50 52 4f 47 52 41 4d | <R> RUN PROGRAM| 00000260 22 20 8b 61 24 3d 22 50 4d 22 0d 00 f0 13 f5 3a |" .a$="PM".....:| 00000270 61 25 3d a7 61 24 2c be 29 3a fd 61 25 0d 00 fa |a%=.a$,.):.a%...| 00000280 12 e7 61 25 3d 31 20 f2 70 72 69 6e 74 65 72 0d |..a%=1 .printer.| 00000290 01 04 0b e7 61 25 3d 32 20 e1 0d 01 0e 0f e7 20 |....a%=2 ...... | 000002a0 61 25 3d 33 20 d7 20 50 24 0d 01 18 06 fd a3 0d |a%=3 . P$.......| 000002b0 01 22 15 dd f2 70 69 63 74 28 50 24 2c 6d 25 2c |."...pict(P$,m%,| 000002c0 64 6c 25 29 0d 01 2c 0f 64 25 3d 30 3a f2 73 70 |dl%)..,.d%=0:.sp| 000002d0 61 63 65 0d 01 36 22 64 25 3d 64 25 2b 31 3a ef |ace..6"d%=d%+1:.| 000002e0 32 32 2c 6d 25 3a ff 22 4c 4f 41 44 20 22 2b 50 |22,m%:."LOAD "+P| 000002f0 24 2b c3 64 25 0d 01 40 17 e7 ac 50 20 f2 73 70 |$+.d%..@...P .sp| 00000300 61 63 65 20 8b 20 d6 20 26 42 30 30 0d 01 4a 13 |ace . . &B00..J.| 00000310 e7 64 25 3d 64 6c 25 20 ef 32 32 2c 33 3a e1 0d |.d%=dl% .22,3:..| 00000320 01 54 09 e5 8d 54 76 41 0d 01 5e 0d dd f2 70 72 |.T...TvA..^...pr| 00000330 69 6e 74 65 72 0d 01 68 10 50 3d b9 3a 4d 3d a3 |inter..h.P=.:M=.| 00000340 3a 6d 25 3d 33 0d 01 72 2c f1 27 27 22 44 6f 20 |:m%=3..r,.''"Do | 00000350 79 6f 75 20 77 61 6e 74 20 70 65 72 66 6f 72 61 |you want perfora| 00000360 74 69 6f 6e 20 73 6b 69 70 3f 20 28 59 2f 4e 29 |tion skip? (Y/N)| 00000370 22 0d 01 7c 07 f2 79 6e 0d 01 86 1c e7 61 25 3c |"..|..yn.....a%<| 00000380 33 20 3f 73 6b 69 70 3d 2d 31 20 8b 20 3f 73 6b |3 ?skip=-1 . ?sk| 00000390 69 70 3d 30 0d 01 90 09 e5 8d 74 42 40 0d 01 9a |ip=0......tB@...| 000003a0 1e dd f2 79 6e 3a f5 3a 61 25 3d a7 22 59 79 4e |...yn:.:a%=."YyN| 000003b0 6e 22 2c be 29 3a fd 61 25 3a e1 0d 01 a4 2f dd |n",.):.a%:..../.| 000003c0 f2 73 70 61 63 65 20 f1 27 27 22 50 52 45 53 53 |.space .''"PRESS| 000003d0 20 53 50 41 43 45 20 54 4f 20 43 4f 4e 54 49 4e | SPACE TO CONTIN| 000003e0 55 45 22 27 3a 47 3d a5 3a e1 0d 01 ae 0a dd f2 |UE"':G=.:.......| 000003f0 6d 65 6e 75 0d 01 b8 1f f1 8a 31 30 2c 32 29 22 |menu......10,2)"| 00000400 20 45 55 47 32 30 20 47 41 4d 45 53 20 4d 45 4e | EUG20 GAMES MEN| 00000410 55 22 20 0d 01 c2 1e f1 8a 31 30 2c 34 29 22 20 |U" ......10,4)" | 00000420 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~~~~~~~~~| 00000430 22 0d 01 cc 12 ef 32 38 2c 33 2c 32 39 2c 33 35 |".....28,3,29,35| 00000440 2c 35 20 0d 01 d6 1c fb 31 3a f1 22 50 4c 45 41 |,5 .....1:."PLEA| 00000450 53 45 20 53 45 4c 45 43 54 20 2d 22 3a fb 33 0d |SE SELECT -":.3.| 00000460 01 e0 3a f1 27 22 3c 41 3e 20 4d 6f 64 69 66 69 |..:.'"<A> Modifi| 00000470 65 64 20 42 65 6c 65 61 67 75 72 65 64 20 43 61 |ed Beleagured Ca| 00000480 73 74 6c 65 22 27 27 22 20 20 20 20 20 20 20 20 |stle"''" | 00000490 52 20 44 69 6d 6f 6e 64 22 0d 01 ea 2c f1 27 22 |R Dimond"...,.'"| 000004a0 3c 42 3e 20 52 75 62 69 6b 27 73 20 43 75 62 65 |<B> Rubik's Cube| 000004b0 20 47 61 6d 65 20 20 20 52 20 44 69 6d 6f 6e 64 | Game R Dimond| 000004c0 22 20 20 20 20 0d 01 f4 29 f1 27 22 3c 43 3e 20 |" ...).'"<C> | 000004d0 4d 61 73 74 65 72 6d 69 6e 64 20 47 61 6d 65 20 |Mastermind Game | 000004e0 20 20 52 6f 73 73 20 4c 69 74 74 6c 65 22 0d 01 | Ross Little"..| 000004f0 fe 2c f1 27 22 3c 44 3e 20 5a 6f 6d 62 69 65 73 |.,.'"<D> Zombies| 00000500 20 47 61 6d 65 20 20 20 20 20 20 52 6f 73 73 20 | Game Ross | 00000510 4c 69 74 74 6c 65 22 20 20 20 0d 02 08 29 f1 27 |Little" ...).'| 00000520 22 3c 45 3e 20 41 6c 70 68 61 62 65 74 20 43 68 |"<E> Alphabet Ch| 00000530 61 73 65 72 20 4d 6f 64 69 63 69 63 61 74 69 6f |aser Modicicatio| 00000540 6e 73 22 0d 02 26 24 f1 27 22 3c 59 3e 20 34 30 |ns"..&$.'"<Y> 40| 00000550 20 43 6f 6c 75 6d 6e 20 74 65 78 74 3f 22 20 20 | Column text?" | 00000560 20 20 20 20 20 20 20 0d 02 30 21 f1 27 22 3c 52 | ..0!.'"<R| 00000570 3e 20 20 52 65 74 75 72 6e 20 74 6f 20 4d 61 69 |> Return to Mai| 00000580 6e 20 4d 65 6e 75 22 20 0d 02 3a 0b 2a 46 58 32 |n Menu" ..:.*FX2| 00000590 31 2c 30 0d 02 44 1d f5 3a 61 25 3d a7 22 41 42 |1,0..D..:a%=."AB| 000005a0 43 44 45 59 52 22 2c be 29 3a fd 61 25 20 20 20 |CDEYR",.):.a% | 000005b0 0d 02 4e 35 e7 61 25 3d 31 8c 66 24 3d 22 43 41 |..N5.a%=1.f$="CA| 000005c0 53 74 78 74 22 3a 66 6c 25 3d 31 3a 52 3d b9 3a |Stxt":fl%=1:R=.:| 000005d0 50 24 3d 22 43 41 53 6d 6f 64 73 22 3a f2 74 65 |P$="CASmods":.te| 000005e0 78 74 3a e1 20 0d 02 58 12 e7 61 25 3d 32 8c d7 |xt:. ..X..a%=2..| 000005f0 22 52 75 62 69 6b 22 0d 02 62 33 e7 61 25 3d 33 |"Rubik"..b3.a%=3| 00000600 8c 66 24 3d 22 4c 69 74 74 22 3a 66 6c 25 3d 31 |.f$="Litt":fl%=1| 00000610 3a 52 3d b9 3a 50 24 3d 22 4d 6d 69 6e 64 22 3a |:R=.:P$="Mmind":| 00000620 f2 74 65 78 74 3a e1 20 20 20 0d 02 6c 15 e7 61 |.text:. ..l..a| 00000630 25 3d 34 8c d7 22 5a 6f 6d 62 69 65 73 22 20 0d |%=4.."Zombies" .| 00000640 02 76 31 e7 61 25 3d 35 8c db 3a f1 3a f1 22 52 |.v1.a%=5..:.:."R| 00000650 45 41 44 20 54 48 45 20 54 45 58 54 20 49 4e 20 |EAD THE TEXT IN | 00000660 3c 43 3e 22 3a 41 3d a5 3a e5 20 8d 64 56 41 20 |<C>":A=.:. .dVA | 00000670 0d 02 94 19 e7 61 25 3d 36 8c 4d 3d b9 3a ef 36 |.....a%=6.M=.:.6| 00000680 2c 31 32 3a e5 8d 64 56 41 0d 02 9e 1b e7 61 25 |,12:..dVA.....a%| 00000690 3d 37 8c ff 22 44 49 52 20 24 22 3a d7 22 4d 45 |=7.."DIR $":."ME| 000006a0 4e 55 22 20 0d 02 a8 05 e1 0d ff |NU" .......| 000006ab