🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #4661

Re: Request for assistance programming VGA

#4661
From: Jorgen Wahlsten
Date: Tue, 12 Feb 1991 03:28
42 lines
2565 bytes
In article <1435@tsdiag.ccur.com> jimb@tsdiag.ccur.com (Jim Blakey RG8U) writes:
>
> A friend of mine and I are attempting to program VGA adapters
>to display WEFAX images in 800x600x256 (or higher). ...
>...  Modes that require less than 64K 
>(ie 320x200x256) work as expected.  Our color register setup routines work,
>as well as the sum to grayscale command. We've tried INT 10H to put the card 
>in the proper mode, but any and all attempts to jam data in the video RAM 
>for modes that require more than 64K have resulted in seemingly random results.

The problem is that the so-called higher modes require more than 64 Kb
and there are no standard way of switching banks... (e.g. Each constructor
of Super-VGA boards has their own way).

Therefore one has quite a problem to run *whatever* if there isn't a driver
supplied (for Windows or as stated *whatever*).

I've seen a PD-software called FractInt that draws fractal on the screen
with whatever you might have as a VGA-adaptor. This fractint uses small
routines to switch memory-bank depending on your VGA-board to be able to
switch banks properly.
But this fractint isn't the only software capable of doing this. There are
others as well that supply small routines (in source), one for each adapter
possible that switches banks...

It you fail to find any hint in PD's on this bank-switching problem you should
always be able to contact Trident themself (or some local hopefully well-
informed supplier/agent).
I know i've seen how to bank-switch for *-VGA but i don't remember what PD
that supplied the particular source that i looked at (Sorry!).
I could probably try to find out where and what i saw that routine for
Trident chip-set but it would take some time (It was a while ago)...

Try those display-programs that already exists and supports different
types of VGA...

I hope this gives you a hint on where to look.

Good Luck with your VGA.

/Jorgen Wahlsten
wahlsten@lne.kth.se
Technical Details
Message-ID: <1991Feb12.032822.28560@kth.se>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!snorkelwacker.mit.edu!hsdndev!cmcl2!uupsi!sunic!kth.se!news
References: <1435@tsdiag.ccur.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!snorkelwacker.mit.edu!hsdndev!cmcl2!uupsi!sunic!kth.se!news
From: wahlsten@elixir.lne.kth.se (Jorgen Wahlsten)
Newsgroups: comp.os.msdos.programmer,comp.sys.ibm.pc.misc
Subject: Re: Request for assistance programming VGA
Keywords: VGA, graphics, pain, gnashing_of_teeth etc
Message-ID: <1991Feb12.032822.28560@kth.se>
Date: 12 Feb 91 03:28:22 GMT
References: <1435@tsdiag.ccur.com>
Organization: Dept. of EE, Royal Institute of Technology, Stockholm, Sweden
Lines: 42