<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">John,<br><br> I understand, I hope.<br><br>I'm thinking that the function-call will (would) have to be made "lower" in the system, so ALL windows would see the same palette. This implies some fundamental programming changes with-in GEM. <br><br>(Now, let me show my ignorance: this would be changing the call from the AES to the VDI ?? )<br><br>Thomas Clayton<br><br><br><br><br><br>--- On <b>Sat, 2/25/12, John Elliott <i><jce@seasip.demon.co.uk></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: John Elliott <jce@seasip.demon.co.uk><br>Subject: Re: [GEM Development] Today I Learned<br>To: gem-dev@simpits.org<br>Date: Saturday, February 25, 2012, 4:25 PM<br><br><div class="plainMail">> For 16 color (or colour(?), in UK English) modes, I thought there was one, =<br>>
and only one, set of 16 for ALL computers - not JUST versions of GEM. Those=<br>> 16 were THE same established ones for TI-99/4a, Apple II's., IBM CGA, EGA,=<br>> and VGA, AND Macintoshes. (It was something like "native" choices. They MI=<br>> GHT not LOOK the same (or be) BUT the video chip WOULD BE making THE same a=<br>> ssignments for ANY system.)<br>> <br>> It was when one 'went to' 256 colors that "variety" became an "issue". Is T=<br>> HIS what you're commenting upon? <br><br> No. This behaviour is present in any driver where the red/green/blue <br>assignments of the colours onscreen can be changed. For example, EGA 640x200<br>mode has a palette of 16 colours and all 16 can be displayed on the screen. <br>But because the EGA has palette registers of a sort, it's possible to use <br>vs_color() to make all red pixels on the screen go green with one function <br>call:<br><br> WORD rgb[] = { 0,
1000, 0 };<br> vs_color(vdi_handle, RED, rgb);<br><br> The problem is that if this change is made by one program, and a second<br>program then asks 'what RGB values does the RED pen have?' the values <br>returned will be { 1000, 0, 0 } not { 0, 1000, 0 }.<br><br>-- <br>John Elliott<br>_______________________________________________<br>gem-dev mailing list<br><a ymailto="mailto:gem-dev@simpits.org" href="/mc/compose?to=gem-dev@simpits.org">gem-dev@simpits.org</a><br><a href="http://www.simpits.org/mailman/listinfo/gem-dev" target="_blank">http://www.simpits.org/mailman/listinfo/gem-dev</a><br></div></blockquote></td></tr></table>