🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.ibm.pc.programmer
1 messages
1 total messages Started by Chris Healey Thu, 07 Jun 1990 19:15
Need Info on Reading Video Card RGB Triples
#643
Author: Chris Healey
Date: Thu, 07 Jun 1990 19:15
17 lines
1155 bytes
I am working on a screen capture program, which needs to be able to read the
screen colours being used by the active video mode.  Since many graphics
programs change the palette colours, it's not sufficent to assume the default
values.

   I need to find a way to determine the RGB triples being used by the active
video mode.  I know that with a VGA card, you can query the RGB values through
BIOS by passing it the palette register.  However, I'm uncertain which
palette registers are used by which video modes.  In EGA, I've found no way
to query the RGB triples.

   Any information you could provide would be grealy appreciated.


Thanks.
Christopher G. Healey
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads