home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
POINT Software Programming
/
PPROG1.ISO
/
c
/
fli106c
/
blvsvr.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1992-03-11
|
805b
|
48 lines
//
// The Fusion Library Interface for DOS
// Version 1.06c
// Copyright (C) 1990, 1991, 1992
// Software Dimensions
//
// BlazeClass
//
#ifndef __BCPLUSPLUS__
#pragma inline
#endif
#include "fli.h"
#ifdef __BCPLUSPLUS__
#pragma hdrstop
#endif
#define I asm
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
//
// CopyVisualToVirtual()
//
// Copies the visual screen into a virtual screen
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
void BlazeClass::CopyVisualToVirtual(void far *VIRTUAL)
{
int TotalWidth = ScreenWidth*ScreenHeight;
I push ds
void far *OUTPUT=BlazeClass::VIDEO;
I les di,VIRTUAL
I lds si,OUTPUT
I mov cx,TotalWidth
I cld
I rep movsw
I pop ds
}