Icons; Windows; Pointer; Define - AMX Mouse User Manual

Table of Contents

Advertisement

e.g. *MOU. ON
Whenever the Mouse is to be used several vectors are changed, and interrupts
generated. To use programs which are incompatible with the Mouse a *MOUSE OFF
command should be used. This command stops the AMX ROM from changing this vector or
servicing the interrupts from the User Port.
The *MOUSE ON command should be used whenever the Mouse is needed. There is
no need to use *MOUSE ON before *POINTER ON since *POINTER ON will automatically
switch the Mouse on.
The following commands are available at all times, and are not affected by *MOUSE
ON/OFF.
*ICON
*WINDOW

*DESK

*DEFINE

e.g. *MOV.
This command is used to erase the pointer from the screen, and redraw it at the new
Mouse position. In use this command should be used after a *SHOWPOINTER
e.g.
10 MODE 4

20 *POINTER 80

30 *SHOWPOINTER
40 REPEAT
50

*MOVEPOINTER

60 UNTIL NOT INKEY (-129)
This program will allow the user to move the pointer (an arrow) around the screen by
using the Mouse, until a button or key is pressed.
NB: This command MUST be preceded by a *POINTER ON command. See 5.12.
Zero page &70 to &8F are altered by this command.

Advertisement

Table of Contents
loading

Table of Contents