Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!leah!rds95 From: rds95@leah.Albany.Edu (Robert Seals) Newsgroups: comp.sys.ibm.pc Subject: How to set palette in 256-color modes? Keywords: mcga, 8514, vga, super vga Message-ID: <1697@leah.Albany.Edu> Date: 16 Mar 89 12:47:51 GMT Organization: The University at Albany, Computer Services Center Lines: 15 Yo - Can someone please explain to me, or better yet provide a C function, how to achieve the following: given a palette location and values for r, g, and b, make the palette location that color. or: void setpalette(int loc, int r, int g, int b); I guess r, g, and b could be chars, but who cares. And they must be 0..63. I think if it works for mode 0x13, it will work for vga and stupor vga, too. THANK you rob