🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Accessing memory (Monitor)

#2084
From: James R. Skinner
Date: Thu, 15 Oct 1992 15:55
25 lines
1521 bytes
KENKAHN@PKSMRVM.VNET.IBM.COM (Kenneth A. Kahn) writes:

>In <1992Oct15.033035.16753@dragon.acadiau.ca> James R. Skinner writes:
>>
>>I am trying to write a simple program to clear the monochrome monitor
>>that I have attached to my system.  I am using the GCC compiler and the
>>following code:

>First off, you are trying to access the 'physical' Display Buffer Address,
>which you can't do under OS/2.  In order for you to do this, you will have
>to use the 'Logical Video Buffer' which is a virtual address to this memory.
>To get a pointer to the LVB use the ViogetBuf API:

>VioGetBuf(&lvb_Ptr,&lvb_Size,0);

Is this call included in the headers with GCC?  
I can't seem to find it anywhere?

Thanks
james
-- 

-----------------------------------+--------------------------------------------
        James Robie Skinner        |     Jodrey School of Computer Science        James.Skinner@dragon.acadiau.ca  |  Acadia University, Wolfville, NS, Canada
-----------------------------------+--------------------------------------------
Technical Details
Message-ID: <1992Oct15.155504.7160@dragon.acadiau.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!sdd.hp.com!news.cs.indiana.edu!nstn.ns.ca!dragon.acadiau.ca!880506s
References: <1992Oct15.033035.16753@dragon.acadiau.ca> <19921015.045120.701@almaden.ibm.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!sdd.hp.com!news.cs.indiana.edu!nstn.ns.ca!dragon.acadiau.ca!880506s
From: 880506s@dragon.acadiau.ca (James R. Skinner)
Subject: Re: Accessing memory (Monitor)
Message-ID: <1992Oct15.155504.7160@dragon.acadiau.ca>
Organization: Acadia University
References: <1992Oct15.033035.16753@dragon.acadiau.ca> <19921015.045120.701@almaden.ibm.com>
Date: Thu, 15 Oct 1992 15:55:04 GMT
Lines: 25