OSDN Git Service

got pcxtest.exe to compile and work
[proj16/16.git] / 16 / modex16 / modex16.h
index 5ce666d..ff4913f 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