Mmmmh yes and no.
Wich mode can display 16 colors ? The FG/BG ?
And can I have different background color for each Tiles ?
I'm really sorry . My English give me some great issues when I want to explain something specific.
No worries. If you'd like, you can post in French and I can try using Google Translate to try to understand it.
Both modes can display 16 colors, but here are some general restrictions:
- Color Stack Mode (Mode #0 in IntyBASIC):
- Supports 64 GRAM cards or all 320 GROM cards.
- When using GROM cards, you can specify one of the first 8 colors in the palette as foreground. When using GRAM cards, all 16 colors are available.
- The color "stack" is a 4-value circular array that determines the background color of cards. It starts at index #0 and advances every time you set the "Advance Color Stack" flag on the BACKTAB word.
- The BACKTAB is treated as a continues string of tiles (in the order of their memory address). Setting the "Advance Color Stack" flag on a card, updates the background color of all the following cards in the BACKTAB as well, until you set it on another card again. Thus, it works like a "flood fill" where the background color continues on all tiles until changed again.
- Foreground/Background Mode (Mode #1 in IntyBASIC):
- Supports 64 GRAM cards, but only the first 64 cards of GROM, which are basically the standard font character set for letters, numbers, and symbols.
- The foreground colour can be one of the first 8 in the palette, regardless of GRAM or GROM.
- The background colour can be any of the 16 colours, regardless of GRAM or GROM.
Both modes have their strengths and compromises, and both can be versatile in their own way when used expertly. Most people starting use FG/BG Mode because it is much simpler to work. However, if you get to know the Color Stack Mode, you'll discover that it can be very, very powerful indeed, in spite of what seem to be serious limitations.
Personally, I use Color Stack mode mostly. I find that the ability to use all the graphical GROM cards (which include the solid 8x8 block, and many geometric figures) allows for more interesting detail than just 64 custom GRAM cards. With some clever tricks and a hard work you can exploit the Color Stack to make very colourful pictures.
Finally, you can find some technical information on the screen modes in the documentation included with the IntyBASIC SDK. Take a look at the file "stick.txt" in the "Documents/Tech" folder.