/* Project 16 Source Code~\r
- * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
+ * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
*\r
* This file is part of Project 16.\r
*\r
#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
#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
#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
\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
\r
/* local function */\r
long int filesize(FILE *fp);\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