0 Members and 1 Guest are viewing this topic.
So maybe there is a setting somewhere that needs to be changed for 16-bit color to work?
Does somebody know how to enable true color mode programatically?
syscall 0x0921 : int EnableColor( int );This function seens to enable the display's color mode. Ususally it is called immediately after program-start with parameter 1.
Hello,I tried to display something (in addin) by something like this:unsigned short *VRAM = GetVRAMAddress();int x,y;for(y = 0;y< HEIGHT;y++)for(x = 0;x< WIDTH ;x++){ *VRAM = x;VRAM++;}VRAMtoDD();GetKey(&x);When you run this you got image with 2 color columns (alternating black and blue).But if you press [Menu], it will change (for a fraction of second) to the expected gradient columns, then menu image will be displayed.So it seems display is somehow "rounding" color (using only the highest bit of the color part, or masking the pixels' color ) so it displays only base 8 color. The Menu handler sets this to true color mode and the it redraws the screen.Does somebody know how to enable true color mode programatically?PS: sorry for my poor English.
Try syscall 0x0921 with argument 1.