The equivalent of the NewType setup in Amos is the Bank system. Using a work bank for each board will allow you to do a tilemap more quickly than an array will do on a 16-bit Amiga. The trick is that you have to use Deek and Doke to access the memory addresses in the bank instead of array lookups. The advantage is that Deek and Doke store numbers as 16-bit integers instead of 32-bits.A few traps for new players with AMOS Banks and memory access:
Peek and Poke | No problems |
Deek and Doke | The address MUST be aligned to a word boundary. That is, you can't use them on odd addresses, only on even ones. |
Leek and Loke | Same as for Deek and Doke - must be word-aligned |