cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/09/23:51:30

Date: Mon, 9 Mar 1998 15:49:00 -0800 (PST)
Message-Id: <199803092349.PAA11509@adit.ap.net>
Mime-Version: 1.0
To: jdk AT wpol DOT com, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Multi palettes in Alegro

At 08:30  3/8/1998 GMT, John & Sue Kissell wrote:
>    Using a 256 color palette, is it possible to simultaneously use
>different palettes in different parts of the screen in Allegro without
>the flicker produced by set_palette()? I tried a hack using memcpy with
>a temporary palette, but I'm beginning to think that the way a vidieo
>monitor works makes this unlikely, if not impossible, without some sort
>of interrupt routine. Any comments?

I'm fairly sure you can only have one palette at a time with standard VGA
hardware. To eliminate the flicker, aren't you supposed to use `vsync'?

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019