delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/30/13:02:36

Date: Tue, 30 Jan 96 12:41:31 EST
From: "William Parsons Newhall, Jr." <NEWHALL AT american DOT edu>
Organization: The American University
Subject: Fastest way to access VESA 2.0 linear frame buffer?
To: DJGPP Mailing List <djgpp AT delorie DOT com>

I have written an SVGA graphics library for DJGPP that uses only truecolor
and highcolor modes and now I am trying to optomize it. My approach has been
to use _farpoke and _farpeek to access the DOS frame buffer window at
A0000 and use the VESA paging mechanism.  Even with the VESA 2.0 protected
mode paging function I am not happy with the performance I'm getting...
it's adequate, but not good enough for rapid interaction.

I tried using the VESA 2.0 linear frame buffer, but could only access it with
near pointers(which I would rather not be using because they are too slow
and too risky) anyway, I was wondering if anyone has had success setting
up the linear frame buffer and accessing it as a single contiguous array(ideal)
or accessing it through assembly language(setting it up with its own segment
selector and directing MOVing into memory) any tips will help a great deal.

- Raw text -


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