/***************************************************************************
 *                                                                         *
 *   VIDV3.C                                                               *
 *                                                                         *
 *   Copyright (c) 1996 Galacticomm, Inc.    All Rights Reserved.          *
 *                                                                         *
 *   This is the cross-platform Galacticomm video API as implemented to    *
 *   provide backward compatibility with DOS versions of WG prior to 3.0.  *
 *                                                                         *
 *                                           - T. Stryker   2/8/89         *
 *                                             C. Robert    3/12/96        *
 *   Backward compatibility version          - J. Alvrus    04/24/97       *
 *                                                                         *
 ***************************************************************************/

#include "gcomm.h"

#define FILREV "$Revision: 1.1 $"

VOID
scnputw(                           /* change a char/attr pair on "REAL" scr*/
UINT offset,                       /*   offset into the video screen       */
CHAR byt,                          /*   new character                      */
CHAR atr,                          /*   new attribute                      */
UINT nwords)                       /*   number of char/attr pairs to put   */
{
     UINT i;
     CHAR *ptr;

     ASSERT(offset+nwords*2 <= GVIDSCNSIZ);
     for (i=0,ptr=frzseg()+offset ; i < nwords ; i++) {
          *ptr++=byt;
          *ptr++=atr;
     }
}
