From: sparky4 Date: Thu, 29 Jun 2017 19:15:24 +0000 (-0500) Subject: ==== REPO AND DEBUG WORK==== I did many things to the repo and adding ability to... X-Git-Url: http://4ch.mooo.com/gitweb/?p=16.git;a=commitdiff_plain;h=033a884c3a161367f6820dbcc959111403ecd497 ==== REPO AND DEBUG WORK==== I did many things to the repo and adding ability to debug code again wwww --- diff --git a/.gitignore b/.gitignore index 1e3a0af9..70f8e216 100755 --- a/.gitignore +++ b/.gitignore @@ -33,6 +33,9 @@ pcx2vrl pcxsscut vrl2vrs vrsdump +vrldbg +ps.exe +*.upx # except foo.html which is maintained by hand. #!foo.html # Ignore objects and archives. diff --git a/mk0croll.wat b/16/mk0croll.wat similarity index 100% rename from mk0croll.wat rename to 16/mk0croll.wat diff --git a/DEBUG.16B b/DEBUG.16B deleted file mode 100755 index de535581..00000000 --- a/DEBUG.16B +++ /dev/null @@ -1,209 +0,0 @@ -Seg:0 Size:5938 Owner:0x0 -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Seg:1732 Size:256 Owner:0x7879 -0 -Seg:1832 Size:256 Owner:0x3646 -0 -Seg:1932 Size:256 Owner:0x3648 -0 -Seg:1a32 Size:256 Owner:0x364a -0 -Seg:1b32 Size:256 Owner:0x364c -0 -Seg:1c32 Size:256 Owner:0x364e -0 -Seg:1d32 Size:256 Owner:0x3650 -0 -Seg:1e32 Size:256 Owner:0x3652 -00 -Seg:1fbe Size:66 Owner:0x0 -0 -Seg:2000 Size:256 Owner:0x3654 -0 -Seg:2100 Size:256 Owner:0x3656 -0 -Seg:2200 Size:256 Owner:0x3658 -0 -Seg:2300 Size:256 Owner:0x365a -0 -Seg:2400 Size:256 Owner:0x365c -0 -Seg:2500 Size:256 Owner:0x365e -0 -Seg:2600 Size:256 Owner:0x3660 -0 -Seg:2700 Size:256 Owner:0x3662 -0 -Seg:2800 Size:256 Owner:0x3664 -0 -Seg:2900 Size:256 Owner:0x3666 -0 -Seg:2a00 Size:256 Owner:0x3668 -0 -Seg:2b00 Size:256 Owner:0x366a -0 -Seg:2c00 Size:256 Owner:0x366c -0 -Seg:2d00 Size:256 Owner:0x366e -0 -Seg:2e00 Size:256 Owner:0x3670 -0 -Seg:2f00 Size:256 Owner:0x3672 -0 -Seg:3000 Size:256 Owner:0x3674 -0 -Seg:3100 Size:256 Owner:0x3676 -0 -Seg:3200 Size:256 Owner:0x3678 -0 -Seg:3300 Size:256 Owner:0x367a -0 -Seg:3400 Size:256 Owner:0x367c -0 -Seg:3500 Size:256 Owner:0x367e -0 -Seg:3600 Size:256 Owner:0x3680 -0 -Seg:3700 Size:256 Owner:0x3682 -0 -Seg:3800 Size:256 Owner:0x3684 -0 -Seg:3900 Size:256 Owner:0x3686 -0 -Seg:3a00 Size:256 Owner:0x3688 -0 -Seg:3b00 Size:256 Owner:0x368a -0 -Seg:3c00 Size:256 Owner:0x368c -0 -Seg:3d00 Size:256 Owner:0x368e -0 -Seg:3e00 Size:256 Owner:0x3690 -0 -Seg:3f00 Size:256 Owner:0x3692 -0 -Seg:4000 Size:256 Owner:0x3694 -0 -Seg:4100 Size:256 Owner:0x3696 -0 -Seg:4200 Size:256 Owner:0x3698 -0 -Seg:4300 Size:256 Owner:0x369a -0 -Seg:4400 Size:256 Owner:0x369c -0 -Seg:4500 Size:256 Owner:0x369e -0 -Seg:4600 Size:256 Owner:0x36a0 -0 -Seg:4700 Size:256 Owner:0x36a2 -0 -Seg:4800 Size:256 Owner:0x36a4 -0 -Seg:4900 Size:256 Owner:0x36a6 -0 -Seg:4a00 Size:256 Owner:0x36a8 -0 -Seg:4b00 Size:256 Owner:0x36aa -0 -Seg:4c00 Size:256 Owner:0x36ac -0 -Seg:4d00 Size:256 Owner:0x36ae -0 -Seg:4e00 Size:256 Owner:0x36b0 -0 -Seg:4f00 Size:256 Owner:0x36b2 -0 -Seg:5000 Size:256 Owner:0x36b4 -0 -Seg:5100 Size:256 Owner:0x36b6 -0 -Seg:5200 Size:256 Owner:0x36b8 -0 -Seg:5300 Size:256 Owner:0x36ba -0 -Seg:5400 Size:256 Owner:0x36bc -0 -Seg:5500 Size:256 Owner:0x36be -0 -Seg:5600 Size:256 Owner:0x36c0 -0 -Seg:5700 Size:256 Owner:0x36c2 -0 -Seg:5800 Size:256 Owner:0x36c4 -0 -Seg:5900 Size:256 Owner:0x36c6 -0 -Seg:5a00 Size:256 Owner:0x36c8 -0 -Seg:5b00 Size:256 Owner:0x36ca -0 -Seg:5c00 Size:256 Owner:0x36cc -0 -Seg:5d00 Size:256 Owner:0x36ce -0 -Seg:5e00 Size:256 Owner:0x36d0 -0 -Seg:5f00 Size:256 Owner:0x36d2 -0 -Seg:6000 Size:256 Owner:0x36d4 -0 -Seg:6100 Size:256 Owner:0x36d6 -0 -Seg:6200 Size:256 Owner:0x36d8 -0 -Seg:6300 Size:256 Owner:0x36da -0 -Seg:6400 Size:256 Owner:0x36dc -0 -Seg:6500 Size:256 Owner:0x36de -0 -Seg:6600 Size:256 Owner:0x36e0 -0 -Seg:6700 Size:256 Owner:0x36e2 -0 -Seg:6800 Size:256 Owner:0x36e4 -0 -Seg:6900 Size:256 Owner:0x36e6 -0 -Seg:6a00 Size:256 Owner:0x36e8 -0 -Seg:6b00 Size:256 Owner:0x36ea -0 -Seg:6c00 Size:256 Owner:0x36ec -0 -Seg:6d00 Size:256 Owner:0x36ee -0 -Seg:6e00 Size:256 Owner:0x36f0 -0 -Seg:6f00 Size:256 Owner:0x36f2 -0 -Seg:7000 Size:256 Owner:0x36f4 -0 -Seg:7100 Size:256 Owner:0x36f6 -0 -Seg:7200 Size:256 Owner:0x36f8 -0 -Seg:7300 Size:256 Owner:0x36fa -0 -Seg:7400 Size:256 Owner:0x36fc -0 -Seg:7500 Size:256 Owner:0x36fe -0 -Seg:7600 Size:256 Owner:0x3700 -0 -Seg:7700 Size:256 Owner:0x3702 -0 -Seg:7800 Size:256 Owner:0x3704 -0 -Seg:7900 Size:256 Owner:0x3706 -0 -Seg:7a00 Size:256 Owner:0x3708 -0 -Seg:7b00 Size:256 Owner:0x370a -0 -Seg:7c00 Size:256 Owner:0x370c -0 -Seg:7d00 Size:273 Owner:0x7879 -0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -Seg:9ffe Size:24577 Owner:0x0 - \ No newline at end of file diff --git a/DEBUG.16W b/DEBUG.16W deleted file mode 100755 index 72f06f7a..00000000 --- a/DEBUG.16W +++ /dev/null @@ -1,209 +0,0 @@ -Seg:0 Size:7866 Owner:0x0 -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Seg:1eba Size:256 Owner:0x5ddc -0 -Seg:1fba Size:256 Owner:0x1c12 -0 -Seg:20ba Size:256 Owner:0x1c14 -0 -Seg:21e8 Size:76 Owner:0x0 -0 -Seg:2234 Size:256 Owner:0x1c16 -0 -Seg:2334 Size:256 Owner:0x1c18 -0 -Seg:2434 Size:256 Owner:0x1c1a -0 -Seg:2534 Size:256 Owner:0x1c1c -0 -Seg:2634 Size:256 Owner:0x1c1e -0 -Seg:2734 Size:256 Owner:0x1c20 -0 -Seg:2834 Size:256 Owner:0x1c22 -0 -Seg:2934 Size:256 Owner:0x1c24 -0 -Seg:2a34 Size:256 Owner:0x1c26 -0 -Seg:2b34 Size:256 Owner:0x1c28 -0 -Seg:2c34 Size:256 Owner:0x1c2a -0 -Seg:2d34 Size:256 Owner:0x1c2c -0 -Seg:2e34 Size:256 Owner:0x1c2e -0 -Seg:2f34 Size:256 Owner:0x1c30 -0 -Seg:3034 Size:256 Owner:0x1c32 -0 -Seg:3134 Size:256 Owner:0x1c34 -0 -Seg:3234 Size:256 Owner:0x1c36 -0 -Seg:3334 Size:256 Owner:0x1c38 -0 -Seg:3434 Size:256 Owner:0x1c3a -0 -Seg:3534 Size:256 Owner:0x1c3c -0 -Seg:3634 Size:256 Owner:0x1c3e -0 -Seg:3734 Size:256 Owner:0x1c40 -0 -Seg:3834 Size:256 Owner:0x1c42 -0 -Seg:3934 Size:256 Owner:0x1c44 -0 -Seg:3a34 Size:256 Owner:0x1c46 -0 -Seg:3b34 Size:256 Owner:0x1c48 -0 -Seg:3c34 Size:256 Owner:0x1c4a -0 -Seg:3d34 Size:256 Owner:0x1c4c -0 -Seg:3e34 Size:256 Owner:0x1c4e -0 -Seg:3f34 Size:256 Owner:0x1c50 -0 -Seg:4034 Size:256 Owner:0x1c52 -0 -Seg:4134 Size:256 Owner:0x1c54 -0 -Seg:4234 Size:256 Owner:0x1c56 -0 -Seg:4334 Size:256 Owner:0x1c58 -0 -Seg:4434 Size:256 Owner:0x1c5a -0 -Seg:4534 Size:256 Owner:0x1c5c -0 -Seg:4634 Size:256 Owner:0x1c5e -0 -Seg:4734 Size:256 Owner:0x1c60 -0 -Seg:4834 Size:256 Owner:0x1c62 -0 -Seg:4934 Size:256 Owner:0x1c64 -0 -Seg:4a34 Size:256 Owner:0x1c66 -0 -Seg:4b34 Size:256 Owner:0x1c68 -0 -Seg:4c34 Size:256 Owner:0x1c6a -0 -Seg:4d34 Size:256 Owner:0x1c6c -0 -Seg:4e34 Size:256 Owner:0x1c6e -0 -Seg:4f34 Size:256 Owner:0x1c70 -0 -Seg:5034 Size:256 Owner:0x1c72 -0 -Seg:5134 Size:256 Owner:0x1c74 -0 -Seg:5234 Size:256 Owner:0x1c76 -0 -Seg:5334 Size:256 Owner:0x1c78 -0 -Seg:5434 Size:256 Owner:0x1c7a -0 -Seg:5534 Size:256 Owner:0x1c7c -0 -Seg:5634 Size:256 Owner:0x1c7e -0 -Seg:5734 Size:256 Owner:0x1c80 -0 -Seg:5834 Size:256 Owner:0x1c82 -0 -Seg:5934 Size:256 Owner:0x1c84 -0 -Seg:5a34 Size:256 Owner:0x1c86 -0 -Seg:5b34 Size:256 Owner:0x1c88 -0 -Seg:5c34 Size:256 Owner:0x1c8a -0 -Seg:5d34 Size:256 Owner:0x1c8c -0 -Seg:5e34 Size:256 Owner:0x1c8e -0 -Seg:5f34 Size:256 Owner:0x1c90 -0 -Seg:6034 Size:256 Owner:0x1c92 -0 -Seg:6134 Size:256 Owner:0x1c94 -0 -Seg:6234 Size:256 Owner:0x1c96 -0 -Seg:6334 Size:256 Owner:0x1c98 -0 -Seg:6434 Size:256 Owner:0x1c9a -0 -Seg:6534 Size:256 Owner:0x1c9c -0 -Seg:6634 Size:256 Owner:0x1c9e -0 -Seg:6734 Size:256 Owner:0x1ca0 -0 -Seg:6834 Size:256 Owner:0x1ca2 -0 -Seg:6934 Size:256 Owner:0x1ca4 -0 -Seg:6a34 Size:256 Owner:0x1ca6 -0 -Seg:6b34 Size:256 Owner:0x1ca8 -0 -Seg:6c34 Size:256 Owner:0x1caa -0 -Seg:6d34 Size:256 Owner:0x1cac -0 -Seg:6e34 Size:256 Owner:0x1cae -0 -Seg:6f34 Size:256 Owner:0x1cb0 -0 -Seg:7034 Size:256 Owner:0x1cb2 -0 -Seg:7134 Size:256 Owner:0x1cb4 -0 -Seg:7234 Size:256 Owner:0x1cb6 -0 -Seg:7334 Size:256 Owner:0x1cb8 -0 -Seg:7434 Size:256 Owner:0x1cba -0 -Seg:7534 Size:256 Owner:0x1cbc -0 -Seg:7634 Size:256 Owner:0x1cbe -0 -Seg:7734 Size:256 Owner:0x1cc0 -0 -Seg:7834 Size:256 Owner:0x1cc2 -0 -Seg:7934 Size:256 Owner:0x1cc4 -0 -Seg:7a34 Size:256 Owner:0x1cc6 -0 -Seg:7b34 Size:256 Owner:0x1cc8 -0 -Seg:7c34 Size:256 Owner:0x1cca -0 -Seg:7d34 Size:256 Owner:0x1ccc -0 -Seg:7e34 Size:256 Owner:0x1cce -0 -Seg:7f34 Size:256 Owner:0x1cd0 -0 -Seg:8034 Size:256 Owner:0x1cd2 -0 -Seg:8134 Size:256 Owner:0x1cd4 -0 -Seg:8234 Size:256 Owner:0x1cd6 -0 -Seg:8334 Size:256 Owner:0x1cd8 -0 -Seg:8434 Size:273 Owner:0x5ddc -00000000000000000000000000000000000000000000000000000000000000000000000000000000 -Seg:9e1f Size:25056 Owner:0x0 - \ No newline at end of file diff --git a/EXMMTEST.16 b/EXMMTEST.16 deleted file mode 100755 index b7e81fd8..00000000 --- a/EXMMTEST.16 +++ /dev/null @@ -1,17 +0,0 @@ -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.16B b/HEAP.16B deleted file mode 100755 index 05a7a828..00000000 --- a/HEAP.16B +++ /dev/null @@ -1,25 +0,0 @@ - - == near == - - FREE block at 170C:0004 of size 528 - FREE block at 172D:0004 of size 64 -OK - end of heap - - == far == - - FREE block at 170C:0004 of size 528 - FREE block at 172D:0004 of size 64 -OK - end of heap - -Memory Type Total Used Free ----------------- -------- -------- -------- -Near 592 0 0 -Far 592 0 0 ----------------- -------- -------- -------- -HC_coreleft = 49152 -HC_farcoreleft = 1020 -HC_GetNearFreeSize = 0 -HC_GetFarFreeSize = 0 -coreleft = 1008 -farcoreleft = 1008 -stackavail = 2828 diff --git a/HEAP.16W b/HEAP.16W deleted file mode 100755 index edaf6182..00000000 --- a/HEAP.16W +++ /dev/null @@ -1,50 +0,0 @@ - - == near == - - 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 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 1526 518 1008 -Far 1152 28934 37754 ----------------- -------- -------- -------- -HC_coreleft = 1006 -HC_farcoreleft = 257604 -coreleft = 1006 -farcoreleft = 257604 -stackavail = 31498 diff --git a/MMDUMP.16B b/MMDUMP.16B deleted file mode 100755 index 2e37b343..00000000 Binary files a/MMDUMP.16B and /dev/null differ diff --git a/MMDUMP.16W b/MMDUMP.16W deleted file mode 100755 index 88de7f7c..00000000 Binary files a/MMDUMP.16W and /dev/null differ diff --git a/WBUILD.BAT b/WBUILD.BAT index 01bb9ef7..2d014318 100755 --- a/WBUILD.BAT +++ b/WBUILD.BAT @@ -1,7 +1,9 @@ @echo off -wmake -s -h clean -wmake -s -h -rem wmake -s -h comp -if exist *.err (wmake vomitchan) +set pee="-h" +rem -s" +wmake %pee clean +wmake %pee +rem wmake %pee comp +if exist *.err (wmake %pee vomitchan) rem if exist *.o (del *.o) rem if exist *.obj (del *.obj) diff --git a/data/G.PAL b/data/G.PAL index ebf07024..0ecbac33 100755 Binary files a/data/G.PAL and b/data/G.PAL differ diff --git a/dro2vgm b/dro2vgm deleted file mode 100755 index f924965c..00000000 Binary files a/dro2vgm and /dev/null differ diff --git a/make-lowercase b/make-lowercase deleted file mode 100755 index 2cd4e2a2..00000000 --- a/make-lowercase +++ /dev/null @@ -1,63 +0,0 @@ -#!/usr/bin/perl -my $top=`pwd`; chomp $top; - -sub vfat_rename($$) { - my $from,$to; - ($from,$to) = @_; - - # uppercase DOS names with the vfat driver need some forceful convincing - # to actually make them lowercase - rename($from,"$to.xxx.xx"); - rename("$to.xxx.xx",$to); -} - -sub scan($) { - my $old = `pwd`; chomp $old; - my $cur = shift @_; - my @x; - - print "scanning $cur\n"; - chdir($cur) || die; - - opendir(X,".") || return; - while (my $name = readdir(X)) { - next unless -f $name; - my $n = lc($name); - next if $n eq $name; - print "$name\n"; - rename($name,$n) || die; - vfat_rename($name,$n); - } - closedir(X); - - opendir(X,".") || return; - while (my $name = readdir(X)) { - next if $name =~ m/^\.+$/; - next if $name eq ".git"; - next if $name eq ".GIT"; - next unless -d $name; - my $n = lc($name); - next if $n eq $name; - print "$name\n"; - rename($name,$n) || die; - vfat_rename($name,$n); - } - closedir(X); - - opendir(X,".") || return; - while (my $name = readdir(X)) { - next if $name =~ m/^\.+$/; - next if $name eq ".git"; - next if $name eq ".GIT"; - next unless -d $name; - push(@x,$name); - } - closedir(X); - foreach my $name (@x) { - scan("$cur/$name"); - } - - chdir($old) || die; -} - -scan($top); diff --git a/makefile b/makefile index 2916e1a7..85561385 100755 --- a/makefile +++ b/makefile @@ -109,16 +109,15 @@ HOST2DIR=~/public_html/ #ssh port HOST2PORT=22 -# # quiet flags -# WLIBQ=-q WCLQ=-zq UPXQ=-qqq -# +# symbolic debug for wsample/wprof/wd +D_FLAGS=-d1+ + # stacksize -# STKSIZ=32768 #24576#40960 @@ -128,9 +127,9 @@ STKSIZ=32768 S_FLAGS=-sg -st -of+ -zu -zdf -zff -zgf -k$(STKSIZ) Z_FLAGS=-zk0 -zc#### -zp4 -ei#### -zm O_FLAGS=-opnr -oe=24 -oil+ -outback -ohm -T_FLAGS=-bt=dos -wx -m$(MEMORYMODE) -0 -fpi87 -d1 -fo=.$(OBJ)## -e=65536 +T_FLAGS=-bt=dos -wx -m$(MEMORYMODE) -0 -fpi87 $(D_FLAGS) -fo=.$(OBJ)## -e=65536 -DBUGFLAGS=-fm=$^&.meh -fd=$^& +DBUGFLAGS=$(D_FLAGS) -fm=$^&.meh -fd=$^& CPPFLAGS=-DTARGET_MSDOS=16 -DMSDOS=1 -DSTACKSIZE=$(STKSIZ) !ifeq DEBUGSERIAL 1 CPPFLAGS += -DDEBUGSERIAL @@ -461,6 +460,7 @@ dos_kb.$(OBJ): $(OLDMODEX16LIBDIR)/dos_kb.c $(OLDMODEX16LIBDIR)/dos_kb.h # clean: .symbolic @if not exist $(DOSLIBDIR)/buildall.sh wmake -s -h initlibs + @if not exist ps.exe wmake -s -h ps.exe @wmake -s -h initscript @for %f in ($(ALLEXEC)) do @if exist %f $(REMOVECOMMAND) %f !ifdef __LINUX__ diff --git a/ps.exe b/ps.exe index 27626767..832bb5d0 100755 Binary files a/ps.exe and b/ps.exe differ diff --git a/src/lib/16_dbg.h b/src/lib/16_dbg.h index 6983524e..37c26963 100755 --- a/src/lib/16_dbg.h +++ b/src/lib/16_dbg.h @@ -23,9 +23,9 @@ #ifndef _SRC_LIB_16_DBG #define _SRC_LIB_16_DBG -#include "src/lib/16_head.h" +//#include "src/lib/16_head.h" #include "src/lib/16_pm.h" -#include "src/lib/16_tdef.h" +//#include "src/lib/16_tdef.h" #define __DEBUG__ diff --git a/src/lib/16_head.h b/src/lib/16_head.h index 1c95d512..a92a21b5 100755 --- a/src/lib/16_head.h +++ b/src/lib/16_head.h @@ -58,7 +58,6 @@ #include "src/lib/16_t.h" #include "src/lib/16_tdef.h" #include "src/lib/nyan/kitten.h" -#include "src/lib/16_dbg.h" #define VERSION __DATE__ " " __TIME__ diff --git a/src/lib/16_sd.h b/src/lib/16_sd.h index a9711b70..f91ec991 100755 --- a/src/lib/16_sd.h +++ b/src/lib/16_sd.h @@ -24,6 +24,7 @@ #define __16_SD_H_ #include "src/lib/16_head.h" +#include "src/lib/16_tail.h" #include /* 8254 timer */ #include #include diff --git a/src/lib/16_vl.h b/src/lib/16_vl.h index b3e7de2b..1eeff032 100755 --- a/src/lib/16_vl.h +++ b/src/lib/16_vl.h @@ -26,6 +26,7 @@ #define MODEX16_H #include "src/lib/16_head.h" +#include "src/lib/16_tail.h" //#include "src/lib/planar.h" //#include "src/lib/modex16/16planar.h" #include "src/lib/16text.h" diff --git a/src/lib/doslib b/src/lib/doslib index a77a9ac9..9105fb6b 160000 --- a/src/lib/doslib +++ b/src/lib/doslib @@ -1 +1 @@ -Subproject commit a77a9ac9c133be548a6c2c54b342f8da76b1fb6f +Subproject commit 9105fb6b1a87976bbcd38521732564c87bebb9a7 diff --git a/src/lib/vgmsnd/vgmSnd.h b/src/lib/vgmsnd/vgmSnd.h index 9bfdbc30..5cadbe18 100755 --- a/src/lib/vgmsnd/vgmSnd.h +++ b/src/lib/vgmsnd/vgmSnd.h @@ -8,6 +8,7 @@ extern "C" #include "src/lib/vgmsnd/stdtype.h" #include "src/lib/16_head.h" +#include "src/lib/16_tail.h" typedef struct _vgm_file_header { diff --git a/src/util/git/git_igno.re b/src/util/git/git_igno.re index 1e3a0af9..70f8e216 100755 --- a/src/util/git/git_igno.re +++ b/src/util/git/git_igno.re @@ -33,6 +33,9 @@ pcx2vrl pcxsscut vrl2vrs vrsdump +vrldbg +ps.exe +*.upx # except foo.html which is maintained by hand. #!foo.html # Ignore objects and archives. diff --git a/src/util/shbat/WBUILD.BAT b/src/util/shbat/WBUILD.BAT index 01bb9ef7..2d014318 100755 --- a/src/util/shbat/WBUILD.BAT +++ b/src/util/shbat/WBUILD.BAT @@ -1,7 +1,9 @@ @echo off -wmake -s -h clean -wmake -s -h -rem wmake -s -h comp -if exist *.err (wmake vomitchan) +set pee="-h" +rem -s" +wmake %pee clean +wmake %pee +rem wmake %pee comp +if exist *.err (wmake %pee vomitchan) rem if exist *.o (del *.o) rem if exist *.obj (del *.obj) diff --git a/src/util/shbat/runtest.bat b/src/util/shbat/runtest.bat index cb693ce3..e39cf78c 100755 --- a/src/util/shbat/runtest.bat +++ b/src/util/shbat/runtest.bat @@ -1,2 +1,3 @@ @echo off -wsample xcroll.exe %* +wsample -b=31 xcroll.exe %* +wprof xcroll.smp diff --git a/src/util/shbat/wbuild.sh b/src/util/shbat/wbuild.sh index 00e3ed4e..b8a1c290 100755 --- a/src/util/shbat/wbuild.sh +++ b/src/util/shbat/wbuild.sh @@ -1,13 +1,14 @@ #! /bin/bash pee="-h" -wmake -s "$pee" clean -wmake -s "$pee" -wmake -s "$pee" comp +# -s" +wmake ${pee} clean +wmake ${pee} +wmake ${pee} comp #if [[ -f *.err ]] #then # echo dumping *.err #cat *.err - wmake -s "$pee" vomitchan + wmake ${pee} vomitchan #fi #if [ -f 16_head.o ] #then diff --git a/test.exe b/test.exe deleted file mode 100755 index 22805283..00000000 Binary files a/test.exe and /dev/null differ diff --git a/vrstest.upx b/vrstest.upx deleted file mode 100755 index e69de29b..00000000 diff --git a/wbuild.sh b/wbuild.sh index 00e3ed4e..b8a1c290 100755 --- a/wbuild.sh +++ b/wbuild.sh @@ -1,13 +1,14 @@ #! /bin/bash pee="-h" -wmake -s "$pee" clean -wmake -s "$pee" -wmake -s "$pee" comp +# -s" +wmake ${pee} clean +wmake ${pee} +wmake ${pee} comp #if [[ -f *.err ]] #then # echo dumping *.err #cat *.err - wmake -s "$pee" vomitchan + wmake ${pee} vomitchan #fi #if [ -f 16_head.o ] #then