🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Accessing memory (Monitor)

#2086
From: Kenneth A. Kahn
Date: Thu, 15 Oct 1992 17:21
22 lines
1525 bytes
In <1992Oct15.155504.7160@dragon.acadiau.ca> James R. Skinner writes:
>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?
>

Nope, this is in the OS/2 2.0 ToolKit, though the documentation is only in
the 1.2 ToolKit.
Technical Details
Message-ID: <19921015.102343.700@almaden.ibm.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!PKSMRVM.VNET.IBM.COM
References: <1992Oct15.033035.16753@dragon.acadiau.ca> <19921015.045120.701@almaden.ibm.com> <1992Oct15.155504.7160@dragon.acadiau.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!PKSMRVM.VNET.IBM.COM
From: KENKAHN@PKSMRVM.VNET.IBM.COM (Kenneth A. Kahn)
Message-ID: <19921015.102343.700@almaden.ibm.com>
Date: Thu, 15 Oct 92 13:21:45 EDT
Newsgroups: comp.os.os2.programmer
Subject: Re: Accessing memory (Monitor)
Organization: Staff of IBM Fellow - IBM Personal/370
Disclaimer: This posting represents the poster's views, not those of IBM
News-Software: UReply 3.0
X-X-From: KENKAHN@PKSMRVM.VNET.IBM.COM (Ken Kahn)
References: <1992Oct15.033035.16753@dragon.acadiau.ca> <19921015.045120.701@almaden.ibm.com>
            <1992Oct15.155504.7160@dragon.acadiau.ca>
Lines: 22