home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
tvos200.zip
/
TVISION
/
HARDDOS.CPP
< prev
next >
Wrap
C/C++ Source or Header
|
1995-04-25
|
1KB
|
47 lines
/*------------------------------------------------------------*/
/* filename - harddos.cpp */
/* */
/* function(s) */
/* Member variables for THardwareInfo class */
/* under the MS/DOS (/+extender) OS. */
/* */
/*------------------------------------------------------------*/
/*
* Turbo Vision - Version 2.0
*
* Copyright (c) 1994 by Borland International
* All Rights Reserved.
*
*/
#if defined(__MSDOS__) // Compile module for DOS only.
#define Uses_TKeys
#define Uses_TEvent
#define Uses_TScreen
#define Uses_THardwareInfo
#define Uses_TSystemError
#include <tvision\tv.h>
//** DOS-specific THardwareInfo stuff..
Boolean THardwareInfo::dpmiFlag;
ushort THardwareInfo::colorSel;
ushort THardwareInfo::monoSel;
ushort THardwareInfo::biosSel;
uword THardwareInfo::getCaretSize()
{
_AH = 3;
_BH = 0;
videoInt();
return _CX;
}
//** Rest is in hardware.asm.
#endif