In Existing Programs - AMX Mouse User Manual

Table of Contents

Advertisement

If the icon number is from 32 to 95 the Icon definition stored in ROM is used to
redefine ICON 0. Icon 0 is then displayed on the screen as usual. Since icon 0 is constantly
redefined by the ROM it should not be defined as a user icon.
With the computer in its normal state there is a limit of 8 ICONS which can be
defined by the user, there being 0 to 7. Any other icon number between 8 and 31 will give
the same result as icons 0 to 7:
To allow more icons to be defined the character set will have to be exploded and
PAGE set to a new value:
Icon No.
*FX 20,0
0 to 7
*FX 20,1
0 to 15
*FX 20,2
0 to 23
*FX 20,3
0 to 31
e.g: To use 16 icons
*FX 20,1
PAGE=PAGE+256
*DEFINE CHARS
CHAIN "PR0GRAM"
Note: If Computer Concepts Graphic ROM is enabled a *GFX 5 command must be
issued to allow icons to be used.
e.g. *MC. ON
After a *MCURSOR OFF command, moving the Mouse changes the coordinate as
used by OSWORD 64, *SHOWPOINTER, and *MOVEPOINTER. Therefore these
commands must be preceeded by a *MCURSOR OFF.
When *MCURSOR ON is used, instead of generating co-ordinates, the ROM
converts the Mouse's movement into cursor keys. This mode is therefore intended for use
in existing programs such as VIEW, which use the cursor keys for movement.
New PAGE
no change
PAGE = PAGE + 256
PAGE = PAGE + 512
PAGE = PAGE + 768

Advertisement

Table of Contents
loading

Table of Contents