TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: David Muir
from: George Roberts
date: 1996-02-26 11:50:00
subject: Re: VP question

+++ Quoting David Muir in a message to George Roberts regarding
+++ Re: VP question on 02-25-96 01:55

 GR> I have a unit that I wrote that I use in our BBS software, Nexus,
 GR> that handles the windowing.  I use the MEM command to change the
 GR> colors on the screen for shading, and for putting saved windows
 GR> back on the screen.  I am getting the video segment and then doing a:
 
 GR> mem[vidseg:(160*(x-1)+2*(x2))+1]:=8;
 
 GR> type of thing... however, VP uses 32-bit flat memory... any idea
 GR> how I'm supposed to change this so that I can access specific
 GR> parts of the video memory in console apps?  Any help would be
 GR> appreciated... thanks!

 DM> Gee and I thought I answerred your question (perhaps I should have
 DM> read it  first ).
 DM> I suppose my previous screencap, screenrestore code will come in
 DM> handy  anyway (although it doesn't address all of what you want).
 DM> It would seem that you're looking for one or all of the three 
 DM> following vio calls.

 DM> VioWrtNAttr (to change the attribute at given location(s))
 DM> VioWrtNChar (to place character(s) on screen)
 DM> VioWrtNCell (to place a "word" (character with attribute)
to screen)

[...]

Thanks.  That completes what I needed.  What version of VP/2 are you using?
We didn't get into the EEP, so we have 1.00 Beta3...  Haven't looked much
at it yet, but I realized right away that I was going to have to convert my
screen unit, as that is used in every single one of our programs. ;-)

Again, thank you.


George A. Roberts IV                               ftp.ivsoft.com /pub/ivsoft
CEO, Intuitive Vision Software                          http://www.ivsoft.com
george.roberts{at}ivsoft.com      "Today's Leader in Sensible Software
Solutions"

... I'm not rude, I'm attitudinally challenged.
___ ivOMS v0.99 Alpha-14
--- Nexus v0.99 Alpha-06 [Node 4]
* Origin: PCsource BBS - Nexus Alpha 1 USA - Chicago, IL (1:115/583)
SEEN-BY: 50/99 78/0 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1 7877/2809
@PATH: 115/583 327 258 3615/50 396/1 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.