Mail Archives: djgpp/1996/01/30/13:02:36
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 -