12 /* Color Constants */
\r
27 #define c_bPURPLE 13
\r
33 #define Ky_F1 0x3B00
\r
34 #define Ky_F2 0x3C00
\r
35 #define Ky_F3 0x3D00
\r
36 #define Ky_F4 0x3E00
\r
37 #define Ky_F5 0x3F00
\r
38 #define Ky_F6 0x4000
\r
39 #define Ky_F7 0x4100
\r
40 #define Ky_F8 0x4200
\r
41 #define Ky_F9 0x4300
\r
42 #define Ky_F10 0x4400
\r
44 #define Ky_Up 0x4800
\r
45 #define Ky_Left 0x4B00
\r
46 #define Ky_Right 0x4D00
\r
47 #define Ky_Down 0x5000
\r
48 #define Ky_SUp 0xC800
\r
49 #define Ky_SLeft 0xCB00
\r
50 #define Ky_SRight 0xCD00
\r
51 #define Ky_SDown 0xD000
\r
53 #define Ky_Home 0x4700
\r
54 #define Ky_End 0x4F00
\r
55 #define Ky_PgUp 0x4900
\r
56 #define Ky_PgDn 0x5100
\r
57 #define Ky_SHome 0xC700
\r
58 #define Ky_SEnd 0xCF00
\r
59 #define Ky_SPgUp 0xC900
\r
60 #define Ky_SPgDn 0xD100
\r
62 #define Ky_Ins 0x5200
\r
63 #define Ky_Del 0x5300
\r
64 #define Ky_SIns 0xC200
\r
65 #define Ky_SDel 0xC300
\r
67 #define Ky_Tab 0x0009
\r
68 #define Ky_RvsTab 0x8F00
\r
69 #define Ky_STab 0x8F00
\r
71 #define Ky_BS 0x0008
\r
72 #define Ky_CR 0x000D
\r
73 #define Ky_ESC 0x001B
\r
74 #define Ky_Clr 0x007F
\r
76 #define Ky_Plus 0x002D
\r
77 #define Ky_Minus 0x002B
\r
79 #define Ky_AltA 0x1E00
\r
80 #define Ky_AltB 0x3000
\r
81 #define Ky_AltC 0x2E00
\r
82 #define Ky_AltD 0x2000
\r
83 #define Ky_AltE 0x1200
\r
84 #define Ky_AltF 0x2100
\r
85 #define Ky_AltG 0x2200
\r
86 #define Ky_AltH 0x2300
\r
87 #define Ky_AltI 0x1700
\r
88 #define Ky_AltJ 0x2400
\r
89 #define Ky_AltK 0x2500
\r
90 #define Ky_AltL 0x2600
\r
91 #define Ky_AltM 0x3200
\r
92 #define Ky_AltN 0x3100
\r
93 #define Ky_AltO 0x1800
\r
94 #define Ky_AltP 0x1900
\r
95 #define Ky_AltQ 0x1000
\r
96 #define Ky_AltR 0x1300
\r
97 #define Ky_AltS 0x1F00
\r
98 #define Ky_AltT 0x1400
\r
99 #define Ky_AltU 0x1600
\r
100 #define Ky_AltV 0x2F00
\r
101 #define Ky_AltW 0x1100
\r
102 #define Ky_AltX 0x2D00
\r
103 #define Ky_AltY 0x1500
\r
104 #define Ky_AltZ 0x2C00
\r
106 /* .ASM Functions From C_UTILS.ASM */
\r
108 void far pascal dos_print (char far *Text);
\r
109 void far pascal dos_prints (char far *Text);
\r
110 void far pascal set_video_mode (int Mode);
\r
111 int far pascal scan_keyboard (void);
\r
112 int far pascal random_int (int MaxValue);
\r
113 void far pascal init_random (void);
\r
114 int far pascal int_sqr (int X, int Round);
\r
115 int far pascal timer_count (void);
\r