Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!watdaisy!datanguay From: datanguay@watdaisy.UUCP Newsgroups: comp.sys.ibm.pc Subject: Re: EGA: How do I find the values of the colour registers? Message-ID: <8320@watdaisy.UUCP> Date: Sun, 17-May-87 03:10:37 EDT Article-I.D.: watdaisy.8320 Posted: Sun May 17 03:10:37 1987 Date-Received: Sun, 17-May-87 08:58:23 EDT References: <8314@watdaisy.UUCP> <317@nonvon.UUCP> Distribution: comp Organization: U of Waterloo, Ontario Lines: 20 In article <317@nonvon.UUCP>, apn@nonvon.UUCP (root) writes: > in article <8314@watdaisy.UUCP>, datanguay@watdaisy.UUCP says: > > > > In EGA Bios ram there is a pointer at 0040:00a8 which points to a table > > of pointers. The second of these pointers points to a buffer into which > > the values for the palette registers will be saved. How do I get bios > > to do the save? I have tried setting up my own pointer table (by changing > > the pointer at 04:00a8 to another set of pointers with my own values) and > > then setting a register. I also tried int 10h ah=12h bl=10 (both hex and > > decimal), which is a call to return ega info. > > > > How about using int 10, ah=10,al=0,bh=color value, bl=palette register > or if setting all of them then try > [....] Oops. Sorry for the lack of clarity, but I want to *read* the values of the palette registers, not write them. Thanks... David Tanguay