delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/02/14/18:29:57

Date: Fri, 14 Feb 92 17:34:30 EST
From: DJ Delorie <dj AT ctron DOT com>
To: SORROW AT MAPLE DOT decnet
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Mode X and Go32
Status: O

>1.  ModeX, while using 1 byte per pixel, still operates on a planar memory
>    organization.  Thus, when you write out to a single memory location you
>    can theoretically write out to 4 pixels!  You have to set the latches
>    to know which planes should be written to.

>Is there a way around this?  Can Go32/the 80386 easily be reconfigured to
>know how to write out correctly to mode x?

It's not easy to get it to work with the current libgr.a routines,
just as 16-color mode isn't easy.  There's nothing stopping you from
recoding libgr.a to produce libgrX.a, though, since you can re-use the
drivers and do I/O with <pc.h>

DJ
dj AT ctron DOT com
Life is a banana.

- Raw text -


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