Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_37.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_37.ADF
Filename: P/PMENU
Read OK:
File size: 06A7 bytes
Load address: FFFF0E00
Exec address: FFFF802B
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
   10REM EUG MENU by Richard Dimond
   20lines=&80:skiplines=&81:skip=&82:count=&83:modeflag=&84
   30?lines=60:?skiplines=12:?count=?lines
   40*LOAD  $.CODE6
   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&903
  180IFf%=fl% IFD 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:GOTO130
  260IFa%=2 :ENDPROC
  270IFa%=3 VDU22,6:HIMEM=&6000:CHAIN P$
  280UNTILFALSE
  290DEFPROCpict(P$,m%,dl%)
  300d%=0:PROCspace
  310d%=d%+1:VDU22,m%:OSCLI"LOAD "+P$+STR$d%
  320IFNOTP PROCspace ELSE OSCLI"UCODE"
  330IFd%=dl% VDU22,3:ENDPROC
  340GOTO310
  350DEFPROCprinter
  355VDU15,2
  360P=TRUE:M=FALSE:m%=3
  370PRINT''"Do you want perforation skip? (Y/N)"
  380PROCyn
  390IFa%<3 ?skip=-1 ELSE ?skip=0
  400ENDPROC
  410DEFPROCyn:REPEAT:a%=INSTR("YyNn",GET$):UNTILa%:ENDPROC
  420DEFPROCspace PRINTTAB(0,31);"PRESS SPACE TO CONTINUE";:G=GET:ENDPROC
  430DEFPROCmenu        
  440T$="EUG37 PROGRAMMING MENU"
  450PRINTTAB(19-LEN T$/2,2);T$
  460PRINTTAB(19-LEN T$/2,3);STRING$(LEN T$,"~")
  470VDU28,2,30,35,4
  480COLOUR1:PRINT'"PLEASE SELECT -":COLOUR3
  490PRINT'"R. Return to Main Menu"
  500PRINT'"T. Toggle ";((((M%*-1)EOR 1)+1)*40)" column text"
  520PRINT'"++++++++++++++++++++++++++++++++++"
  530PRINT'"1. Database from Mark Bellis"
  540PRINT'"2. Breaking commercial software"''"   protection from Mark Bellis"
  550PRINT'"3. Disassembly from Mark Bellis"
  590*FX21
  600REPEAT:a%=INSTR("RT123",GET$):UNTILa%
  610IFa%=1 OSCLI"DIR":CHAIN"MENU"
  620IFa%=2 M%=M% EOR TRUE:PRINTTAB(10,5);8-(4*ABS(M%)):GOTO600
  630IFa%=3 R=FALSE:f$="+ab":fl%=1:PROCtext:ENDPROC
  640IFa%=4 R=TRUE:f$="+BH":fl%=1:P$="BHDEMO":PROCtext:ENDPROC
  650IFa%=5 R=TRUE:f$="+DA":fl%=2:P$="DADEMO":PROCtext:ENDPROC
  700ENDPROC

 � EUG MENU by Richard Dimond
;lines=&80:skiplines=&81:skip=&82:count=&83:modeflag=&84
)?lines=60:?skiplines=12:?count=?lines
(*LOAD  $.CODE6
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"''
�	�&903
�%�f%=fl% �D �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:�tB@
�a%=2 :�
�a%=3 �22,6:�=&6000:� P$
��
"��pict(P$,m%,dl%)
,d%=0:�space
6"d%=d%+1:�22,m%:�"LOAD "+P$+�d%
@�P �space � �"UCODE"
J�d%=dl% �22,3:�
T	�TvA
^
��printer
c	�15,2
hP=�:M=�:m%=3
r,�''"Do you want perforation skip? (Y/N)"
|�yn
��a%<3 ?skip=-1 � ?skip=0
��
���yn:�:a%=�"YyNn",�):�a%:�
�4��space �0,31);"PRESS SPACE TO CONTINUE";:G=�:�
���menu        
�T$="EUG37 PROGRAMMING MENU"
��19-� T$/2,2);T$
��19-� T$/2,3);ĩ T$,"~")
��28,2,30,35,4
��1:�'"PLEASE SELECT -":�3
��'"R. Return to Main Menu"
�6�'"T. Toggle ";((((M%*-1)� 1)+1)*40)" column text"
*�'"++++++++++++++++++++++++++++++++++"
$�'"1. Database from Mark Bellis"
I�'"2. Breaking commercial software"''"   protection from Mark Bellis"
&'�'"3. Disassembly from Mark Bellis"
N	*FX21
X�:a%=�"RT123",�):�a%
b�a%=1 �"DIR":�"MENU"
l-�a%=2 M%=M% � �:�10,5);8-(4*�(M%)):�DXB
v$�a%=3 R=�:f$="+ab":fl%=1:�text:�
�0�a%=4 R=�:f$="+BH":fl%=1:P$="BHDEMO":�text:�
�0�a%=5 R=�:f$="+DA":fl%=2:P$="DADEMO":�text:�
��
�
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 29 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 3a 3f  63 6f 75 6e 74 3d 3f 6c  |nes=12:?count=?l|
00000080  69 6e 65 73 0d 00 28 12  2a 4c 4f 41 44 20 20 24  |ines..(.*LOAD  $|
00000090  2e 43 4f 44 45 36 0d 00  32 11 ef 32 32 2c 34 3a  |.CODE6..2..22,4:|
000000a0  d3 3d 26 32 36 30 30 0d  00 3c 1b ef 31 39 2c 30  |.=&2600..<..19,0|
000000b0  2c 34 3b 30 3b 32 33 2c  31 2c 30 3b 30 3b 30 3b  |,4;0;23,1,0;0;0;|
000000c0  30 3b 0d 00 46 25 3f 73  6b 69 70 3d 30 3a 3f 6d  |0;..F%?skip=0:?m|
000000d0  6f 64 65 66 6c 61 67 3d  30 3a 3f 63 6f 75 6e 74  |odeflag=0:?count|
000000e0  3d 3f 6c 69 6e 65 73 0d  00 50 14 50 3d a3 3a 4d  |=?lines..P.P=.:M|
000000f0  25 3d a3 3a 44 3d a3 3a  52 3d a3 0d 00 5a 2e ec  |%=.:D=.:R=...Z..|
00000100  31 32 2c 31 32 3a df 31  32 36 37 2c 31 32 3a df  |12,12:.1267,12:.|
00000110  31 32 36 37 2c 31 30 31  31 3a df 31 32 2c 31 30  |1267,1011:.12,10|
00000120  31 31 3a df 31 32 2c 31  32 0d 00 64 0f f2 6d 65  |11:.12,12..d..me|
00000130  6e 75 3a e5 8d 54 72 40  0d 00 6e 05 e0 0d 00 78  |nu:..Tr@..n....x|
00000140  0e dd f2 74 65 78 74 3a  50 3d a3 0d 00 82 08 66  |...text:P=.....f|
00000150  25 3d 30 0d 00 8c 2f ef  32 32 2c 36 3a 66 25 3d  |%=0.../.22,6:f%=|
00000160  66 25 2b 31 3a d6 26 39  30 30 3a ff 22 4c 4f 41  |f%+1:.&900:."LOA|
00000170  44 20 22 2b 66 24 2b c3  66 25 2b 22 20 22 2b c3  |D "+f$+.f%+" "+.|
00000180  7e 93 0d 00 96 12 e7 4d  25 20 6d 25 3d 36 8b 20  |~......M% m%=6. |
00000190  6d 25 3d 33 0d 00 a0 29  ef 32 32 2c 6d 25 3a e7  |m%=3...).22,m%:.|
000001a0  ac 50 20 ef 31 34 3a f1  27 27 22 53 48 49 46 54  |.P .14:.''"SHIFT|
000001b0  20 54 4f 20 53 43 52 4f  4c 4c 22 27 27 0d 00 aa  | TO SCROLL"''...|
000001c0  09 d6 26 39 30 33 0d 00  b4 25 e7 66 25 3d 66 6c  |..&903...%.f%=fl|
000001d0  25 20 e7 44 20 f2 70 69  63 74 28 22 50 49 43 22  |% .D .pict("PIC"|
000001e0  2c 30 2c 32 29 3a e5 8d  64 5c 40 0d 00 be 11 e7  |,0,2):..d\@.....|
000001f0  66 25 3d 66 6c 25 20 e5  8d 64 5c 40 0d 00 c8 0e  |f%=fl% ..d\@....|
00000200  e7 ac 50 20 f2 73 70 61  63 65 0d 00 d2 09 e5 8d  |..P .space......|
00000210  74 4c 40 0d 00 dc 33 ef  33 3a e7 ac 50 20 f1 27  |tL@...3.3:..P .'|
00000220  27 22 3c 50 3e 20 54 4f  20 50 52 49 4e 54 20 54  |'"<P> TO PRINT T|
00000230  45 58 54 20 3c 4d 3e 20  46 4f 52 20 4d 45 4e 55  |EXT <M> FOR MENU|
00000240  22 3b 20 8b 20 e1 0d 00  e6 2d e7 20 52 20 61 24  |"; . ....-. R a$|
00000250  3d 22 50 4d 52 22 3a f1  22 20 3c 52 3e 20 52 55  |="PMR":." <R> RU|
00000260  4e 20 50 52 4f 47 52 41  4d 22 20 8b 61 24 3d 22  |N PROGRAM" .a$="|
00000270  50 4d 22 0d 00 f0 13 f5  3a 61 25 3d a7 61 24 2c  |PM".....:a%=.a$,|
00000280  be 29 3a fd 61 25 0d 00  fa 18 e7 61 25 3d 31 20  |.):.a%.....a%=1 |
00000290  f2 70 72 69 6e 74 65 72  3a e5 8d 74 42 40 0d 01  |.printer:..tB@..|
000002a0  04 0c e7 61 25 3d 32 20  3a e1 0d 01 0e 1c e7 61  |...a%=2 :......a|
000002b0  25 3d 33 20 ef 32 32 2c  36 3a d3 3d 26 36 30 30  |%=3 .22,6:.=&600|
000002c0  30 3a d7 20 50 24 0d 01  18 06 fd a3 0d 01 22 15  |0:. P$........".|
000002d0  dd f2 70 69 63 74 28 50  24 2c 6d 25 2c 64 6c 25  |..pict(P$,m%,dl%|
000002e0  29 0d 01 2c 0f 64 25 3d  30 3a f2 73 70 61 63 65  |)..,.d%=0:.space|
000002f0  0d 01 36 22 64 25 3d 64  25 2b 31 3a ef 32 32 2c  |..6"d%=d%+1:.22,|
00000300  6d 25 3a ff 22 4c 4f 41  44 20 22 2b 50 24 2b c3  |m%:."LOAD "+P$+.|
00000310  64 25 0d 01 40 19 e7 ac  50 20 f2 73 70 61 63 65  |d%..@...P .space|
00000320  20 8b 20 ff 22 55 43 4f  44 45 22 0d 01 4a 13 e7  | . ."UCODE"..J..|
00000330  64 25 3d 64 6c 25 20 ef  32 32 2c 33 3a e1 0d 01  |d%=dl% .22,3:...|
00000340  54 09 e5 8d 54 76 41 0d  01 5e 0d dd f2 70 72 69  |T...TvA..^...pri|
00000350  6e 74 65 72 0d 01 63 09  ef 31 35 2c 32 0d 01 68  |nter..c..15,2..h|
00000360  10 50 3d b9 3a 4d 3d a3  3a 6d 25 3d 33 0d 01 72  |.P=.:M=.:m%=3..r|
00000370  2c f1 27 27 22 44 6f 20  79 6f 75 20 77 61 6e 74  |,.''"Do you want|
00000380  20 70 65 72 66 6f 72 61  74 69 6f 6e 20 73 6b 69  | perforation ski|
00000390  70 3f 20 28 59 2f 4e 29  22 0d 01 7c 07 f2 79 6e  |p? (Y/N)"..|..yn|
000003a0  0d 01 86 1c e7 61 25 3c  33 20 3f 73 6b 69 70 3d  |.....a%<3 ?skip=|
000003b0  2d 31 20 8b 20 3f 73 6b  69 70 3d 30 0d 01 90 05  |-1 . ?skip=0....|
000003c0  e1 0d 01 9a 1e dd f2 79  6e 3a f5 3a 61 25 3d a7  |.......yn:.:a%=.|
000003d0  22 59 79 4e 6e 22 2c be  29 3a fd 61 25 3a e1 0d  |"YyNn",.):.a%:..|
000003e0  01 a4 34 dd f2 73 70 61  63 65 20 f1 8a 30 2c 33  |..4..space ..0,3|
000003f0  31 29 3b 22 50 52 45 53  53 20 53 50 41 43 45 20  |1);"PRESS SPACE |
00000400  54 4f 20 43 4f 4e 54 49  4e 55 45 22 3b 3a 47 3d  |TO CONTINUE";:G=|
00000410  a5 3a e1 0d 01 ae 12 dd  f2 6d 65 6e 75 20 20 20  |.:.......menu   |
00000420  20 20 20 20 20 0d 01 b8  1f 54 24 3d 22 45 55 47  |     ....T$="EUG|
00000430  33 37 20 50 52 4f 47 52  41 4d 4d 49 4e 47 20 4d  |37 PROGRAMMING M|
00000440  45 4e 55 22 0d 01 c2 15  f1 8a 31 39 2d a9 20 54  |ENU"......19-. T|
00000450  24 2f 32 2c 32 29 3b 54  24 0d 01 cc 1d f1 8a 31  |$/2,2);T$......1|
00000460  39 2d a9 20 54 24 2f 32  2c 33 29 3b c4 a9 20 54  |9-. T$/2,3);.. T|
00000470  24 2c 22 7e 22 29 0d 01  d6 11 ef 32 38 2c 32 2c  |$,"~").....28,2,|
00000480  33 30 2c 33 35 2c 34 0d  01 e0 1d fb 31 3a f1 27  |30,35,4.....1:.'|
00000490  22 50 4c 45 41 53 45 20  53 45 4c 45 43 54 20 2d  |"PLEASE SELECT -|
000004a0  22 3a fb 33 0d 01 ea 1e  f1 27 22 52 2e 20 52 65  |":.3.....'"R. Re|
000004b0  74 75 72 6e 20 74 6f 20  4d 61 69 6e 20 4d 65 6e  |turn to Main Men|
000004c0  75 22 0d 01 f4 36 f1 27  22 54 2e 20 54 6f 67 67  |u"...6.'"T. Togg|
000004d0  6c 65 20 22 3b 28 28 28  28 4d 25 2a 2d 31 29 82  |le ";((((M%*-1).|
000004e0  20 31 29 2b 31 29 2a 34  30 29 22 20 63 6f 6c 75  | 1)+1)*40)" colu|
000004f0  6d 6e 20 74 65 78 74 22  0d 02 08 2a f1 27 22 2b  |mn text"...*.'"+|
00000500  2b 2b 2b 2b 2b 2b 2b 2b  2b 2b 2b 2b 2b 2b 2b 2b  |++++++++++++++++|
*
00000520  2b 22 0d 02 12 24 f1 27  22 31 2e 20 44 61 74 61  |+"...$.'"1. Data|
00000530  62 61 73 65 20 66 72 6f  6d 20 4d 61 72 6b 20 42  |base from Mark B|
00000540  65 6c 6c 69 73 22 0d 02  1c 49 f1 27 22 32 2e 20  |ellis"...I.'"2. |
00000550  42 72 65 61 6b 69 6e 67  20 63 6f 6d 6d 65 72 63  |Breaking commerc|
00000560  69 61 6c 20 73 6f 66 74  77 61 72 65 22 27 27 22  |ial software"''"|
00000570  20 20 20 70 72 6f 74 65  63 74 69 6f 6e 20 66 72  |   protection fr|
00000580  6f 6d 20 4d 61 72 6b 20  42 65 6c 6c 69 73 22 0d  |om Mark Bellis".|
00000590  02 26 27 f1 27 22 33 2e  20 44 69 73 61 73 73 65  |.&'.'"3. Disasse|
000005a0  6d 62 6c 79 20 66 72 6f  6d 20 4d 61 72 6b 20 42  |mbly from Mark B|
000005b0  65 6c 6c 69 73 22 0d 02  4e 09 2a 46 58 32 31 0d  |ellis"..N.*FX21.|
000005c0  02 58 18 f5 3a 61 25 3d  a7 22 52 54 31 32 33 22  |.X..:a%=."RT123"|
000005d0  2c be 29 3a fd 61 25 0d  02 62 18 e7 61 25 3d 31  |,.):.a%..b..a%=1|
000005e0  20 ff 22 44 49 52 22 3a  d7 22 4d 45 4e 55 22 0d  | ."DIR":."MENU".|
000005f0  02 6c 2d e7 61 25 3d 32  20 4d 25 3d 4d 25 20 82  |.l-.a%=2 M%=M% .|
00000600  20 b9 3a f1 8a 31 30 2c  35 29 3b 38 2d 28 34 2a  | .:..10,5);8-(4*|
00000610  94 28 4d 25 29 29 3a e5  8d 44 58 42 0d 02 76 24  |.(M%)):..DXB..v$|
00000620  e7 61 25 3d 33 20 52 3d  a3 3a 66 24 3d 22 2b 61  |.a%=3 R=.:f$="+a|
00000630  62 22 3a 66 6c 25 3d 31  3a f2 74 65 78 74 3a e1  |b":fl%=1:.text:.|
00000640  0d 02 80 30 e7 61 25 3d  34 20 52 3d b9 3a 66 24  |...0.a%=4 R=.:f$|
00000650  3d 22 2b 42 48 22 3a 66  6c 25 3d 31 3a 50 24 3d  |="+BH":fl%=1:P$=|
00000660  22 42 48 44 45 4d 4f 22  3a f2 74 65 78 74 3a e1  |"BHDEMO":.text:.|
00000670  0d 02 8a 30 e7 61 25 3d  35 20 52 3d b9 3a 66 24  |...0.a%=5 R=.:f$|
00000680  3d 22 2b 44 41 22 3a 66  6c 25 3d 32 3a 50 24 3d  |="+DA":fl%=2:P$=|
00000690  22 44 41 44 45 4d 4f 22  3a f2 74 65 78 74 3a e1  |"DADEMO":.text:.|
000006a0  0d 02 bc 05 e1 0d ff                              |.......|
000006a7
P/PMENU.m0
P/PMENU.m1
P/PMENU.m2
P/PMENU.m4
P/PMENU.m5