AMOS TOME Series IV Manual  Index Prev Page Next Page 55

=Map HX(x)
=Map HY(y)

Returns the result of x div tile size and y div tile size (for use with the Nicemap: routine or the Map Handle command).

=Map FX(x)
=Map FY(y)

Returns the result of x mod tile size and y mod tile size (for use with the Nicemap: routine or the Map Handle command),

Tile Type Bank b
Changes the bank number used for Tile Values (normally set to 8).

=Tme Credit$
Returns a string containing the Credits for the TOME extension. This can be used if you are a reviewer for a magazine and don't know who to credit !

=Tme Ver$
Returns a string containing the TOME Version number, This is handy if you spot anything unusual (i.e. a bug), so that we know what version of the TOME extension you are using.

=Map Base
Returns the base address of TOME's data table, useful for advanced programming and a couple of tricks.

=Map Check
Scans through the map and makes sure that the tiles used in the map are available in the tile bank. If they are not, it replaces them with tile number 0. This function returns the number of tiles it changed. If you are loading a map when you aren't sure whether it is supposed to go with the tiles you have loaded or not, it is a good idea to do Map Check, as it will stop any chance of TOME displaying tiles that don't exist.