delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/01/17:31:16

From: Erwann ABALEA <erwann AT abalea DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Scrolling in SVGA
Date: Thu, 1 Jul 1999 12:14:38 +0200
Organization: Halfling Soft
Lines: 34
Message-ID: <Pine.OSF.4.05.9907011210100.6879-100000@fermi.cnam.fr>
References: <377A6B8B DOT 301F08A4 AT geocities DOT com> <377AB6AA DOT 3F73B59D AT unb DOT ca>
NNTP-Posting-Host: fermi.cnam.fr
Mime-Version: 1.0
X-Sender: abalea_e AT fermi DOT cnam DOT fr
In-Reply-To: <377AB6AA.3F73B59D@unb.ca>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 1 Jul 1999, Endlisnis wrote:

> Sahab Yazdani wrote:
> 
> > I needs lot of help with this one.  Even with Assembly functions for
> > Drawing stuff, my scrolling routine is slow in 640X480.  it works fine
> > in 320X200 (although hardware scrolling in mode X is still faster).  but
> > with SVGA modes it just bombs out!  Can anybody help me with some SVGA
> > scrolling routines?  Possibly a site or tutorial that references these
> > things??
> 
>     Well, if you have enough ram, you can do hardware scrolling in SVGA.
> Also, something I've observed, in SVGA modes, it is usually MUCH faster to
> redraw the entire screen from a memory buffer than to do real scrolling
> because reading from video ram is sometimes up to 10 times slower than
> writing.

Well.... If you do hardware scrolling, you don't have to worry about
rebuilding the image.... If your method is copy the new image, then that's
software scrolling.... Hardware scrolling is the fastest available method
to scroll the screen.... All you have to do is change the content of 2
registers of the video hardware...

Unfortunately, hardware scrolling is not performed in a standard way...
Unless you use a standard API, such as the VESA one...

I've got a book I bought several years ago giving technical details about
several SVGA cards, but if no new edition is out, then the information is
obsolete...

-- 
Erwann ABALEA
erwann AT abalea DOT com

- Raw text -


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