Mail Archives: djgpp/2000/04/18/15:15:32
==
oneliner:Frozen and fired out.
Greetings, <GAMMELJL AT SLU DOT EDU>! You wrote:
> 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...
Try that one (it contains autodetecter, not plain VGA).
set_gfx_mode(GFX_AUTODETECT, 640, 480, 0, 0);
be happy.
- Raw text -