www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/22/20:36:01

From: Nikita Proskourine <nproskou AT goucher DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Allegro screws up my DOS font and some other things
Date: Sat, 22 Feb 1997 09:46:55 -0800
Organization: Goucher College
Lines: 15
Message-ID: <330F310F.7924@goucher.edu>
References: <m0vxvtO-000S1nC AT natacha DOT inti DOT edu DOT ar>
Reply-To: nproskou AT goucher DOT edu
NNTP-Posting-Host: 204.165.142.88
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Sometimes Allegro alters my DOS font for no apparent reason. When that
happens, most graphics in my Allegro programs become either
weird-colored or the whole screen is flickering and some garbage is
displayed. Then, I run the program with set_gfx_mode(GFX_TEXT, 0, 0, 0,
0) and everything is back to normal. Doesn't Allegro change mode to text
automatically when program ends? What is going on?

The thing I don't like about Allegro is that you can't really tell how
many colors you have in a given mode. Can anyone give me a good pallete
that I can use in my programs (I am using 640x480 mode) and have all
colors (16?) available.

Thanks in advance,

Nikita

- Raw text -


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