@itix & Kronos
Hi,
Basically I am experimenting. Just now, supporting actual 8-bit stuff is not on the agenda, but I need to investigate the existing graphics.library's speed versus my own code.
It's not that my code is slow, but it is pure software. I am working on the assumption that the graphics.library, although stuck in arcane "8-bit Pen land" may use some degree of hardware acceleration that I could benefit from.
My principal problem is in getting to choose my own colours for the RastPort. If I were running fullscreen I can see that it's not a problem, but this is a for window running on a high/truecolour desktop...
Kronos wrote:
You know there is an easy way ?
Just put down that MG and embrace the butterfly :-o :-P ;-)
:lol: That chaingun sure has some ammo in it, eh?
Pains (o.k.cheap joke) are one of the hardest things in AOS-progging,and yes it
is as complicated as you thing.
Basiclly you will need to GetColorMap(),followed by a number of
SetRGB32CM().
Yeah thats what I figured. I don't see the connection between the GetColorMap() and the existing screen though. It doesn't take any argumetns other than the size of the colormap.
Am I missing something? Or is there a way (hopefully) that I can take a Screen* pointer to the workbench (well, whatever Screen my Window is on) and get the existing ColorMap for it?
Then I can lock a few pens from that and everybody is happy :-)