delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/09/10/05:04:09

From: hanssen AT netcom DOT com (Greg Hanssen)
Subject: Manual VGA access with VESADRV.VDR
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Sat, 10 Sep 1994 01:10:55 -0700 (PDT)

Hello!
   I'm finally getting around to updating a bunch of code to work with
the VESADRV.VDR driver but am running into a few problems....

   Most of my programs access the screen directly at 0xD0000000 by
using a unsigned char * pointer... This worked fine for the old
drivers (paradise.grd, tseng4k etc..) but I'm finding with the new
vesadrv.vdr driver (and the new 1.03 libgrx lib and include files)
that I get 8 pixel wide blocks per single unsigned char access to
the screen... The 1024x768 mode becomes a 128x768 mode of 8 pixel
wide blocks... Also, I can only plot in the last color used (via the
regular GrPlot or GrLine).. No matter what color I ask for (0-255)
I only get the last used... 
 
  Of course GrPlot works great, but it's not as fast as my code used
to be with the direct access... I tried looking at the source code for
GrPlot, but got bogged down in Mouse stuff (?)  I assume there is some
VGA register that needs to be set?  Any help would be appreciated! 


-- 
  --Greg <Hanssen AT netcom DOT com>      (714)-551-5833         4961 Barkwood
Zefiro Acoustics: SPDIF interface cards for the PC.       Irvine, Ca. 92714


- Raw text -


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