home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
PASCAL
/
FAMAPI.ZIP
/
INCLUDE
/
VIO.H
< prev
Wrap
C/C++ Source or Header
|
1993-01-04
|
830b
|
27 lines
//
// *******************************************************************
// JdeBP C++ Library Routines General Public Licence v1.00
// Copyright (c) 1991,1992 Jonathan de Boyne Pollard
// *******************************************************************
//
//
// MS-DOS support for Family API VIO routines
//
extern "C" {
USHORT _APICALL VioDosScreenMode ( void ) ;
USHORT _APICALL VioDosGetCurPos ( void ) ;
void _APICALL VioDosSetCurPos ( unsigned short pos ) ;
USHORT far * _APICALL VioDosPointer ( unsigned short, unsigned short ) ;
USHORT _APICALL VioDosGetEGASettings( USHORT far *, USHORT far * ) ;
USHORT _APICALL VioDosGetDCC ( USHORT far * ) ;
}
//
// Determine whether the current mode is a graphics mode
//
#define IS_GRAPH(m) ( ((m)&0xFF) > 0x03 && ((m)&0xFF) != 0x07)