X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_head.h;h=18e0e4c038eefd519118df1f1774aee617be5116;hb=313cb920c7f3762c6ec8859ef1dd41575dbb8df1;hp=95292d5da43394989fceb6da57036bdda86e4f46;hpb=61da0962e85739dc05c35eddb279d400ebbb455f;p=16.git diff --git a/src/lib/16_head.h b/src/lib/16_head.h index 95292d5d..18e0e4c0 100644 --- a/src/lib/16_head.h +++ b/src/lib/16_head.h @@ -20,6 +20,14 @@ * */ +#if !defined(__LARGE__) && !defined(__COMPACT__) && !defined(__HUGE__) +#error Invalid memory model for compiling project 16 +#endif + +#if !defined(__i86__) && defined(__i386__) +#error i8088 only +#endif + #ifndef _LIBHEAD_H_ #define _LIBHEAD_H_ #include @@ -29,6 +37,9 @@ #include // just for wait #include #include +#include +#include +#include #include "src/lib/types.h" /* Control codes for all keys on the keyboard */ @@ -124,6 +135,8 @@ */ static dword far* clockdw= (dword far*) 0x046C; /* 18.2hz clock */ +//static dword clockdw=0; +extern int profilehandle,debughandle; #define nil ((void *)0) @@ -144,4 +157,7 @@ long int filesize(FILE *fp); int US_CheckParm(char *parm,char **strings); //void Quit(char *error, ...); +extern void CA_OpenDebug (void); +extern void CA_CloseDebug (void); + #endif/*_LIBHEAD_H_*/