The Build Engine

- Main Page
- Classes
- Files

- File List
- File Members

a.h
1 /*
2 * "Build Engine & Tools" Copyright (c) 1993-1997 Ken Silverman
3 * Ken Silverman's official web site: "http://www.advsys.net/ken"
4 * See the included license file "BUILDLIC.TXT" for license info.
5 * This file IS NOT A PART OF Ken Silverman's original release
6 */
7
8 #ifndef _INCLUDE_A_H_
9 #define _INCLUDE_A_H_
10
11 #if (defined __WATCOMC__)
12 #error Do not include this header with Watcom C.
13 #endif
14
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
18
19 long mmxoverlay(void);
20 long sethlinesizes(long,long,long);
21 long setpalookupaddress(char *);
22 long setuphlineasm4(long,long);
23 long hlineasm4(long,long,long,long,long,long);
24 long setuprhlineasm4(long,long,long,long,long,long);
25 long rhlineasm4(long,long,long,long,long,long);
26 long setuprmhlineasm4(long,long,long,long,long,long);
27 long rmhlineasm4(long,long,long,long,long,long);
28 long setupqrhlineasm4(long,long,long,long,long,long);
29 long qrhlineasm4(long,long,long,long,long,long);
30 long setvlinebpl(long);
31 long fixtransluscence(long);
32 long prevlineasm1(long,long,long,long,long,long);
33 long vlineasm1(long,long,long,long,long,long);
34 long setuptvlineasm(long);
35 long tvlineasm1(long,long,long,long,long,long);
36 long setuptvlineasm2(long,long,long);
37 long tvlineasm2(long,long,long,long,long,long);
38 long mvlineasm1(long,long,long,long,long,long);
39 long setupvlineasm(long);
40 long vlineasm4(long,long);
41 long setupmvlineasm(long);
42 long mvlineasm4(long,long);
43 void setupspritevline(long,long,long,long,long,long);
44 void spritevline(long,long,long,long,long,long);
45 void msetupspritevline(long,long,long,long,long,long);
46 void mspritevline(long,long,long,long,long,long);
47 void tsetupspritevline(long,long,long,long,long,long);
48 void tspritevline(long,long,long,long,long,long);
49 long mhline(long,long,long,long,long,long);
50 long mhlineskipmodify(long,long,long,long,long,long);
51 long msethlineshift(long,long);
52 long thline(long,long,long,long,long,long);
53 long thlineskipmodify(long,long,long,long,long,long);
54 long tsethlineshift(long,long);
55 long setupslopevlin(long,long,long);
56 long slopevlin(long,long,long,long,long,long);
57 long settransnormal(void);
58 long settransreverse(void);
59 long setupdrawslab(long,long);
60 long drawslab(long,long,long,long,long,long);
61 long stretchhline(long,long,long,long,long,long);
62 long is_vmware_running(void);
63
64 /* !!! This part might be better stated as "USE_ASM". --ryan. */
65 #ifdef USE_I386_ASM
66 long asm_mmxoverlay(void);
67 long asm_sethlinesizes(long,long,long);
68 long asm_setpalookupaddress(char *);
69 long asm_setuphlineasm4(long,long);
70 long asm_hlineasm4(long,long,long,long,long,long);
71 long asm_setuprhlineasm4(long,long,long,long,long,long);
72 long asm_rhlineasm4(long,long,long,long,long,long);
73 long asm_setuprmhlineasm4(long,long,long,long,long,long);
74 long asm_rmhlineasm4(long,long,long,long,long,long);
75 long asm_setupqrhlineasm4(long,long,long,long,long,long);
76 long asm_qrhlineasm4(long,long,long,long,long,long);
77 long asm_setvlinebpl(long);
78 long asm_fixtransluscence(long);
79 long asm_prevlineasm1(long,long,long,long,long,long);
80 long asm_vlineasm1(long,long,long,long,long,long);
81 long asm_setuptvlineasm(long);
82 long asm_tvlineasm1(long,long,long,long,long,long);
83 long asm_setuptvlineasm2(long,long,long);
84 long asm_tvlineasm2(long,long,long,long,long,long);
85 long asm_mvlineasm1(long,long,long,long,long,long);
86 long asm_setupvlineasm(long);
87 long asm_vlineasm4(long,long);
88 long asm_setupmvlineasm(long);
89 long asm_mvlineasm4(long,long);
90 void asm_setupspritevline(long,long,long,long,long,long);
91 void asm_spritevline(long,long,long,long,long,long);
92 void asm_msetupspritevline(long,long,long,long,long,long);
93 void asm_mspritevline(long,long,long,long,long,long);
94 void asm_tsetupspritevline(long,long,long,long,long,long);
95 void asm_tspritevline(long,long,long,long,long,long);
96 long asm_mhline(long,long,long,long,long,long);
97 long asm_mhlineskipmodify(long,long,long,long,long,long);
98 long asm_msethlineshift(long,long);
99 long asm_thline(long,long,long,long,long,long);
100 long asm_thlineskipmodify(long,long,long,long,long,long);
101 long asm_tsethlineshift(long,long);
102 long asm_setupslopevlin(long,long,long);
103 long asm_slopevlin(long,long,long,long,long,long);
104 long asm_settransnormal(void);
105 long asm_settransreverse(void);
106 long asm_setupdrawslab(long,long);
107 long asm_drawslab(long,long,long,long,long,long);
108 long asm_stretchhline(long,long,long,long,long,long);
109 long asm_isvmwarerunning(void);
110
111 /*
112 * !!! I need a reference to this, for mprotect(), but the actual function
113 * !!! is never called in BUILD...just from other ASM routines. --ryan.
114 */
115 long asm_prohlineasm4(void);
116
117 #if ((defined __GNUC__) && (!defined C_IDENTIFIERS_UNDERSCORED))
118
119 long asm_mmxoverlay(void) __attribute__ ((alias ("_asm_mmxoverlay")));
120 long asm_sethlinesizes(long,long,long) __attribute__ ((alias ("_asm_sethlinesizes")));
121 long asm_setpalookupaddress(char *) __attribute__ ((alias ("_asm_setpalookupaddress")));
122 long asm_setuphlineasm4(long,long) __attribute__ ((alias ("_asm_setuphlineasm4")));
123 long asm_hlineasm4(long,long,long,long,long,long) __attribute__ ((alias ("_asm_hlineasm4")));
124 long asm_setuprhlineasm4(long,long,long,long,long,long) __attribute__ ((alias ("_asm_setuprhlineasm4")));
125 long asm_rhlineasm4(long,long,long,long,long,long) __attribute__ ((alias ("_asm_rhlineasm4")));
126 long asm_setuprmhlineasm4(long,long,long,long,long,long) __attribute__ ((alias ("_asm_setuprmhlineasm4")));
127 long asm_rmhlineasm4(long,long,long,long,long,long) __attribute__ ((alias ("_asm_rmhlineasm4")));
128 long asm_setupqrhlineasm4(long,long,long,long,long,long) __attribute__ ((alias ("_asm_setupqrhlineasm4")));
129 long asm_qrhlineasm4(long,long,long,long,long,long) __attribute__ ((alias ("_asm_qrhlineasm4")));
130 long asm_setvlinebpl(long) __attribute__ ((alias ("_asm_setvlinebpl")));
131 long asm_fixtransluscence(long) __attribute__ ((alias ("_asm_fixtransluscence")));
132 long asm_prevlineasm1(long,long,long,long,long,long) __attribute__ ((alias ("_asm_prevlineasm1")));
133 long asm_vlineasm1(long,long,long,long,long,long) __attribute__ ((alias ("_asm_vlineasm1")));
134 long asm_setuptvlineasm(long) __attribute__ ((alias ("_asm_setuptvlineasm")));
135 long asm_tvlineasm1(long,long,long,long,long,long) __attribute__ ((alias ("_asm_tvlineasm1")));
136 long asm_setuptvlineasm2(long,long,long) __attribute__ ((alias ("_asm_setuptvlineasm2")));
137 long asm_tvlineasm2(long,long,long,long,long,long) __attribute__ ((alias ("_asm_tvlineasm2")));
138 long asm_mvlineasm1(long,long,long,long,long,long) __attribute__ ((alias ("_asm_mvlineasm1")));
139 long asm_setupvlineasm(long) __attribute__ ((alias ("_asm_setupvlineasm")));
140 long asm_vlineasm4(long,long) __attribute__ ((alias ("_asm_vlineasm4")));
141 long asm_setupmvlineasm(long) __attribute__ ((alias ("_asm_setupmvlineasm")));
142 long asm_mvlineasm4(long,long) __attribute__ ((alias ("_asm_mvlineasm4")));
143 void asm_setupspritevline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_setupspritevline")));
144 void asm_spritevline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_spritevline")));
145 void asm_msetupspritevline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_msetupspritevline")));
146 void asm_mspritevline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_mspritevline")));
147 void asm_tsetupspritevline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_tsetupspritevline")));
148 void asm_tspritevline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_tspritevline")));
149 long asm_mhline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_mhline")));
150 long asm_mhlineskipmodify(long,long,long,long,long,long) __attribute__ ((alias ("_asm_mhlineskipmodify")));
151 long asm_msethlineshift(long,long) __attribute__ ((alias ("_asm_msethlineshift")));
152 long asm_thline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_thline")));
153 long asm_thlineskipmodify(long,long,long,long,long,long) __attribute__ ((alias ("_asm_thlineskipmodify")));
154 long asm_tsethlineshift(long,long) __attribute__ ((alias ("_asm_tsethlineshift")));
155 long asm_setupslopevlin(long,long,long) __attribute__ ((alias ("_asm_setupslopevlin")));
156 long asm_slopevlin(long,long,long,long,long,long) __attribute__ ((alias ("_asm_slopevlin")));
157 long asm_settransnormal(void) __attribute__ ((alias ("_asm_settransnormal")));
158 long asm_settransreverse(void) __attribute__ ((alias ("_asm_settransreverse")));
159 long asm_setupdrawslab(long,long) __attribute__ ((alias ("_asm_setupdrawslab")));
160 long asm_drawslab(long,long,long,long,long,long) __attribute__ ((alias ("_asm_drawslab")));
161 long asm_stretchhline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_stretchhline")));
162 long asm_isvmwarerunning(void) __attribute__ ((alias ("_asm_isvmwarerunning")));
163
164 /*
165 * !!! I need a reference to this, for mprotect(), but the actual function
166 * !!! is never called in BUILD...just from other ASM routines. --ryan.
167 */
168 long asm_prohlineasm4(void) __attribute__ ((alias ("_asm_prohlineasm4")));
169
170 #endif /* ELF/GCC */
171 #endif /* defined USE_I386_ASM */
172
173 #ifdef __cplusplus
174 }
175 #endif
176
177 #endif /* include-once-blocker. */
178
179 /* end of a.h ... */
180
181