06-19-2003, 10:37 PM
I don't understand how to do this at all. I tried a few things and none worked. I need a good example on how to do it... But Blitz didn't write an example for it!!
earn.
Changing palette colours in UGL
|
06-19-2003, 10:37 PM
I don't understand how to do this at all. I tried a few things and none worked. I need a good example on how to do it... But Blitz didn't write an example for it!!
earn.
06-19-2003, 11:50 PM
Code: OUT &H3C8, attribute ^ it doesnt *stop* working when you use ugl, does it?
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
06-20-2003, 12:49 AM
Remember only 8 bit modes use palettes!
I think some SVGA cards don't accept the OUT commands for changing palettes, you must call interrupt 10h to do it..
Antoni
06-20-2003, 02:51 AM
Actually it does stop working, some cards have 6 bit dac, others have 8 bit dac. You can't possibly know that. So you have to use ugls routines. It expects all the color components to be in the range 0-255. And it takes a far pointer to the palette. That's it.
oship me and i will give you lots of guurrls and beeea
06-20-2003, 07:19 AM
make if they want to ask their DAC how many bits it supports. (I'm just not where I can look it up right now.)
ravelling Curmudgeon
(geocities sites require copying and pasting URLs.) I liked spam better when it was something that came in a can. Windows should be defenestrated.
06-20-2003, 06:38 PM
It has in my opnion excellent routines for change the pal, we don't think letting them know such stuff is needed
oship me and i will give you lots of guurrls and beeea
|
« Next Oldest | Next Newest »
|