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 >
Text File  |  1990-05-21  |  3KB  |  116 lines

  1. /*------------------------- SHARCOMP.H -------------------------*/
  2. /*                                */
  3. /*  This file contains definitions used for the compiler    */
  4. /*  specific interface routines, as used by both the library    */
  5. /*  and the calling application.                */
  6. /*                                */
  7. /*                                */
  8. /*        Copyright 1990 Dan Vogel & David Bernazzani        */
  9. /*                                */
  10. /*        Revision History                */
  11. /*                                */
  12. /*  03/05/90   DCV    Release.                */
  13. /*                                */
  14. /*--------------------------------------------------------------*/
  15.  
  16.         /* Constants */
  17.  
  18.     /* Converted Key Definitions */
  19.  
  20. #define LFEED            10
  21. #define CR               13
  22. #define BELL             7
  23. #define ESC              27
  24. #define BS               8
  25. #define ENTER            13
  26. #define SHIFT_HT         143
  27. #define CTRL_T           20
  28. #define CTRL_B           2
  29. #define CTRL_D           4
  30. #define ALT_D            160
  31.  
  32. #define F1               187
  33. #define F2               188
  34. #define F3               189
  35. #define F4               190
  36. #define F5               191
  37. #define F6               192
  38. #define F7               193
  39. #define F8               194
  40. #define F9               195
  41. #define F10              196
  42.  
  43. #define CTRL_F1          222
  44. #define CTRL_F2          223
  45. #define CTRL_F3          224
  46. #define CTRL_F4          225
  47. #define CTRL_F5          226
  48. #define CTRL_F6          227
  49. #define CTRL_F7          228
  50. #define CTRL_F8          229
  51. #define CTRL_F9          230
  52. #define CTRL_F10         231
  53.  
  54. #define ALT_F1           232
  55. #define ALT_F2           233
  56. #define ALT_F3           234
  57. #define ALT_F4           235
  58. #define ALT_F5           236
  59. #define ALT_F6           237
  60. #define ALT_F7           238
  61. #define ALT_F8           239
  62. #define ALT_F9           240
  63. #define ALT_F10          241
  64.  
  65. #define HOME             199
  66. #define UP               200
  67. #define PGUP             201
  68. #define LEFT             203
  69. #define FIVE             204
  70. #define RIGHT            205
  71. #define END              207
  72. #define DOWN             208
  73. #define PGDN             209
  74. #define INS              210
  75. #define DEL              211
  76.  
  77. #define CTRL_HOME        247
  78. #define CTRL_UP          141
  79. #define CTRL_PGUP        132
  80. #define CTRL_LEFT        243
  81. #define CTRL_FIVE        143
  82. #define CTRL_RIGHT       244
  83. #define CTRL_END         245
  84. #define CTRL_DOWN        145
  85. #define CTRL_PGDN        246
  86. #define CTRL_INS         146
  87. #define CTRL_DEL         147
  88.  
  89. #define ALT_HOME         151
  90. #define ALT_UP           152
  91. #define ALT_PGUP         153
  92. #define ALT_LEFT         155
  93. #define ALT_FIVE         156
  94. #define ALT_RIGHT        157
  95. #define ALT_END          159
  96. #define ALT_DOWN         160
  97. #define ALT_PGDN         161
  98. #define ALT_INS          162
  99. #define ALT_DEL          163
  100.  
  101.  
  102.  
  103.         /*  Routine Definitions  */
  104.  
  105. extern  int WrapOn(int onoff);
  106. extern  void SetTextWindow(int row,int col,int botrow,int rightcol);
  107. extern  long SetBkColor(long bkcol);
  108. extern  int SetTextColor(int txtcol);
  109. extern  void SetTextPosition(short row,short col);
  110. extern  void OutText(char *msg);
  111. extern  void ClearScreen(int area);
  112. extern  int BiosKeybrd(int service);
  113. extern  int Interrupt86(int intno,unsigned int *axreg,unsigned int *bxreg,unsigned int *cxreg,unsigned int *dxreg,unsigned int *sireg,unsigned int *direg);
  114. extern  int GetKey(void);
  115.  
  116.