]> 4ch.mooo.com Git - 16.git/blob - src/lib/ems.h
added info display image of wolf 3d mem which should help me think about pm
[16.git] / src / lib / ems.h
1 /*
2
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.
25  */
26
27 #ifndef __EMS_H_
28 #define __EMS_H_
29
30 #include <dos.h>\r
31 #define   EMM  0x67\r
32      \r
33 char far *emmbase;
34
35 emmtest();
36 emmok();
37 long emmavail();
38 long emmalloc(int n);
39 emmmap(long handle, int phys, int page);
40 void emmmove(int page, char *str, int n);
41 void emmget(int page, char *str, int n);
42 emmclose(long handle);
43
44 #endif __EMS_H_