I am writting C code for DOS 12h mode that reads a bitmap and displays
the image to the screen.
My problem is that when I generate an image in MS Paint (16 color mode) the index values are different from the expected values assigned in dos.
The expected index value for blue 1
When I use a hex editor to look at the values from the 16 color bmp from MS paint the value is 4.
Why are there discrepencies and is there a way such that I can match the colors from paint when I draw them with my dos program?
Thanks in advance.