home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / programm / 6245 < prev    next >
Encoding:
Internet Message Format  |  1992-11-07  |  1.6 KB

  1. Path: sparky!uunet!ogicse!flop.ENGR.ORST.EDU!flop.ENGR.ORST.EDU!usenet
  2. From: murrayk@prism.CS.ORST.EDU (the Dodger)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: VioSetState parameter question
  5. Message-ID: <1dd99pINNjml@flop.ENGR.ORST.EDU>
  6. Date: 6 Nov 92 08:10:33 GMT
  7. Article-I.D.: flop.1dd99pINNjml
  8. Distribution: world
  9. Organization: Oregon State University, Computer Science Dept.
  10. Lines: 25
  11. NNTP-Posting-Host: prism.cs.orst.edu
  12.  
  13. I'm trying to modify the values of the VGA's DAC registers but I'm having
  14. no luck. I first tried directly manipulating them via _outp's and that
  15. worked a little. But it didn't affect all of the DACs for some reason. And
  16. I'm sure I was writing to all 768 of them. So I decided to try to do it the
  17. nice way. Of course, I have no documentation except for the header files and
  18. I discovered a real problem. The VioSetState call can take 6 different
  19. structures in it's first parameter, 4 of which are the same size? There is
  20. an element of the structure labeled Type. I suppose that this element tells
  21. OS/2 which structure it is getting, but I have no idea what to set this to
  22. for OS/2 to realize that I am sending it a VIOCOLORREG structure. 
  23.  
  24. HOW DO I DO THIS?
  25.  
  26. Sorry about the yelling, but I really would like to be able to find some
  27. docs on this stuff. The book supply in my are totally SUCKS.
  28.  
  29. Thanks for the help
  30.  
  31. Keith
  32.  
  33. -- 
  34.                               ____          _____  ____
  35. Keith Murray                 /     /___/ /\ \    \ \____    P.O. Box 1889
  36. murrayk@prism.cs.orst.edu   /___  /   / /__\ \____\ ____\   Corvallis OR 97339
  37.    the Dodger                  s  o  f  t  w\ a  r  e
  38.