From: "Al Amzeen (Alexandr Amzin)" Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro Date: Tue, 18 Apr 2000 22:59:13 +0400 Organization: Fidolook Express page http://fidolook.da.ru Lines: 21 Message-ID: <8dibj6$12fu$1@gavrilo.mtu.ru> References: <01JODQR7JCTE9JD7JV AT SLU DOT EDU> NNTP-Posting-Host: ppp104-106.dialup.mtu-net.ru X-Trace: gavrilo.mtu.ru 956084647 35326 212.188.104.106 (18 Apr 2000 19:04:07 GMT) X-Complaints-To: usenet-abuse AT mtu DOT ru NNTP-Posting-Date: 18 Apr 2000 19:04:07 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Fidolook Express V1.51rus for MS OE 5.0 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com == oneliner:Frozen and fired out. Greetings, ! 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.