I switched to VESA mode 105h which is a 256 color mode. When I checked the palette data using AX = 4F09h, I got values that matched the colors displayed on the screen.
When I switched the mode to 118h, a 16.8M color mode, I checked the palette table and the same values are still there even though the colors displayed are different.
How do I get the palette data for the new mode I switched to? Or maybe I am not getting the whole concept right. Can someone explain to me how to get the palette values for a specific mode?