First post, by mills26
Hi. I started this thread on another forum but I want to post it here just in case, and also to share some info I found.
I wanted to redefine the windows 3.1 system palette with the VGA driver (640x480 16 colors), to set the pico-8 one, (it looks awesome for everything). Windows itself can change the 16 color palette when loading the startup logo, but once it starts there is no way to edit the colors themselves.
On vintage computer federation they suggested me to look inside vga.drv, because it seems to define the 16 colors there, and I found RGB tables with the values for the palette used in VGA π.
The bad news is, I edited the values using a hex editor, and it did not change the rgb values, just uses that tables to look for the closest color in the fixed palette, and rearranges the same 16 ugly colors π.
Someone could make a windows program which changes VGA registers, but I think that will only work while the program is running, also windows will reset it every time it loads a dos program.
Is there any other way to change the system palette?.
I don't think there is a windows 3.1 source code, that would be awesome, rgb values for the palette are surely stored somewhere. Maybe they are not stored, and windows just resets the VGA card and uses the default EGA palette.