Article View: comp.os.os2.programmer
Article #2070Vio buffer pointer question
From: checker
Date: Thu, 15 Oct 1992 03:07
Date: Thu, 15 Oct 1992 03:07
15 lines
1188 bytes
1188 bytes
I'm trying to get some Vio code working without any manuals (it was so nice of IBM to include no documentation on the freaking API in the WorkSet) and I'm having some trouble with direct video writes. I'm creating a VIOMODEINFO struct (and filling in the cb member with the size) and passing it to VioGetMode. The buf_addr member has the correct address after the call for the mode I'm in (0x000B8000) but I get a GP fault when I try to write to it. Do I have to do something before I can do a direct video write? Can I even _do_ a direct video write? If not, what is that pointer for? Is there any example code around that shows how to do direct text mode (graphics modes would be a bonus) video memory writes using Vio? Chris
Technical Details
Message-ID:
<1998@acf5.NYU.EDU>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!eff!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!ukma!rutgers!cmcl2!acf5!checkerShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!eff!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!ukma!rutgers!cmcl2!acf5!checker From: checker@acf5.NYU.EDU (checker) Newsgroups: comp.os.os2.programmer Subject: Vio buffer pointer question Message-ID: <1998@acf5.NYU.EDU> Date: 15 Oct 92 03:07:59 GMT Organization: New York University Lines: 15