TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Jonathan de Boyne Pollard
from: Odinn Sorensen
date: 1994-12-12 16:49:22
subject: C++ Character Fill

Hello Jonathan.

Sunday December 11 1994 05:02, Jonathan de Boyne Pollard wrote to Larry Snider:

 JdBP>   The best course of action for rewriting the whole screen is to
 JdBP> construct a single buffer of 2000 short integers (character+attribute)
 JdBP> and use a single VioWrtCellStr call to write out the whole thing in one
 JdBP> go.

That is not even necessary. It can be done with a single call without using
any buffer:

    BYTE abCell[2];
    abCell[0] = ;
    abCell[1] = ;
    VioWrtNCell(abCell, 80*25, 0, 0, 0);

This is straight from Microsoft OS/2 Programmer's Reference vol.3. (Old
book about OS/2 1.1, but for the Vio stuff it's fine :-).

Odinn

... You have the capacity to learn from mistakes. You'll learn a lot today.
--- GoldED/2 2.50.A1211+


* Origin: Goldware International * Internet: odinn{at}winboss.dk (2:236/77)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 942 949 712/353 623 713/888 800/1
@PATH: 236/77 512 1 23/996 240/5500 396/1 3615/50 229/2 12/2442
@PATH: 711/409 54/54 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™.