]> 4ch.mooo.com Git - 16.git/commitdiff
Signed-off-by: sparky4 <sparky4@cock.li>
authorsparky4 <sparky4@cock.li>
Mon, 3 Aug 2015 21:40:43 +0000 (16:40 -0500)
committersparky4 <sparky4@cock.li>
Mon, 3 Aug 2015 21:40:43 +0000 (16:40 -0500)
21 files changed:
16.exe
DEBUG.16 [new file with mode: 0644]
HEAP.16
MMDUMP.16 [new file with mode: 0644]
bakapi.exe
exmmtest.exe
fmemtest.exe
fontgfx.exe
fonttest.exe
inputest.exe
makefile
maptest.exe
palettec.exe
pcxtest.exe
scroll.exe
sega.exe
sountest.exe
src/lib/16_hc.c
test.exe
test2.exe
tsthimem.exe

diff --git a/16.exe b/16.exe
index addb6416a5374faed99fe834a528edb068fa7746..dae2e20e9f0fb67696a32bee2d42f09eac22a84e 100644 (file)
Binary files a/16.exe and b/16.exe differ
diff --git a/DEBUG.16 b/DEBUG.16
new file mode 100644 (file)
index 0000000..fd55028
--- /dev/null
+++ b/DEBUG.16
@@ -0,0 +1,8 @@
+0      Size:5160       Owner:0x0
+0      Size:5160       Owner:0x0
+1428   Size:256        Owner:0x4cfe
+Seg:1528       Size:273        Owner:0x859a
+Seg:1baf       Size:17 Owner:0x0
+Seg:1baf       Size:17 Owner:0x0
+1db0   Size:49744      Owner:0x0
+Seg:e000       Size:4294909951 Owner:0x0
diff --git a/HEAP.16 b/HEAP.16
index abeb11d53fb682b55f1c7016311b74c2af7d3906..612e248e84b8b92d62abbd0215d30b3d02ae7604 100644 (file)
--- a/HEAP.16
+++ b/HEAP.16
@@ -1,10 +1,11 @@
 
        == default ==
 
-  USED block at 1bda0016 of size 88
-  USED block at 1bda009e of size 42
-  USED block at 1bda00e0 of size 1f1e
-  FREE block at 1bda1ffe of size 1ffe
+  USED block at 1bb10016 of size 136
+  USED block at 1bb1009e of size 66
+  FREE block at 1bb100e0 of size 7966
+  USED block at 1bb11ffe of size 20
+  FREE block at 1bb12012 of size 8170
 OK - end of heap
 
        == near ==
@@ -26,18 +27,19 @@ OK - end of heap
   USED block at 0 of size 0
   USED block at 0 of size 0
   USED block at 0 of size 0
+  USED block at 0 of size 0
 OK - end of heap
 
 Memory Type         Total      Used       Free
 ----------------  --------   --------   --------
-Default                   16358        8168    8190
-Near              31286        31286   0
-Far               16358        8168    8190
+Default                   16358        222     16136
+Near              31286        436     30850
+Far               16358        222     16136
 ----------------  --------   --------   --------
-coreleft = 0
-farcoreleft = 7996
-GetFreeSize = 8014
-GetNearFreeSize = 0
-GetFarFreeSize = 8014
-memavl = 0
-stackavail = 17041
+coreleft = 30848
+farcoreleft = 46788
+GetFreeSize = 15960
+GetNearFreeSize = 30850
+GetFarFreeSize = 15960
+memavl = 30848
+stackavail = 17131
diff --git a/MMDUMP.16 b/MMDUMP.16
new file mode 100644 (file)
index 0000000..307f53b
Binary files /dev/null and b/MMDUMP.16 differ
index de36892c93eae8fc5583fcb3ae6a65f08372a37d..e1c1f69d4d3888c58b7f4be6464892f2e74ecae1 100644 (file)
Binary files a/bakapi.exe and b/bakapi.exe differ
index d0846ef58cf2dc2e11c8d1d20a06cbb15ffa5c0e..805aed166a591cdfbb0eaabb3f87505a8d9002fc 100644 (file)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index 11bcf03cef8cd666ece091f1d21ce9963c4e0042..d67d4458a18e1e645bedab4afc7a0484690f4559 100644 (file)
Binary files a/fmemtest.exe and b/fmemtest.exe differ
index b25350a2d9aa6f9405aad3e9e16939d3eceae259..0b932c07c0f67fd4a2bed43ad10da41a0c3df933 100644 (file)
Binary files a/fontgfx.exe and b/fontgfx.exe differ
index abd57e7c8cdf2321fcfc1a0257afcd14c5718e46..2d6c1c5b9dd85a72e80eecf29aa7cec9f351013a 100644 (file)
Binary files a/fonttest.exe and b/fonttest.exe differ
index 01fa65823c867379a9ccbe09c3f0fd6ea0e39ea4..b2f4d6ffcd234554a13b59b5fbe054b2e405a95c 100644 (file)
Binary files a/inputest.exe and b/inputest.exe differ
index faa97ac996ed42fd65727b4aff99a2ac8f5d6576..563c6bdd5a7646b79995edc8e832c6807ed848da 100644 (file)
--- a/makefile
+++ b/makefile
@@ -22,7 +22,7 @@ WCPULIB=$(SRCLIB)wcpu$(DIRSEP)
 
 16FLAGS=-fh=16.hed
 BAKAPIFLAGS=-fh=bakapi.hed
-SFLAGS=-sg -st -of+ -k32768 -zu -zdp#51200#49152#24576
+SFLAGS=-sg -st -of+ -k32768 -zu## -zdp#51200#49152#24576
 DFLAGS=-DTARGET_MSDOS=16 -DMSDOS=1 $(SFLAGS)
 ZFLAGS=-zk0 -zq -zu -zc -zm# -zdp# -zp16
 CFLAGS=-mc -lr -l=dos -wo -x## -d2
index a1237bb194553fea6e77351231c7cfe1ef24d629..6ad044742c1f2f004d59b12f8934ab7d33cead6e 100644 (file)
Binary files a/maptest.exe and b/maptest.exe differ
index e4ad17d409eedc814ea976fe3100c2ed4af27080..b38c6f72cf81684a53b614438a9bc79fbd7f91b1 100644 (file)
Binary files a/palettec.exe and b/palettec.exe differ
index a8ebf8a95f19ae7d5ac43a3c69f845d4518a4754..87b9f8e48325762dc514a33ec6f4795174bfc2fb 100644 (file)
Binary files a/pcxtest.exe and b/pcxtest.exe differ
index 534f03b32e89aaf77740d382af9451a02f64d675..bd999b9e474aab07b71a8a8ff627dd74fa1959b7 100644 (file)
Binary files a/scroll.exe and b/scroll.exe differ
index 7d1e0dda5fa7020992c0205813a0ea37c5ac5330..9ed4ba3667632677042ea56936e2b8d497af5043 100644 (file)
Binary files a/sega.exe and b/sega.exe differ
index 8c9ac9b773f6b3977846197bce72fe06df4a2a2c..f45d964c32c32f140dfc8b61db31ef7c08275eb0 100644 (file)
Binary files a/sountest.exe and b/sountest.exe differ
index a7de12f3e4123f6e2896dd3347dde18308d7a668..f9f4948c08c4d987e8e926f87affd1c78d7f27d2 100644 (file)
@@ -360,8 +360,7 @@ void heapdump(void)
        for(;;) {
                heap_status = _heapwalk( &h_info );
                if( heap_status != _HEAPOK ) break;
-
-               strcpy(scratch,"  "); strcat(scratch,(h_info._useflag == _USEDENTRY ? "USED" : "FREE")); strcat(scratch," block at "); ultoa((dword)h_info._pentry,str,16); strcat(scratch,str); strcat(scratch," of size "); ultoa(h_info._size,str,16); strcat(scratch,str); strcat(scratch,"\n");
+               strcpy(scratch,"  "); strcat(scratch,(h_info._useflag == _USEDENTRY ? "USED" : "FREE")); strcat(scratch," block at "); ultoa((dword)h_info._pentry,str,16); strcat(scratch,str); strcat(scratch," of size "); ultoa(h_info._size,str,10); strcat(scratch,str); strcat(scratch,"\n");
                if((h_info._useflag == _USEDENTRY ? "USED" : "FREE")=="FREE") h_free += h_info._size;
                if((h_info._useflag == _USEDENTRY ? "USED" : "FREE")=="USED") h_used += h_info._size;
                h_total += h_info._size;
@@ -377,8 +376,7 @@ void heapdump(void)
        for(;;) {
                heap_status = _nheapwalk( &nh_info );
                if( heap_status != _HEAPOK ) break;
-               
-               strcpy(scratch,"  "); strcat(scratch,(h_info._useflag == _USEDENTRY ? "USED" : "FREE")); strcat(scratch," block at "); ultoa((dword)h_info._pentry,str,16); strcat(scratch,str); strcat(scratch," of size "); ultoa(h_info._size,str,16); strcat(scratch,str); strcat(scratch,"\n");
+               strcpy(scratch,"  "); strcat(scratch,(h_info._useflag == _USEDENTRY ? "USED" : "FREE")); strcat(scratch," block at "); ultoa((dword)h_info._pentry,str,16); strcat(scratch,str); strcat(scratch," of size "); ultoa(h_info._size,str,10); strcat(scratch,str); strcat(scratch,"\n");
 /*             printf( "  %s block at %Fp of size %4.4X\n",
 (nh_info._useflag == _USEDENTRY ? "USED" : "FREE"),
 nh_info._pentry, nh_info._size );*/
@@ -397,8 +395,7 @@ nh_info._pentry, nh_info._size );*/
        for(;;) {
                heap_status = _fheapwalk( &fh_info );
                if( heap_status != _HEAPOK ) break;
-
-               strcpy(scratch,"  "); strcat(scratch,(h_info._useflag == _USEDENTRY ? "USED" : "FREE")); strcat(scratch," block at "); ultoa((dword)h_info._pentry,str,16); strcat(scratch,str); strcat(scratch," of size "); ultoa(h_info._size,str,16); strcat(scratch,str); strcat(scratch,"\n");
+               strcpy(scratch,"  "); strcat(scratch,(h_info._useflag == _USEDENTRY ? "USED" : "FREE")); strcat(scratch," block at "); ultoa((dword)h_info._pentry,str,16); strcat(scratch,str); strcat(scratch," of size "); ultoa(h_info._size,str,10); strcat(scratch,str); strcat(scratch,"\n");
                /*printf( "  %s block at %Fp of size %4.4X\n",
 (fh_info._useflag == _USEDENTRY ? "USED" : "FREE"),
 fh_info._pentry, fh_info._size );*/
index cbb49da851dc5876ba334c03ff5eab9598d717e2..c2fb85a4e9814abed3519ecfeb4cd381c82e8e46 100644 (file)
Binary files a/test.exe and b/test.exe differ
index bd6ee77955e488f4c72d3b674f12347e638409d5..1c8b210fe493d32b1d2c95417864f860d4bcad37 100644 (file)
Binary files a/test2.exe and b/test2.exe differ
index ddedc3e44c153d885f1c514d0812b4ab8ca90864..8a00b50cab11b0320893fc840817776e74a28ef4 100644 (file)
Binary files a/tsthimem.exe and b/tsthimem.exe differ