Article View: comp.os.os2.programmer
Article #3535Re: How do you use Non-PM graphics (VGA)?
From: David Charlap
Date: Fri, 22 Jan 1993 17:25
Date: Fri, 22 Jan 1993 17:25
27 lines
1645 bytes
1645 bytes
In article <5#k30!p@rpi.edu> myersr@aix.rpi.edu (Robert Parish Myers) writes: >How do you use VGA graphics (both 320x200x256 and 640x480x16) in a >full screen OS/2 Session > >a) In General? I believe there are Dos and/or Vio calls to set the screen mode, and request a memory buffer that will map to the display. You can then read/write the display as if it were any other memory page. At least I think this is how it works. I know that there are system calls for enabling full-screen graphics without violating memory protection, but I've never used any of them. And they are very non-portable, so you may need to locate documentation for the 16-bit calls to figure out what to do with them. And (of course) these calls will fail in a windowed or PM session. >b) In emx 0.8e (which I'm using now) and emx0.8f(which I plan to be > using soon)? I'm pretty sure that you use the general method with EMX compilers. -- |) David Charlap | .signature confiscated by FBI due to /|_ dic5340@hertz.njit.edu | an ongoing investigation into the ((|,) | source of these .signature virusses ~|~
Technical Details
Message-ID:
<1993Jan22.172551.21041@njitgw.njit.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!gatech!asuvax!cs.utexas.edu!sun-barr!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340References:
<5#k30!p@rpi.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!asuvax!cs.utexas.edu!sun-barr!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340 From: dic5340@hertz.njit.edu (David Charlap) Newsgroups: comp.os.os2.programmer Subject: Re: How do you use Non-PM graphics (VGA)? Message-ID: <1993Jan22.172551.21041@njitgw.njit.edu> Date: 22 Jan 93 17:25:51 GMT References: <5#k30!p@rpi.edu> Sender: news@njit.edu Organization: New Jersey Institute of Technology, Newark, N.J. Lines: 27 Nntp-Posting-Host: hertz.njit.edu