www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/03/01/17:28:26

Date: Mon, 1 Mar 93 13:50:34 -0800
From: thinman AT netcom DOT com (Technically Sweet)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Screen banking

The graphics libraries need screen banking if they're going
to support animation, for 3D or FLI files.  There are
two VGA libraries I've found that will handle this and
do it nicely.  The source is available on the net.
One VGA library is for Unix and the other is for DOS.

The library interface needs to return two booleans and a number.
1) does the card support separate read and write banks,
and 2) does the card support separate write and display banks,
and 3) how many banks are available for a given resolution.

After that, it needs two separate calls: 1) set the write bank
to bank #N, and 2) set the display bank to bank #N.  

The DOS library is generally a major source of info:

godzilla.cgl.rmit.oz.au (131.170.14.2): kjb/MGL/svgakt21.zip

has lots of cool stuff, including tests of all the colors modes
available on a given adapter.  

Any takers on the project?  


-- 

Lance Norskog
thinman AT netcom DOT com
Data is not information is not knowledge is not wisdom.

- Raw text -


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