1. Palette?

Q1: When starting Euphoria from DOS - before any other programs
get a crack at changing the standard palette, can I count on
the color values being the same from one computer to another?
For example, in mode 256, will palette entry 46 be {188,252,0}
for everybody - so that the color they see will be fairly close
(within limits of the monitor settings)?
How about other modes?

Regards,
Irv

new topic     » topic index » view message » categorize

2. Re: Palette?

Irv Mullins writes:
> Q1: When starting Euphoria from DOS - before any other programs
> get a crack at changing the standard palette, can I count on
> the color values being the same from one computer to another?
> For example, in mode 256, will palette entry 46 be {188,252,0}
> for everybody - so that the color they see will be fairly close
> (within limits of the monitor settings)?
> How about other modes?

From what I've seen on several machines, and from what I've read
in Peter Norton's "PC Programmer's Bible", the colors are
standardized across machines. The BIOS loads the default palette
values, and it makes at least the standard 16 colors compatible
with the original CGA color intensities, even if you have SVGA.
I *assume* the other palette values (out of 256) are also
standardized as well.

include graphics.e
if graphics_mode(256) then
end if
?palette(45, {0,0,0})

For me, palette(45, {0,0,0}) *not 46* returns
{47,63,0} for the 0-63 DOS values, which is the same as {188,252,0}
on the 0-255 Windows scale. I get the same result in mode 261.

Regards,
     Rob Craig
     Rapid Deployment Software
     http://members.aol.com/FilesEu/

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu