Home » Personal collection » Acorn tapes » Commercial_Releases » box06_tape05a_acorn_amx_mouse.wav » !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 tapes » Commercial_Releases » box06_tape05a_acorn_amx_mouse.wav
Filename: !MENU
Read OK:
File size: 0642 bytes
Load address: FFFF0E00
Exec address: FFFF8023
File contents
    0 
    1REM     !MENU program
    2 
    3REM    Version 21/10/1984
    4 
   10 
   20MODE 4
   30ON ERROR GOTO 30000
   40prog=51:art=53
   50*KEY 10
  100PROCdesk
  200exec%=-107
  210move%=-108
  220canc%=-109
  300 
  310*SENSITIVITY 2,2
  320*BUTTONS OFF
  330*POINTER ON
  900 
  920*POINTER 80
 1000VDU26
 1010PROCprog(prog,7,5,"Design")
 1020PROCprog(prog,17,5,"Demo_1")
 1030PROCprog(prog,27,5,"Demo_2")
 1040PROCprog(art,7,10,"AMX-ART")
 2000 
 2010*SHOWPOINTER
 2020REPEAT
 2030  *MOVEPOINTER
 2040UNTIL INKEYexec%
 3000 
 3010*UPDATE
 3020IF POS>3 AND POS<30 AND VPOS>3 AND VPOS<14 THEN 4000
 3030REPEAT
 3040  *MOVEPOINTER
 3050UNTIL INKEY-129
 3060GOTO 2020
 4000*HIDEPOINTER
 4010N%=(POS-3)/10+((VPOS-4)DIV5)*3
 4015IF N%<4 THEN 4020
 4016*SHOWPOINTER
 4017GOTO 3030
 4020X%=((POS-3)DIV 10)*10
 4030Y%=((VPOS-4)DIV5)*5
 4040a%=X%*32+128:b%=892-Y%*32
 4050c%=X%*32+400:d%=732-Y%*32
 4060GCOL 3,1
 4070MOVE a%,b%:MOVE c%,b%
 4080PLOT 85,a%,d%:PLOT 85,c%,d%
 4085MOVE c%,b%:MOVE a%,d%:PLOT 85,c%,b%
 4090REPEATUNTILINKEY-129
 4100PRINTTAB(5,18)"RUN ?  Press Execute or Cancel";
 4110IF INKEY(exec%) THEN 6000
 4120IF INKEY(canc%) THEN 5000
 4130GOTO 4110
 5000 
 5010MOVE a%,b%:MOVE c%,b%
 5020PLOT 85,a%,d%:PLOT 85,c%,d%:MOVE c%,b%:MOVE a%,d%:PLOT 85,c%,b%
 5030PRINTTAB(5,18)"                                 ";
 5040GOTO 9000
 6000IF N%<0 OR N%>3 THEN GOTO 10
 6001*WINDOW 5,28,25,23
 6010IF N%=0 THEN CHAIN"DESIGN"
 6020IF N%=1 THEN CHAIN"DEMO_1"
 6030IF N%=2 THEN CHAIN"DEMO_2"
 6040IF N%=3 THEN */ART
 6050GOTO 10
 9000 
 9010*SHOWPOINTER
 9020REPEAT
 9030  *MOVEPOINTER
 9040UNTIL INKEY-129
 9050GOTO 2020
 9999A=GET:END
10000 
10010DEFPROCprog(I%,X%,Y%,A$)
10020PROCoscli("ICON "+STR$I%+","+STR$X%+","+STR$Y%)
10040PRINTTAB(X%-2,Y%+2);A$;
10050ENDPROC
20000 
20010DEFPROCdesk
20020*DESK
20030*WINDOW 3,19,37,2,           AMX Mouse
20080VDU 26
20090VDU 23,1,0;0;0;0;0;
20190ENDPROC
20610DEFPROCoscli(A$)
20620$&700=A$
20630LOCAL X%,Y%
20640X%=0:Y%=7:CALL &FFF7
20650ENDPROC
30000 
30010ON ERROR OFF
30020VDU 28,5,19,39,17
30030REPORT
30040PRINT" Press a button";
30050REPEAT
30060UNTIL INKEY-129
30070REPEATUNTIL NOT INKEY-129
30080GOTO 10
 
�     !MENU program
 
�    Version 21/10/1984
 

 
� 4
� � � �Ppu
(prog=51:art=53
2*KEY 10
d	�desk
�exec%=-107
�move%=-108
�canc%=-109
, 
6*SENSITIVITY 2,2
@*BUTTONS OFF
J*POINTER ON
� 
�*POINTER 80
��26
��prog(prog,7,5,"Design")
��prog(prog,17,5,"Demo_1")
�prog(prog,27,5,"Demo_2")
�prog(art,7,10,"AMX-ART")
� 
�*SHOWPOINTER
��
�  *MOVEPOINTER
�� �exec%
� 
�*UPDATE
�$� �>3 � �<30 � �>3 � �<14 � �t`O
��
�  *MOVEPOINTER
�� �-129
�
� �ddG
�*HIDEPOINTER
�N%=(�-3)/10+((�-4)�5)*3
�� N%<4 � �ttO
�*SHOWPOINTER
�
� �dVK
�X%=((�-3)� 10)*10
�Y%=((�-4)�5)*5
�a%=X%*32+128:b%=892-Y%*32
�c%=X%*32+400:d%=732-Y%*32
�	� 3,1
�� a%,b%:� c%,b%
�� 85,a%,d%:� 85,c%,d%
�� c%,b%:� a%,d%:� 85,c%,b%
����-129
,�5,18)"RUN ?  Press Execute or Cancel";
� �(exec%) � �DpW
� �(canc%) � �tHS
"
� �TNP
� 
�� a%,b%:� c%,b%
�4� 85,a%,d%:� 85,c%,d%:� c%,b%:� a%,d%:� 85,c%,b%
�/�5,18)"                                 ";
�
� �Thc
p� N%<0 � N%>3 � � �TJ@
q*WINDOW 5,28,25,23
z� N%=0 � �"DESIGN"
�� N%=1 � �"DEMO_1"
�� N%=2 � �"DEMO_2"
�� N%=3 � */ART
�
� �TJ@
#( 
#2*SHOWPOINTER
#<�
#F  *MOVEPOINTER
#P� �-129
#Z
� �ddG
'	A=�:�
' 
'��prog(I%,X%,Y%,A$)
'$'�oscli("ICON "+�I%+","+�X%+","+�Y%)
'8�X%-2,Y%+2);A$;
'B�
N  
N*
��desk
N4	*DESK
N>**WINDOW 3,19,37,2,           AMX Mouse
Np� 26
Nz� 23,1,0;0;0;0;0;
N��
P���oscli(A$)
P�$&700=A$
P�� X%,Y%
P�X%=0:Y%=7:� &FFF7
P��
u0 
u:	� � �
uD� 28,5,19,39,17
uN�
uX�" Press a button";
ub�
ul� �-129
uv�� � �-129
u�
� �TJ@
�
00000000  0d 00 00 05 20 0d 00 01  17 f4 20 20 20 20 20 21  |.... .....     !|
00000010  4d 45 4e 55 20 70 72 6f  67 72 61 6d 0d 00 02 05  |MENU program....|
00000020  20 0d 00 03 1b f4 20 20  20 20 56 65 72 73 69 6f  | .....    Versio|
00000030  6e 20 32 31 2f 31 30 2f  31 39 38 34 0d 00 04 05  |n 21/10/1984....|
00000040  20 0d 00 0a 05 20 0d 00  14 07 eb 20 34 0d 00 1e  | .... ..... 4...|
00000050  0e ee 20 85 20 e5 20 8d  50 70 75 0d 00 28 12 70  |.. . . .Ppu..(.p|
00000060  72 6f 67 3d 35 31 3a 61  72 74 3d 35 33 0d 00 32  |rog=51:art=53..2|
00000070  0b 2a 4b 45 59 20 31 30  0d 00 64 09 f2 64 65 73  |.*KEY 10..d..des|
00000080  6b 0d 00 c8 0e 65 78 65  63 25 3d 2d 31 30 37 0d  |k....exec%=-107.|
00000090  00 d2 0e 6d 6f 76 65 25  3d 2d 31 30 38 0d 00 dc  |...move%=-108...|
000000a0  0e 63 61 6e 63 25 3d 2d  31 30 39 0d 01 2c 05 20  |.canc%=-109..,. |
000000b0  0d 01 36 14 2a 53 45 4e  53 49 54 49 56 49 54 59  |..6.*SENSITIVITY|
000000c0  20 32 2c 32 0d 01 40 10  2a 42 55 54 54 4f 4e 53  | 2,2..@.*BUTTONS|
000000d0  20 4f 46 46 0d 01 4a 0f  2a 50 4f 49 4e 54 45 52  | OFF..J.*POINTER|
000000e0  20 4f 4e 0d 03 84 05 20  0d 03 98 0f 2a 50 4f 49  | ON.... ....*POI|
000000f0  4e 54 45 52 20 38 30 0d  03 e8 07 ef 32 36 0d 03  |NTER 80.....26..|
00000100  f2 1c f2 70 72 6f 67 28  70 72 6f 67 2c 37 2c 35  |...prog(prog,7,5|
00000110  2c 22 44 65 73 69 67 6e  22 29 0d 03 fc 1d f2 70  |,"Design").....p|
00000120  72 6f 67 28 70 72 6f 67  2c 31 37 2c 35 2c 22 44  |rog(prog,17,5,"D|
00000130  65 6d 6f 5f 31 22 29 0d  04 06 1d f2 70 72 6f 67  |emo_1").....prog|
00000140  28 70 72 6f 67 2c 32 37  2c 35 2c 22 44 65 6d 6f  |(prog,27,5,"Demo|
00000150  5f 32 22 29 0d 04 10 1d  f2 70 72 6f 67 28 61 72  |_2").....prog(ar|
00000160  74 2c 37 2c 31 30 2c 22  41 4d 58 2d 41 52 54 22  |t,7,10,"AMX-ART"|
00000170  29 0d 07 d0 05 20 0d 07  da 10 2a 53 48 4f 57 50  |).... ....*SHOWP|
00000180  4f 49 4e 54 45 52 0d 07  e4 05 f5 0d 07 ee 12 20  |OINTER......... |
00000190  20 2a 4d 4f 56 45 50 4f  49 4e 54 45 52 0d 07 f8  | *MOVEPOINTER...|
000001a0  0c fd 20 a6 65 78 65 63  25 0d 0b b8 05 20 0d 0b  |.. .exec%.... ..|
000001b0  c2 0b 2a 55 50 44 41 54  45 0d 0b cc 24 e7 20 b1  |..*UPDATE...$. .|
000001c0  3e 33 20 80 20 b1 3c 33  30 20 80 20 bc 3e 33 20  |>3 . .<30 . .>3 |
000001d0  80 20 bc 3c 31 34 20 8c  20 8d 74 60 4f 0d 0b d6  |. .<14 . .t`O...|
000001e0  05 f5 0d 0b e0 12 20 20  2a 4d 4f 56 45 50 4f 49  |......  *MOVEPOI|
000001f0  4e 54 45 52 0d 0b ea 0b  fd 20 a6 2d 31 32 39 0d  |NTER..... .-129.|
00000200  0b f4 0a e5 20 8d 64 64  47 0d 0f a0 10 2a 48 49  |.... .ddG....*HI|
00000210  44 45 50 4f 49 4e 54 45  52 0d 0f aa 1b 4e 25 3d  |DEPOINTER....N%=|
00000220  28 b1 2d 33 29 2f 31 30  2b 28 28 bc 2d 34 29 81  |(.-3)/10+((.-4).|
00000230  35 29 2a 33 0d 0f af 11  e7 20 4e 25 3c 34 20 8c  |5)*3..... N%<4 .|
00000240  20 8d 74 74 4f 0d 0f b0  10 2a 53 48 4f 57 50 4f  | .ttO....*SHOWPO|
00000250  49 4e 54 45 52 0d 0f b1  0a e5 20 8d 64 56 4b 0d  |INTER..... .dVK.|
00000260  0f b4 15 58 25 3d 28 28  b1 2d 33 29 81 20 31 30  |...X%=((.-3). 10|
00000270  29 2a 31 30 0d 0f be 12  59 25 3d 28 28 bc 2d 34  |)*10....Y%=((.-4|
00000280  29 81 35 29 2a 35 0d 0f  c8 1d 61 25 3d 58 25 2a  |).5)*5....a%=X%*|
00000290  33 32 2b 31 32 38 3a 62  25 3d 38 39 32 2d 59 25  |32+128:b%=892-Y%|
000002a0  2a 33 32 0d 0f d2 1d 63  25 3d 58 25 2a 33 32 2b  |*32....c%=X%*32+|
000002b0  34 30 30 3a 64 25 3d 37  33 32 2d 59 25 2a 33 32  |400:d%=732-Y%*32|
000002c0  0d 0f dc 09 e6 20 33 2c  31 0d 0f e6 13 ec 20 61  |..... 3,1..... a|
000002d0  25 2c 62 25 3a ec 20 63  25 2c 62 25 0d 0f f0 19  |%,b%:. c%,b%....|
000002e0  f0 20 38 35 2c 61 25 2c  64 25 3a f0 20 38 35 2c  |. 85,a%,d%:. 85,|
000002f0  63 25 2c 64 25 0d 0f f5  1e ec 20 63 25 2c 62 25  |c%,d%..... c%,b%|
00000300  3a ec 20 61 25 2c 64 25  3a f0 20 38 35 2c 63 25  |:. a%,d%:. 85,c%|
00000310  2c 62 25 0d 0f fa 0b f5  fd a6 2d 31 32 39 0d 10  |,b%.......-129..|
00000320  04 2c f1 8a 35 2c 31 38  29 22 52 55 4e 20 3f 20  |.,..5,18)"RUN ? |
00000330  20 50 72 65 73 73 20 45  78 65 63 75 74 65 20 6f  | Press Execute o|
00000340  72 20 43 61 6e 63 65 6c  22 3b 0d 10 0e 15 e7 20  |r Cancel";..... |
00000350  a6 28 65 78 65 63 25 29  20 8c 20 8d 44 70 57 0d  |.(exec%) . .DpW.|
00000360  10 18 15 e7 20 a6 28 63  61 6e 63 25 29 20 8c 20  |.... .(canc%) . |
00000370  8d 74 48 53 0d 10 22 0a  e5 20 8d 54 4e 50 0d 13  |.tHS..".. .TNP..|
00000380  88 05 20 0d 13 92 13 ec  20 61 25 2c 62 25 3a ec  |.. ..... a%,b%:.|
00000390  20 63 25 2c 62 25 0d 13  9c 34 f0 20 38 35 2c 61  | c%,b%...4. 85,a|
000003a0  25 2c 64 25 3a f0 20 38  35 2c 63 25 2c 64 25 3a  |%,d%:. 85,c%,d%:|
000003b0  ec 20 63 25 2c 62 25 3a  ec 20 61 25 2c 64 25 3a  |. c%,b%:. a%,d%:|
000003c0  f0 20 38 35 2c 63 25 2c  62 25 0d 13 a6 2f f1 8a  |. 85,c%,b%.../..|
000003d0  35 2c 31 38 29 22 20 20  20 20 20 20 20 20 20 20  |5,18)"          |
000003e0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000003f0  20 20 20 20 20 20 20 22  3b 0d 13 b0 0a e5 20 8d  |       ";..... .|
00000400  54 68 63 0d 17 70 1a e7  20 4e 25 3c 30 20 84 20  |Thc..p.. N%<0 . |
00000410  4e 25 3e 33 20 8c 20 e5  20 8d 54 4a 40 0d 17 71  |N%>3 . . .TJ@..q|
00000420  16 2a 57 49 4e 44 4f 57  20 35 2c 32 38 2c 32 35  |.*WINDOW 5,28,25|
00000430  2c 32 33 0d 17 7a 16 e7  20 4e 25 3d 30 20 8c 20  |,23..z.. N%=0 . |
00000440  d7 22 44 45 53 49 47 4e  22 0d 17 84 16 e7 20 4e  |."DESIGN"..... N|
00000450  25 3d 31 20 8c 20 d7 22  44 45 4d 4f 5f 31 22 0d  |%=1 . ."DEMO_1".|
00000460  17 8e 16 e7 20 4e 25 3d  32 20 8c 20 d7 22 44 45  |.... N%=2 . ."DE|
00000470  4d 4f 5f 32 22 0d 17 98  12 e7 20 4e 25 3d 33 20  |MO_2"..... N%=3 |
00000480  8c 20 2a 2f 41 52 54 0d  17 a2 0a e5 20 8d 54 4a  |. */ART..... .TJ|
00000490  40 0d 23 28 05 20 0d 23  32 10 2a 53 48 4f 57 50  |@.#(. .#2.*SHOWP|
000004a0  4f 49 4e 54 45 52 0d 23  3c 05 f5 0d 23 46 12 20  |OINTER.#<...#F. |
000004b0  20 2a 4d 4f 56 45 50 4f  49 4e 54 45 52 0d 23 50  | *MOVEPOINTER.#P|
000004c0  0b fd 20 a6 2d 31 32 39  0d 23 5a 0a e5 20 8d 64  |.. .-129.#Z.. .d|
000004d0  64 47 0d 27 0f 09 41 3d  a5 3a e0 0d 27 10 05 20  |dG.'..A=.:..'.. |
000004e0  0d 27 1a 17 dd f2 70 72  6f 67 28 49 25 2c 58 25  |.'....prog(I%,X%|
000004f0  2c 59 25 2c 41 24 29 0d  27 24 27 f2 6f 73 63 6c  |,Y%,A$).'$'.oscl|
00000500  69 28 22 49 43 4f 4e 20  22 2b c3 49 25 2b 22 2c  |i("ICON "+.I%+",|
00000510  22 2b c3 58 25 2b 22 2c  22 2b c3 59 25 29 0d 27  |"+.X%+","+.Y%).'|
00000520  38 14 f1 8a 58 25 2d 32  2c 59 25 2b 32 29 3b 41  |8...X%-2,Y%+2);A|
00000530  24 3b 0d 27 42 05 e1 0d  4e 20 05 20 0d 4e 2a 0a  |$;.'B...N . .N*.|
00000540  dd f2 64 65 73 6b 0d 4e  34 09 2a 44 45 53 4b 0d  |..desk.N4.*DESK.|
00000550  4e 3e 2a 2a 57 49 4e 44  4f 57 20 33 2c 31 39 2c  |N>**WINDOW 3,19,|
00000560  33 37 2c 32 2c 20 20 20  20 20 20 20 20 20 20 20  |37,2,           |
00000570  41 4d 58 20 4d 6f 75 73  65 0d 4e 70 08 ef 20 32  |AMX Mouse.Np.. 2|
00000580  36 0d 4e 7a 15 ef 20 32  33 2c 31 2c 30 3b 30 3b  |6.Nz.. 23,1,0;0;|
00000590  30 3b 30 3b 30 3b 0d 4e  de 05 e1 0d 50 82 0f dd  |0;0;0;.N....P...|
000005a0  f2 6f 73 63 6c 69 28 41  24 29 0d 50 8c 0c 24 26  |.oscli(A$).P..$&|
000005b0  37 30 30 3d 41 24 0d 50  96 0b ea 20 58 25 2c 59  |700=A$.P... X%,Y|
000005c0  25 0d 50 a0 15 58 25 3d  30 3a 59 25 3d 37 3a d6  |%.P..X%=0:Y%=7:.|
000005d0  20 26 46 46 46 37 0d 50  aa 05 e1 0d 75 30 05 20  | &FFF7.P....u0. |
000005e0  0d 75 3a 09 ee 20 85 20  87 0d 75 44 13 ef 20 32  |.u:.. . ..uD.. 2|
000005f0  38 2c 35 2c 31 39 2c 33  39 2c 31 37 0d 75 4e 05  |8,5,19,39,17.uN.|
00000600  f6 0d 75 58 17 f1 22 20  50 72 65 73 73 20 61 20  |..uX.." Press a |
00000610  62 75 74 74 6f 6e 22 3b  0d 75 62 05 f5 0d 75 6c  |button";.ub...ul|
00000620  0b fd 20 a6 2d 31 32 39  0d 75 76 0e f5 fd 20 ac  |.. .-129.uv... .|
00000630  20 a6 2d 31 32 39 0d 75  80 0a e5 20 8d 54 4a 40  | .-129.u... .TJ@|
00000640  0d ff                                             |..|
00000642
!MENU.m0
!MENU.m1
!MENU.m2
!MENU.m4
!MENU.m5