AMOS TOME Series IV Manual  Index Prev Page Next Page 56

Map Handle screen,x,y
Basically, this is the Nicemap routine, with x & y being the MX & MY variables normally used. e.g :

Map Handle 1,MX,MY

instead of

HX=MX/Xsize
HY=MY/Ysize
FX=MX mod Xsize
FY=MY mod Ysize
If HX <> HXO or HY<>HYO Gosub NICEMAP : Endif
HXO=HX : HYO=HY
etc.

Obviously, this will speed up TOME map scrolling that was previously using the Nicemap routine quite considerably !

Map Handle Init
This command is used to initialise the internal variables used by Map Handle. It should be done before you first use Map Handle, and any time where you will be jumping by more than one tile, or resetting the map.

Tiny Map x,y,size
The tiny map command is a simple version of the Map Do command, that works by taking the 1st tile value for each tile to be displayed, dividing it by 16 and displaying this result as a tile from the Tiny tile Bank (normally bank 10).

This is handy when you want to do things like Infra Red scans and dungeon overviews etc, as each different tile in the Tiny Map represents a particular range of 16 tile values. See the Tiny_Map_Demo.Amos file for an example.