www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/18/13:46:28

From: GAMMELJL AT SLU DOT EDU
Date: Tue, 18 Apr 2000 12:45:16 -0500 (CDT)
Subject: Allegro
To: djgpp AT delorie DOT com
Message-id: <01JODQR7JCTE9JD7JV@SLU.EDU>
Organization: SAINT LOUIS UNIVERSITY St. Louis, MO
X-VMS-To: IN%"djgpp AT delorie DOT com"
MIME-version: 1.0
Reply-To: djgpp AT delorie DOT com

     After eliz told me where the graphics tutorials are, I read them
and poked around the delorie.com site and ultimately found "allegro".
     I downloaded it and (the FAQ was dead on target) ran make and
found that the examples ran fine (except for #31).  So I tried running
some code which I wrote, and that ran fine.
     But then I got greedy and wanted to increase the resolution and
so changed a line in ex1.c to read
        set_gfx_mode(GFX_VGA,640,480,0,0);
and my code crashes.  I have a super VGA monitor with 2mb of Vram and
a nVida-128, so I downloaded the SciTechSoft stuff and switched to
their driver.  But my code still crashes.
    Ultimatly, of course, I want to do 1024x768.  Maybe I don't have
the syntax right for a SuperVGA monitor.  allegro.txt talks about
SVGA and the higher resolutions and SciTech doctor but I haven't been
able to find a specific example of syntax.
     help...

- Raw text -


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