]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_head.h
__seguse.txt added to show _seg usage also OpenVGMFile needs to be ported to 16_snd...
[16.git] / src / lib / 16_head.h
index 134def28dd16f7c392fde7f67f8377f158d20b3f..81af81c5f04fcf1ed80ddba48840afc9e720896f 100755 (executable)
@@ -35,7 +35,6 @@
 #include <stdlib.h>\r
 #include <conio.h> // just for wait\r
 #include <time.h> // just for wait\r
-#include <malloc.h>\r
 #include <ctype.h>\r
 #include <fcntl.h>\r
 #include <io.h>\r
@@ -50,7 +49,6 @@
 #include <unistd.h>\r
 #include <alloca.h>\r
 #include <stdint.h> //16_vrs.h\r
-#include "src/lib/16_dbg.h"\r
 #endif\r
 #ifdef __BORLANDC__\r
 #include <values.h>\r
@@ -60,6 +58,7 @@
 #include "src/lib/16_t.h"\r
 #include "src/lib/16_tdef.h"\r
 #include "src/lib/nyan/kitten.h"\r
+#include "src/lib/16_dbg.h"\r
 \r
 #define VERSION __DATE__ " " __TIME__\r
 \r
@@ -162,11 +161,13 @@ extern    int                     profilehandle,debughandle;      //make it into game global
 \r
 #define        nil     ((void *)0)\r
 #ifdef __BORLANDC__\r
-#define _FCORELEFT 0x90000UL-16UL\r
+//#define _FCORELEFT 0x90000UL-16UL\r
+#define _FCORELEFT HC_farcoreleft()\r
 #define sprite\r
 #endif\r
 #ifdef __WATCOMC__\r
-#define _FCORELEFT 0x90000UL+16UL\r
+//#define _FCORELEFT 0x90000UL+16UL\r
+#define _FCORELEFT HC_farcoreleft()\r
 /*static union REGS CPURegs;\r
 \r
 #define _AX CPURegs.x.ax\r