🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1750

VioSetState parameter question

#1750
From: the Dodger
Date: Fri, 06 Nov 1992 08:10
25 lines
1651 bytes
I'm trying to modify the values of the VGA's DAC registers but I'm having
no luck. I first tried directly manipulating them via _outp's and that
worked a little. But it didn't affect all of the DACs for some reason. And
I'm sure I was writing to all 768 of them. So I decided to try to do it the
nice way. Of course, I have no documentation except for the header files and
I discovered a real problem. The VioSetState call can take 6 different
structures in it's first parameter, 4 of which are the same size? There is
an element of the structure labeled Type. I suppose that this element tells
OS/2 which structure it is getting, but I have no idea what to set this to
for OS/2 to realize that I am sending it a VIOCOLORREG structure. 

HOW DO I DO THIS?

Sorry about the yelling, but I really would like to be able to find some
docs on this stuff. The book supply in my are totally SUCKS.

Thanks for the help

Keith

-- 
                              ____          _____  ____
Keith Murray                 /     /___/ /\ \    \ \____    P.O. Box 1889
murrayk@prism.cs.orst.edu   /___  /   / /__\ \____\ ____\   Corvallis OR 97339
   the Dodger                  s  o  f  t  w\ a  r  e
Technical Details
Message-ID: <1dd99pINNjml@flop.ENGR.ORST.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!flop.ENGR.ORST.EDU!flop.ENGR.ORST.EDU!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!flop.ENGR.ORST.EDU!flop.ENGR.ORST.EDU!usenet
From: murrayk@prism.CS.ORST.EDU (the Dodger)
Newsgroups: comp.os.os2.programmer
Subject: VioSetState parameter question
Message-ID: <1dd99pINNjml@flop.ENGR.ORST.EDU>
Date: 6 Nov 92 08:10:33 GMT
Article-I.D.: flop.1dd99pINNjml
Distribution: world
Organization: Oregon State University, Computer Science Dept.
Lines: 25
NNTP-Posting-Host: prism.cs.orst.edu