Simon Owen schrieb:
LCD wrote:
But just a idea: Using Stack Pointer (PUSH) to write in CLUT
memory area would be faster than LD Command, right?
It certainly would be if SAM's palette was memory-mapped. Unfortunately
it's only accessible through 16-bit I/O ports, so we're limited to the
slow updates of each CLUT register :-(
Si
I remember that I was using the CLUT memory by directly writing in it
very fast, but that was for different reasons. But this explains why
Interlacing with two different palettes does only work if they are
swapped in both screens. I should really start to code again on a real
SAM, I forgot almost anything... :-).