[comp.graphics] Orchid Designer VGA, Accessing super_modes

luong@grace.cs.washington.edu (Luong La) (10/29/89)

Newsgroups: comp.graphics
Subject: VGA (Orchid Designer) extended modes
Summary: 
Expires: 
Sender: 
Reply-To: luong@grace.cs.washington.edu.cs.washington.edu (Luong La)
Followup-To: 
Distribution: 
Organization: University of Washington, Computer Science, Seattle
Keywords: Graphics Controller Registers

I am writing a C prg and would like to able to use Orchids' extended modes.
any suggestion/hint?  Thanks.

Remark: Orchid Designer VGA (512K) is capable of displaying many extended
modes, such as 800x600x(16/256), 640x480x(16/256), etc... Great!  However
It is a mess to write a prg, which directly manipulate the Graphics
Controller Registers=port 3CE.  I managed to find out the scheme for accessing
Paradise's extended mode:
   i.e. given pixel address p= 0xFA5A2 -> results: hi=(p>>12), lo=p&0xFFF
        hi = (hi <<8) | 9;
        outpw (0x3CE,0x50F); outpw(0x3CE,hi); outpw(0x3CE,0x00F);
        0xA0000000+lo = color;

Orchids' people are not much help! unless I willing to pay $$$? for the
tech manual.  So here I am asking you for a few bytes :-)

--Luong


===RLab===Epsilon task takes infinite time=== luong@grace.cs.washington.edu