delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/05/04:04:04

Date: Wed, 5 Feb 1997 09:53:37 +0100 (MET)
From: Jan Safranek <xsafran2 AT informatics DOT muni DOT cz>
To: Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: Virtual screen in ALLEGRO
In-Reply-To: <xnN$+wA0h59yEwsO@talula.demon.co.uk>
Message-ID: <Pine.SGI.3.95.970205094947.7040A-100000@aisa.fi.muni.cz>
MIME-Version: 1.0


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.

- Raw text -


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