ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/02/14/13:36:28

Date: Tue, 14 Feb 1995 12:59:52 -0500 (EST)
From: Kimberley Burchett <OKRA AT max DOT tiac DOT net>
Subject: Re: Graphics and DPMI under Windoze
To: DJGPP Mailing List <djgpp AT sun DOT soe DOT clarkson DOT edu>

On Tue, 14 Feb 1995 kunst AT prl DOT philips DOT nl wrote:

> An obvious question is: will unpaged video memory access be supported ?
> (or only by the way as presented in my previous posting)

  Why?  I've implemented svga using regular bank switching.  The code for
switching banks is ten lines, and the added complexity is very trivial and
entirely hidden from the calling functions.  As for speed, if you're doing
everything with PutPixel, then sure it'll be slow since it has to check
every time but nobody looking for speed uses PutPixel anyway.  If you do
BitBlt's, the additional time needed is virtually nothing. 
  A tid-bit of code to perform bank switching when needed is well worth
the time saved from trying to make the compiler do it automatically.
								Kim


- Raw text -


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