Date: Wed, 5 Feb 1997 09:53:37 +0100 (MET) From: Jan Safranek To: Shawn Hargreaves cc: djgpp AT delorie DOT com Subject: Re: Virtual screen in ALLEGRO In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 4 Feb 1997, Shawn Hargreaves wrote: > >I use allegro 2.11 with 640x480 graphics and > >I need 4 "pages" - I initialize graphics with > >set_gfx_mode(GFX_AUTODETECT, 640, 480, 640, 4*480) > > > >But if I display VIRTUAL_H and VIRTUAL_W, I get 1024 x 1024. This size of > >virtual screen support only 2 "pages" so I must always swap pages from/to > >memory and it slows down the program. > > There's something wrong here, that needs fixing. If you could let me > know what sort of graphics card you have, and which driver and virtual > screen size are chosen when you run test.exe with GFX_AUTODETECT in > 640x480, it would help a lot... I have Trio 64+ card (S3 chip) with 2 MB of video RAM and I tested it with some Tseng cards (4 MB) and Trident (1 MB), everything with UNIVBE 5.3 shareware.