]> 4ch.mooo.com Git - 16.git/blob - 16/othersrc/lib/ems.h
palette is now arrays
[16.git] / 16 / othersrc / lib / ems.h
1 /*\r
2 \r
3                    THE IBM PC PROGRAMMER'S GUIDE TO C\r
4                                     \r
5                                     \r
6                                     \r
7                                3rd Edition\r
8                                     \r
9                                     \r
10                                     \r
11                              Matthew Probert\r
12 \r
13 \r
14                                     \r
15                             COPYRIGHT NOTICE\r
16 \r
17 \r
18 This publication remains the property of Matthew Probert. License is\r
19 hereby given for this work to be freely distibuted in whole under the\r
20 proviso that credit is given to the author. Sections of this work may be\r
21 used and distributed without payment under the proviso that credit is\r
22 given to both this work and the author. Source code occuring in this work\r
23 may be used within commercial and non-commercial applications without\r
24 charge and without reference to the author.\r
25  */\r
26 \r
27 #ifndef __EMS_H_\r
28 #define __EMS_H_\r
29 \r
30 #include <dos.h>\r
31 #define   EMM  0x67\r
32      \r
33 char far *emmbase;\r
34 \r
35 emmtest();\r
36 emmok();\r
37 long emmavail();\r
38 long emmalloc(int n);\r
39 emmmap(long handle, int phys, int page);\r
40 void emmmove(int page, char *str, int n);\r
41 void emmget(int page, char *str, int n);\r
42 emmclose(long handle);\r
43 \r
44 #endif __EMS_H_\r