]> 4ch.mooo.com Git - 16.git/blobdiff - 16/modex16/modex16.h
got pcxtest.exe to compile and work
[16.git] / 16 / modex16 / modex16.h
index 5ce666dfa8c40173db0174464fccbd9110d7a1be..ff4913f6bdfdad3daffaa58fe2d3ace8f4cf5a84 100755 (executable)
@@ -12,6 +12,8 @@
 #define PLANE(x) (1<< (x&3))\r
 #define SELECT_ALL_PLANES() outpw(0x03c4, 0xff02)\r
 \r
+#ifndef PAGET\r
+#define PAGET\r
 typedef struct {\r
     byte far* data;    /* the data for the page */\r
     word dx;           /* col we are viewing on the virtual screen */\r
@@ -19,6 +21,7 @@ typedef struct {
     word width;                /* virtual width of the page */\r
     word height;       /* virtual height of the page */\r
 } page_t;\r
+#endif\r
 \r
 /* -============================ Functions =============================- */\r
 /* mode switching, page, and plane functions */\r