home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!att!fang!tarpit!tous!bilver!jwt!rjck!rob
- From: rob@rjck.UUCP (Robert J.C. Kyanko)
- Newsgroups: comp.graphics
- Subject: Re: Looking for help on VESA programing.
- Distribution: world
- Message-ID: <724555218snx@rjck.UUCP>
- References: <1992Dec14.161316.1@ualr.edu>
- Date: Thu, 17 Dec 92 01:20:18 GMT
- Organization: RJK Enterprises
- Lines: 36
-
- djlewis@ualr.edu writes in article <1992Dec14.161316.1@ualr.edu>:
-
- > > Just call this number (408) 435-0333, and they will send you a free package
- > > with the whole specification and a disk.
- > > Ask for the VESA Super VGA standard documentation
- > >
- > > Hans van Oostrom KD4MUJ
- > > PO Box J-254, JHMHC hans@ufpine (BITNET)
- > > Gainesville, FL 32601, USA hans@pine.circa.ufl.edu (INTERNET)
- > >>>> Hoe ver je ook gaat, overal zie je landgenoten <<<
- >
- > Hello all,
- > I have the above mentioned VESA kit. Be prepared to know PASCAL. I
- > found a public domain pas to c convertor that helps but does'nt do it all. I
- > asked for a "C" kit when I ordered it. The kit comes with old VESA drivers
- > from some vendors (early91) and some early demo programs.
- > I have a technical question. I have the STB Evolution VESA compliant
- > card and am having a VERY difficult time getting the modes 0x101h, 0x103h,
- > 0x104h, 0x105h or in other words, any 256colour mode. It appears to be a
- > problem with VESA function 0x4F05 (SetVesaBank()). Anyone programming VESA
- > modes want to share their experiance?
-
- I recently did some VESA graphics programming and found it straight forward.
- I didn't use the text mentioned. I found it in a graphics book I have at
- work (sorry, forgot title & author -- but it's a very popular & spoke about
- book). Just remember when you are switching banks, you need to work with
- granules, not 64k banks. Of course, simple division fixes this. The granule
- size can vary from implementation to implementation and is specified by
- requesting mode information. Also the bank size doesn't have to be 64k, but
- I check to make sure. All banks start at 0xA000:0. Don't forget to subtract
- the bank offset from your absolute screen address if you're not familiar with
- bank switching; all writes must be contained within 0xa000:00000 - 0xa000:ffff.
-
- --
- I am not responsible for anything I do or say -- I'm just an opinion.
- Robert J.C. Kyanko (rob@rjck.UUCP)
-