🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

graphics?

#2203
From: gord armstrong
Date: Wed, 30 Sep 1992 14:55
21 lines
1309 bytes
Thanx for the responses rx from my previous questions.

More ??? on graphics (lowly CGA) ... to write to the graphics
buffer I use VioGetPhysBuf to get the selector and proceed to
write my graphic routines. If I'm, let's say, drawing boxes
to the CGA screen and switch tasks, I get a 'Protection Violation'
error. To prevent this error I use VioScrLock and VioScrUnLock.

Unfortunatly, when I switch tasks the graphic updates stop. It's
like task switching instead of multitasking?? Do I need a thread
to create a virtual buffer and write to this buffer when in
background mode so that when I return to my graphics screen,
I write the virtual buffer to the graphic screen?

All help appreciated. Thanx.
---------------------------------------------------------------------
gord.armstrong@canrem.com
--
Canada Remote Systems  - Toronto, Ontario
World's Largest PCBOARD System - 416-629-7000/629-7044
Technical Details
Message-ID: <1992Sep30.4882.5718@dosgate>
Path: arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!unixbox!dosgate!dosgate![gord.armstrong@canrem.com]

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!uunet.ca!unixbox!dosgate!dosgate![gord.armstrong@canrem.com]
From: "gord armstrong" <gord.armstrong@canrem.com>
Subject: graphics?
Message-ID: <1992Sep30.4882.5718@dosgate>
Reply-To: "gord armstrong" <gord.armstrong@canrem.com>
Organization: Canada Remote Systems
Distribution: comp
Date: 30 Sep 92 09:55:00 EST
Lines: 21