From: Shawn Hargreaves 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: References: 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 Precedence: bulk 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