From: ian_dunbar AT my-dejanews DOT com Newsgroups: comp.os.msdos.djgpp Subject: ALLEGRO: problem running grabber.exe (fixed sort of) Date: Wed, 10 Mar 1999 17:48:32 GMT Organization: Deja News - The Leader in Internet Discussion Lines: 20 Message-ID: <7c6b9b$216$1@nnrp1.dejanews.com> NNTP-Posting-Host: 193.120.210.2 X-Article-Creation-Date: Wed Mar 10 17:48:32 1999 GMT X-Http-User-Agent: Mozilla/4.05 [en] (WinNT; I) X-Http-Proxy: 1.0 ns.euristix.ie:80 (Squid/1.NOVM.20), 1.0 x13.dejanews.com:80 (Squid/1.1.22) for client unknown, 193.120.210.2 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Well I figured out that if you set 320x200 mode first, then it allows you to go into 640x480 mode, so I just added an extra call to set_gfx_mode(GFX_VGA, 320, 200, 0, 0); before the real call to set_gfx_mode. I suppose this is just some quirk of the particular card, that setting it to 320x200 sets up everything that is needed for 640x480 mode. If Allegro did this if a regular call to set 640x460 mode failed, then a lot more allegro programs would work on my PC, but given that is is probably just a fluke I don't know if it's really worth it, as it probably wouldn't work with other cards. The only problem with it is that in 640x480 mode the mouse is confined to a small square in the top left corner. Any ideas about fixing this? Thanks, Ian. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own