delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/15/23:52:24

From: Eric Berenson <ekb44 AT cats DOT ucsc DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Allegro
Date: Mon, 15 Feb 1999 20:14:06 -0800
Organization: University of California, Santa Cruz
Lines: 18
Message-ID: <36C8F08D.8C7D969A@cats.ucsc.edu>
NNTP-Posting-Host: tsa-22.dialup.ucsc.edu
Mime-Version: 1.0
X-Mailer: Mozilla 4.01 [en] (Win95; I)
X-Priority: 3 (Normal)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

How does one set a graphics mode besides 320x200 with Allegro?

With VBEAF installed on a fine system and graphics board, why doesn't
this work?

  allegro_init();
  set_color_depth(8);
  set_gfx_mode_("VBEAF", 800, 600, 0, 0 );

My computer crashes horribly every time I do anything besides 320x200.
The testing programs that came with allegro work fine. I peeled code out
of them unitl I thought I figured out how to get the hi res modes. Got
to sleep and it works fine. Run it in the morning and my computer
crashes like you would not believe (almost lost a hard drive). WHAT IS
GOING ON???? HOW THE $#@$ DO YOU SET A DECENT GRAPHICS MODE? ARE THERE
ANY PRECONDITIONS I DONT KNOW ABOUT? G'BLESS ANYONE WHO CAN HELP. IVE
BEEN STUCK FOR 2 WEEKS ON THIS.

- Raw text -


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