www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/23/16:31:32

From: Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ?Win95 crash from Allegro:Set_pallete?
Date: Mon, 23 Mar 1998 19:26:57 +0000
Organization: None
Message-ID: <NuIgvNABerF1Ew3L@talula.demon.co.uk>
References: <gp4yERS00YUt074kU0 AT andrew DOT cmu DOT edu>
<aKzlWDAtKPF1Ew2k AT talula DOT demon DOT co DOT uk> <wp5HOXy00WB=07EnE0 AT andrew DOT cmu DOT edu>
NNTP-Posting-Host: talula.demon.co.uk
MIME-Version: 1.0
Lines: 17
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

James W Sager Iii writes:
> /*  Problem arises due to the set_pallete statement,
>  *  though execution continues until the while loop
>  */ at which time the computer freezes up.
> set_pallete(stndpal);

Well, your code looks fine to me now. The only thing I can think is to
try using various different drivers and video modes instead of just
letting it autodetect, to hopefully figure out exactly what is causing
the problem. Also, have you seen similar crashes with any other Allegro
programs? (pretty much everything sets the palette, so I would expect
you to see this in other places as well).


--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
"Pigs use it for a tambourine" - Frank Zappa

- Raw text -


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