From: Petr V. <VAN...@vc...> - 2001-06-22 12:27:12
|
On 22 Jun 01 at 13:11, Geert Uytterhoeven wrote: > > aty_st_dac(regno << 2, palette[regno/2].red, green, palette[regno/2].blue); > aty_st_dac(regno << 3, red, palette[(2*regno) & 0xff].green, blue); I do not see rest of code, but does your code correctly set zero register? Is not green field overwritten by its old value? Can you try 'echo "^[]P0FFFFFF"' and switch to some other console and back? If you still see white background, OK. If you see something else (such as magentha background)... BTW, I think that you should use truecolor instead. It is much easier, and truecolor can cooperate with fbtv, while directcolor has bad troubles due to strange system which truecolor uses for painting characters. Been there, done that, and hardwired palette registers to 1:1 in matroxfb... Best regards, Petr Vandrovec van...@vc... |