]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_head.h
16_ca needs huge amounts of work and I should remember what needs to be done soon...
[16.git] / src / lib / 16_head.h
index 81af81c5f04fcf1ed80ddba48840afc9e720896f..adea8fff32c66380f9fd3f28bdb5c758e227ab5a 100755 (executable)
@@ -20,9 +20,9 @@
  *\r
  */\r
 \r
-#if !defined(__LARGE__) && !defined(__COMPACT__) && !defined(__HUGE__)\r
-#error Invalid memory model for compiling project 16\r
-#endif\r
+//#if !defined(__LARGE__) && !defined(__COMPACT__) && !defined(__HUGE__)\r
+//#error Invalid memory model for compiling project 16\r
+//#endif\r
 \r
 #if !defined(__i86__) && defined(__i386__)\r
 #error i8088 only\r
@@ -33,7 +33,7 @@
 #include <dos.h>\r
 #include <stdio.h>\r
 #include <stdlib.h>\r
-#include <conio.h> // just for wait\r
+#include <conio.h> // this is where Open Watcom hides the outp() etc. functions // just for wait\r
 #include <time.h> // just for wait\r
 #include <ctype.h>\r
 #include <fcntl.h>\r
@@ -197,13 +197,17 @@ typedef union REGPACK     regs_t;
 \r
 #define INPUT_STATUS_1         0x03da\r
 \r
-/* local function */\r
+// local function //\r
 long int filesize(FILE *fp);\r
+void clrstdin();\r
 char *remove_ext(char* mystr, char dot, char sep);\r
 void rotateR(byte arr[], byte n);\r
 void rotateL(byte arr[], byte n);\r
 void printmeminfoline(byte *strc, const byte *pee, size_t h_total, size_t h_used, size_t h_free);\r
 int US_CheckParm(char *parm,char **strings);\r
 byte dirchar(byte in);\r
+void print_mem(void const *vp, size_t n);\r
+\r
+#define PRINT_OPAQUE_STRUCT(p)  print_mem((p), sizeof(*(p)))\r
 \r
 #endif/*__16_HEAD_H__*/\r