X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_head.h;h=2d18e0af7017831a4781eb824f1b5f139af88ed9;hb=5af1604f7af6c1d1ab94299bfe6a4195b203a323;hp=a92a21b5d38e2767b8dc885d1193876a77dc246e;hpb=033a884c3a161367f6820dbcc959111403ecd497;p=16.git diff --git a/src/lib/16_head.h b/src/lib/16_head.h index a92a21b5..2d18e0af 100755 --- a/src/lib/16_head.h +++ b/src/lib/16_head.h @@ -161,8 +161,8 @@ extern int profilehandle,debughandle; //make it into game global #define nil ((void *)0) #ifdef __WATCOMC__ -//#define _FCORELEFT 0x90000UL+16UL -/*static union REGS CPURegs; +//----#define _FCORELEFT 0x90000UL+16UL +extern union REGS CPURegs; #define _AX CPURegs.x.ax #define _BX CPURegs.x.bx @@ -180,7 +180,7 @@ extern int profilehandle,debughandle; //make it into game global #define _DH CPURegs.h.dh #define _DL CPURegs.h.dl -#define geninterrupt(n) int86(n,&CPURegs,&CPURegs);*/ +#define geninterrupt(n) int86(n,&CPURegs,&CPURegs); typedef union REGPACK regs_t; @@ -196,6 +196,7 @@ void printmeminfoline(byte *strc, const byte *pee, size_t h_total, size_t h_used int US_CheckParm(char *parm,char **strings); byte dirchar(byte in); void print_mem(void const *vp, size_t n); +void hres (void); #define PRINT_OPAQUE_STRUCT(p) print_mem((p), sizeof(*(p)))