🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
2 messages
2 total messages Started by josullvn Fri, 01 Feb 1991 13:06
Advice with using VioGetPhysicalBuffer?
#2386
Author: josullvn
Date: Fri, 01 Feb 1991 13:06
16 lines
1187 bytes
Anybody got any advice on producing graphics on OS2 without going through PM? (I
know, I know, stupid but got to do it!)

Basically I have to put up a company logo on an OS2 full-screen when the product
starts up. This being practically a straight DOS conversion, the product is
being given a total DOS feel and thus no PM is wanted.

Micheal Youngs book on OS2 suggest using VioGetPhysicalBuffer to get a hold on
the video ram and then writing directly to it with threads handling switching
and redrawing. It looks very intricate, nasty etc, so I would like to know what
problems are going to be involved in doing this and any experiences anyone has
had in similar circumstances. Any easier way of doing this or a better book on
the subject that Micheal Young's?

	Thanks for any help.
		Joseph O'Sullivan.
Re: Advice with using VioGetPhysicalBuffer?
#2387
Author: Todd Crowe
Date: Sat, 02 Feb 1991 20:10
23 lines
1754 bytes
josullvn@vax1.tcd.ie writes:
>Anybody got any advice on producing graphics on OS2 without going through PM? 
>(I know, I know, stupid but got to do it!)

>Basically I have to put up a company logo on an OS2 full-screen when the produc
>starts up. This being practically a straight DOS conversion, the product is
>being given a total DOS feel and thus no PM is wanted.

>Micheal Youngs book on OS2 suggest using VioGetPhysicalBuffer to get a hold on
>the video ram and then writing directly to it with threads handling switching
>and redrawing. It looks very intricate, nasty etc, so I would like to know what
>problems are going to be involved in doing this and any experiences anyone has
>had in similar circumstances. Any easier way of doing this or a better book on
>the subject that Micheal Young's?

I can't give you any specifics, but I played around with this about 6 months
ago.  Take a look at _Inside OS/2_ by Gordon Letwin.  He gives a fairly
complete plain English desciption of how to do it.  The main problem is keeping
track of screen-group switches - relinquishing and regaining control depending
on which group has the screen focus.

           |                   Todd Crowe                        |
           |  n8840371@unicorn.wwu.edu or TODDC@nessie.wwu.edu   |
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads