#
# compile flags
#
-S_FLAGS=-sg -st -of+ -zu -zdf -zff -zgf -k32768#24576
-Z_FLAGS=-zk0 -zc -zm#### -zp4 -ei
+S_FLAGS=-sg -st -of+ -zu -zdf -zff -zgf -k45056#32768#24576
+Z_FLAGS=-zk0 -zc -zm -zp4 -ei
O_FLAGS=-opnr -oe=24 -oil+ -outback -ohm
T_FLAGS=-bt=dos -wx -m$(MEMORYMODE) -0 -fpi87 -d1 -fo=.$(OBJ)## -e=65536
#
VGMSNDOBJ = vgmSnd.$(OBJ)
OLDLIBOBJS=bitmap.$(OBJ) 16render.$(OBJ)
-GFXLIBOBJS = 16_vl.$(OBJ) 16_vl_1.$(OBJ) 16_vl_2.$(OBJ) 16_vlpal.$(OBJ) 16text.$(OBJ) bakapee.$(OBJ) scroll16.$(OBJ) 16_vrs.$(OBJ) 16_spri.$(OBJ)
+GFXLIBOBJS = 16_vl.$(OBJ) 16_vl_1.$(OBJ) 16_vl_2.$(OBJ) 16_vlpal.$(OBJ) 16text.$(OBJ) scroll16.$(OBJ) 16_vrs.$(OBJ) 16_spri.$(OBJ)
16LIBOBJS = 16_mm.$(OBJ) 16_pm.$(OBJ) 16_ca.$(OBJ) 16_tail.$(OBJ) 16_head.$(OBJ) 16_enti.$(OBJ) 16_dbg.$(OBJ) 16_in.$(OBJ) kitten.$(OBJ) 16_hc.$(OBJ) 16_wcpu.$(OBJ) 16_timer.$(OBJ) jsmn.$(OBJ) 16_map.$(OBJ) 16text.$(OBJ) 16_sd.$(OBJ) 16_tail_.$(OBJ) 16_dbg_1.$(OBJ)
DOSLIBOBJ = adlib.$(OBJ) 8254.$(OBJ) 8259.$(OBJ) dos.$(OBJ) cpu.$(OBJ)
!ifeq DEBUGSERIAL 1
//===================================//\r
#define PALSIZE 768 //vga\r
#define NUMCHUNKS 416 //keen\r
-#define MAXSCANLINES 240 // size of ylookup table\r
+//#define MAXSCANLINES 240 // size of ylookup table\r
\r
#define MAXSHIFTS 4\r
#define STARTSPRITES 0 //temp\r
word quadwh; //preproccessed quad size of tilewidth and tileheight\r
} tile_dimention_t;\r
\r
-#define MAXSCROLLEDGES 6\r
+#define MAXSCROLLEDGES 2\r
typedef struct\r
{\r
unsigned panx,pany; // panning adjustments inside port in pixels\r
//from 16_mm\r
//==========================================================================\r
\r
-#define MAXBLOCKS 800//kd=1300 wolf3d=700 cata=600\r
+#define MAXBLOCKS 256//800 //kd=1300 wolf3d=700 cata=600\r
\r
typedef struct mmblockstruct\r
{\r
#ifdef GRHEADERLINKED\r
huffnode *grhuffman;\r
#else\r
- huffnode grhuffman[255];\r
+ huffnode grhuffman[63];\r
#endif\r
\r
#ifdef AUDIOHEADERLINKED\r
huffnode *audiohuffman;\r
#else\r
- huffnode audiohuffman[255];\r
+// huffnode audiohuffman[63];\r
#endif\r
\r
CASVT chunkcomplen,chunkexplen;//long\r