Window Manager programming in Assembler

Anything QL Software or Programming Related.
User avatar
BSJR
Trump Card
Posts: 223
Joined: Sun Oct 18, 2015 12:53 pm
Location: Amsterdam
Contact:

Re: Window Manager programming in Assembler

Post by BSJR »

mk79 wrote:
BSJR wrote: This may be a bit off a side step but looking at the display.txt, I cannot find how the various GD2 palette modes (3,7,15,31) should work. Where is this palette located inside the sprite, how many bytes are used for each colour sample?
Or is this one of the "Options" that was never worked out?
The palette is not per sprite, but global for the whole OS. It's the same you get when using COLOUR_PAL in basic. You can redefine it using the PALETTE_8 command http://superbasic-manual.readthedocs.io ... #palette-8. Of course this makes it pretty much impossible to known what colour you actually end with as a developer, so I think nobody has ever used it in practice.
Thanks for clearing that up.
I have played with those commands when SMSQ/E 2.98 came out but have never seen it used either.

BSJR


Post Reply