From 7d169eda895595c0bc90ec61a5935f642763c5f8 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Wed, 28 Jun 2017 12:10:19 -0500 Subject: [PATCH] issue fixed stak was simply too small... --- EXMMTEST.16 | 17 +++++++++ HEAP.16W | 74 ++++++++++++++++++------------------- MMDUMP.16W | Bin 45 -> 2288 bytes makefile | 4 +- src/util/shbat/runtest.bat | 5 +-- 5 files changed, 57 insertions(+), 43 deletions(-) create mode 100755 EXMMTEST.16 diff --git a/EXMMTEST.16 b/EXMMTEST.16 new file mode 100755 index 00000000..b7e81fd8 --- /dev/null +++ b/EXMMTEST.16 @@ -0,0 +1,17 @@ +Open Watcom Make Version 2.0 beta Nov 19 2016 01:49:28 (32-bit) +Copyright (c) 2002-2016 The Open Watcom Contributors. All Rights Reserved. +Portions Copyright (c) 1988-2002 Sybase, Inc. All Rights Reserved. +Source code is available under the Sybase Open Watcom Public License. +See http://www.openwatcom.org/ for details. + wcl -zq -bt=dos -wx -ml -0 -fpi87 -d1 -fo=.obj -wo -i"src/lib/doslib" -opnr -oe=24 -oil+ -outback -ohm -sg -st -of+ -zu -zdf -zff -zgf -k32768 -zk0 -zc -DTARGET_MSDOS=16 -DMSDOS=1 -DSTACKSIZE=32768 -DDEBUGSERIAL -c src\exmmtest.c + wcl -zq -bt=dos -wx -ml -0 -fpi87 -d1 -fo=.obj -wo -i"src/lib/doslib" -opnr -oe=24 -oil+ -outback -ohm -sg -st -of+ -zu -zdf -zff -zgf -k32768 -zk0 -zc -DTARGET_MSDOS=16 -DMSDOS=1 -DSTACKSIZE=32768 -DDEBUGSERIAL -c src\lib\16_pm.c + wcl -zq -bt=dos -wx -ml -0 -fpi87 -d1 -fo=.obj -wo -i"src/lib/doslib" -opnr -oe=24 -oil+ -outback -ohm -sg -st -of+ -zu -zdf -zff -zgf -k32768 -zk0 -zc -DTARGET_MSDOS=16 -DMSDOS=1 -DSTACKSIZE=32768 -DDEBUGSERIAL -c src\lib\16_head.c + wcl -zq -bt=dos -wx -ml -0 -fpi87 -d1 -fo=.obj -wo -i"src/lib/doslib" -opnr -oe=24 -oil+ -outback -ohm -sg -st -of+ -zu -zdf -zff -zgf -k32768 -zk0 -zc -DTARGET_MSDOS=16 -DMSDOS=1 -DSTACKSIZE=32768 -DDEBUGSERIAL -c src\lib\16_ca.c + wcl -zq -bt=dos -wx -ml -0 -fpi87 -d1 -fo=.obj -wo -i"src/lib/doslib" -opnr -oe=24 -oil+ -outback -ohm -sg -st -of+ -zu -zdf -zff -zgf -k32768 -zk0 -zc -DTARGET_MSDOS=16 -DMSDOS=1 -DSTACKSIZE=32768 -DDEBUGSERIAL -c src\lib\16_mm.c + wcl -zq -bt=dos -wx -ml -0 -fpi87 -d1 -fo=.obj -wo -i"src/lib/doslib" -opnr -oe=24 -oil+ -outback -ohm -sg -st -of+ -zu -zdf -zff -zgf -k32768 -zk0 -zc -DTARGET_MSDOS=16 -DMSDOS=1 -DSTACKSIZE=32768 -DDEBUGSERIAL -c src\lib\16_hc.c + wcl -zq -bt=dos -wx -ml -0 -fpi87 -d1 -fo=.obj -wo -i"src/lib/doslib" -opnr -oe=24 -oil+ -outback -ohm -sg -st -of+ -zu -zdf -zff -zgf -k32768 -zk0 -zc -DTARGET_MSDOS=16 -DMSDOS=1 -DSTACKSIZE=32768 -DDEBUGSERIAL -c src\lib\nyan\kitten.c + wcl -zq -bt=dos -wx -ml -0 -fpi87 -d1 -fo=.obj -wo -i"src/lib/doslib" -opnr -oe=24 -oil+ -outback -ohm -sg -st -of+ -zu -zdf -zff -zgf -k32768 -zk0 -zc -DTARGET_MSDOS=16 -DMSDOS=1 -DSTACKSIZE=32768 -DDEBUGSERIAL -c src\lib\16_vl_1.c + wcl -zq -bt=dos -wx -ml -0 -fpi87 -d1 -fo=.obj -wo -i"src/lib/doslib" -opnr -oe=24 -oil+ -outback -ohm -sg -st -of+ -zu -zdf -zff -zgf -k32768 -zk0 -zc -DTARGET_MSDOS=16 -DMSDOS=1 -DSTACKSIZE=32768 -DDEBUGSERIAL -c src\lib\16_tail.c + wcl -zq -bt=dos -wx -ml -0 -fpi87 -d1 -fo=.obj -wo -i"src/lib/doslib" -opnr -oe=24 -oil+ -outback -ohm -sg -st -of+ -zu -zdf -zff -zgf -k32768 -zk0 -zc -DTARGET_MSDOS=16 -DMSDOS=1 -DSTACKSIZE=32768 -DDEBUGSERIAL -c src\lib\16_in.c + wcl -zq -bt=dos -wx -ml -0 -fpi87 -d1 -fo=.obj -wo -i"src/lib/doslib" -opnr -oe=24 -oil+ -outback -ohm -sg -st -of+ -zu -zdf -zff -zgf -k32768 -zk0 -zc -DTARGET_MSDOS=16 -DMSDOS=1 -DSTACKSIZE=32768 -DDEBUGSERIAL -c src\lib\16_dbg.c + wcl -zq -l=dos -sg -st -of+ -zu -zdf -zff -zgf -k32768 -fm=exmmtest.meh -fd=exmmtest exmmtest.obj 16_pm.obj 16_head.obj 16_ca.obj 16_mm.obj 16_hc.obj kitten.obj 16_vl_1.obj 16_tail.obj 16_in.obj 16_dbg.obj -fe=exmmtest.exe diff --git a/HEAP.16W b/HEAP.16W index 5905bd0e..edaf6182 100755 --- a/HEAP.16W +++ b/HEAP.16W @@ -1,50 +1,50 @@ == near == - USED block at of size 12 - USED block at of size 354 - USED block at of size 52 - USED block at of size 20 - USED block at of size 20 - USED block at of size 20 - USED block at of size 20 - USED block at of size 20 - FREE block at of size 9200 + USED block at 4803:fa06 of size 12 + USED block at 4803:fa12 of size 354 + USED block at 4803:fb74 of size 52 + USED block at 4803:fba8 of size 20 + USED block at 4803:fbbc of size 20 + USED block at 4803:fbd0 of size 20 + USED block at 4803:fbe4 of size 20 + USED block at 4803:fbf8 of size 20 + FREE block at 4803:fc0c of size 1008 OK - end of heap == far == - USED block at 0005:0001 of size 24484 - USED block at 0005:0005 of size 20 - USED block at 0005:0005 of size 66 - USED block at 0005:0006 of size 50 - USED block at 0005:0006 of size 50 - USED block at 0005:0006 of size 50 - USED block at 0005:0006 of size 50 - USED block at 0005:0006 of size 50 - USED block at 0005:0006 of size 50 - USED block at 0005:0006 of size 50 - USED block at 0005:0006 of size 50 - USED block at 0005:0006 of size 50 - USED block at 0005:0006 of size 50 - USED block at 0005:0006 of size 50 - USED block at 0005:0006 of size 50 - FREE block at 0005:0006 of size 29552 - USED block at of size 1202 - USED block at of size 1202 - USED block at of size 1202 - USED block at of size 136 - USED block at of size 22 - FREE block at of size 8202 + USED block at 5804:0016 of size 24484 + USED block at 5804:5fba of size 20 + USED block at 5804:5fce of size 66 + USED block at 5804:6010 of size 50 + USED block at 5804:6042 of size 50 + USED block at 5804:6074 of size 50 + USED block at 5804:60a6 of size 50 + USED block at 5804:60d8 of size 50 + USED block at 5804:610a of size 50 + USED block at 5804:613c of size 50 + USED block at 5804:616e of size 50 + USED block at 5804:61a0 of size 50 + USED block at 5804:61d2 of size 50 + USED block at 5804:6204 of size 50 + USED block at 5804:6236 of size 50 + FREE block at 5804:6268 of size 29552 + USED block at 5804:d5d8 of size 1202 + USED block at 5804:da8a of size 1202 + USED block at 5804:df3c of size 1202 + USED block at 5804:e3ee of size 136 + USED block at 5804:e476 of size 22 + FREE block at 5804:e48c of size 8202 ERROR - bad node in heap Memory Type Total Used Free ---------------- -------- -------- -------- -Near 9718 518 9200 +Near 1526 518 1008 Far 1152 28934 37754 ---------------- -------- -------- -------- -HC_coreleft = 9198 -HC_farcoreleft = 265976 -coreleft = 9198 -farcoreleft = 265976 -stackavail = 23306 +HC_coreleft = 1006 +HC_farcoreleft = 257604 +coreleft = 1006 +farcoreleft = 257604 +stackavail = 31498 diff --git a/MMDUMP.16W b/MMDUMP.16W index 77b7edc76f2985b4d80ef0cfdf7f52b2d61260fc..88de7f7c7b678e57833f2ab3c80bd27af99aded2 100755 GIT binary patch literal 2288 zcmZwJJ5B>J6hKiVIwbZmWhf$fqQv$fu?M!`@n->4Y=a%+NU1WXy@h>T`00h;5H9U= zO{FZS^UuffwS@P#@Th&i&ieXP$F(k}@0UaEs<*&;VV$=f&%H&~%sO9z6X?Cs8|jVo zMtUQ?k={seq&L!==uPw{dK0~g-b8PrH_@Bv&Gcq^GrgJKOmC())4S2T(Yw*R(Yw*R z(Yw*R(Oc*(^cH#xy@lTU)HwdPLT{mWr+26KK8=pI?ey;S?)2{T?(|lAE4`K8N^hmN z(p%}R^fr1My^Y>RZ=<)-+vsidc6vL#o!(Awr?=DF>Fx9mdI!CO-a+r6chEcN9q?X4 rfOl4SXN7lGcxQ!oR(NNHcUF2=dRKVkx=z{oX)lTEeO90U9^1-4vM$sD literal 45 zcmXr0FfcIS<+4&|_BiwCl}-bz|INTBuXLC_s(87W7AR;0+|g99RWLI(G&1Am0su^x B4Ql`Z diff --git a/makefile b/makefile index f837019e..2916e1a7 100755 --- a/makefile +++ b/makefile @@ -119,8 +119,8 @@ UPXQ=-qqq # # stacksize # -STKSIZ=24576 -#32768#40960 +STKSIZ=32768 +#24576#40960 # # compile flags diff --git a/src/util/shbat/runtest.bat b/src/util/shbat/runtest.bat index 093735f0..cb693ce3 100755 --- a/src/util/shbat/runtest.bat +++ b/src/util/shbat/runtest.bat @@ -1,5 +1,2 @@ @echo off -wmake clean -wmake exmmtest.exe > exmmtest.16 -@rem wmakescroll.exe > scroll.16 -@rem wmake maptest.exemaptest.exe > maptest.16 +wsample xcroll.exe %* -- 2.39.5