home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
CPROG
/
VISIONS.ZIP
/
SHARCOMP.H
< prev
next >
Wrap
Text File
|
1990-05-21
|
3KB
|
116 lines
/*------------------------- SHARCOMP.H -------------------------*/
/* */
/* This file contains definitions used for the compiler */
/* specific interface routines, as used by both the library */
/* and the calling application. */
/* */
/* */
/* Copyright 1990 Dan Vogel & David Bernazzani */
/* */
/* Revision History */
/* */
/* 03/05/90 DCV Release. */
/* */
/*--------------------------------------------------------------*/
/* Constants */
/* Converted Key Definitions */
#define LFEED 10
#define CR 13
#define BELL 7
#define ESC 27
#define BS 8
#define ENTER 13
#define SHIFT_HT 143
#define CTRL_T 20
#define CTRL_B 2
#define CTRL_D 4
#define ALT_D 160
#define F1 187
#define F2 188
#define F3 189
#define F4 190
#define F5 191
#define F6 192
#define F7 193
#define F8 194
#define F9 195
#define F10 196
#define CTRL_F1 222
#define CTRL_F2 223
#define CTRL_F3 224
#define CTRL_F4 225
#define CTRL_F5 226
#define CTRL_F6 227
#define CTRL_F7 228
#define CTRL_F8 229
#define CTRL_F9 230
#define CTRL_F10 231
#define ALT_F1 232
#define ALT_F2 233
#define ALT_F3 234
#define ALT_F4 235
#define ALT_F5 236
#define ALT_F6 237
#define ALT_F7 238
#define ALT_F8 239
#define ALT_F9 240
#define ALT_F10 241
#define HOME 199
#define UP 200
#define PGUP 201
#define LEFT 203
#define FIVE 204
#define RIGHT 205
#define END 207
#define DOWN 208
#define PGDN 209
#define INS 210
#define DEL 211
#define CTRL_HOME 247
#define CTRL_UP 141
#define CTRL_PGUP 132
#define CTRL_LEFT 243
#define CTRL_FIVE 143
#define CTRL_RIGHT 244
#define CTRL_END 245
#define CTRL_DOWN 145
#define CTRL_PGDN 246
#define CTRL_INS 146
#define CTRL_DEL 147
#define ALT_HOME 151
#define ALT_UP 152
#define ALT_PGUP 153
#define ALT_LEFT 155
#define ALT_FIVE 156
#define ALT_RIGHT 157
#define ALT_END 159
#define ALT_DOWN 160
#define ALT_PGDN 161
#define ALT_INS 162
#define ALT_DEL 163
/* Routine Definitions */
extern int WrapOn(int onoff);
extern void SetTextWindow(int row,int col,int botrow,int rightcol);
extern long SetBkColor(long bkcol);
extern int SetTextColor(int txtcol);
extern void SetTextPosition(short row,short col);
extern void OutText(char *msg);
extern void ClearScreen(int area);
extern int BiosKeybrd(int service);
extern int Interrupt86(int intno,unsigned int *axreg,unsigned int *bxreg,unsigned int *cxreg,unsigned int *dxreg,unsigned int *sireg,unsigned int *direg);
extern int GetKey(void);