]> 4ch.mooo.com Git - 16.git/commitdiff
xms Works but it is quick and dirty and reliese on older C code with _REG defs and...
authorsparky4 <sparky4@cock.li>
Thu, 29 Sep 2016 20:04:45 +0000 (15:04 -0500)
committersparky4 <sparky4@cock.li>
Thu, 29 Sep 2016 20:04:45 +0000 (15:04 -0500)
DEBUG.16W
HEAP.16W
src/exmmtest.c
src/lib/16_mm.c
src/lib/16_pm.c
src/lib/16_tail.c

index 35c40cbf30282459c99b6675c705b2030b191463..dee25a22a20a7c10f525eaed757fb55f7377ed6f 100755 (executable)
--- a/DEBUG.16W
+++ b/DEBUG.16W
-\e[0mSeg:0      Size:9844       Owner:0x0\r
+\e[0mSeg:0      Size:9855       Owner:0x0\r
 \e[41;31m++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2674       Size:256        Owner:0x18a8\r
+\e[0m\e[0mSeg:267f       Size:256        Owner:0x18a8\r
 \e[44;34m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:27f0       Size:44 Owner:0x0\r
+\e[0m\e[0mSeg:27fb       Size:44 Owner:0x0\r
 \e[41;31m++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:281c       Size:256        Owner:0x1696\r
+\e[0m\e[0mSeg:2827       Size:256        Owner:0x1696\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:291c       Size:256        Owner:0x1698\r
+\e[0m\e[0mSeg:2927       Size:256        Owner:0x1698\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2a1c       Size:256        Owner:0x169a\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2b1c       Size:256        Owner:0x169c\r
+\e[0m\e[0mSeg:2a27       Size:256        Owner:0x169a\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2c1c       Size:256        Owner:0x169e\r
+\e[0m\e[0mSeg:2b27       Size:256        Owner:0x169c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2d1c       Size:256        Owner:0x16a0\r
+\e[0m\e[0mSeg:2c27       Size:256        Owner:0x169e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2e1c       Size:256        Owner:0x16a2\r
+\e[0m\e[0mSeg:2d27       Size:256        Owner:0x16a0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2f1c       Size:256        Owner:0x16a4\r
+\e[0m\e[0mSeg:2e27       Size:256        Owner:0x16a2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:301c       Size:256        Owner:0x16a6\r
+\e[0m\e[0mSeg:2f27       Size:256        Owner:0x16a4\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:311c       Size:256        Owner:0x16a8\r
+\e[0m\e[0mSeg:3027       Size:256        Owner:0x16a6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:321c       Size:256        Owner:0x16aa\r
+\e[0m\e[0mSeg:3127       Size:256        Owner:0x16a8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:331c       Size:256        Owner:0x16ac\r
+\e[0m\e[0mSeg:3227       Size:256        Owner:0x16aa\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:341c       Size:256        Owner:0x16ae\r
+\e[0m\e[0mSeg:3327       Size:256        Owner:0x16ac\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:351c       Size:256        Owner:0x16b0\r
+\e[0m\e[0mSeg:3427       Size:256        Owner:0x16ae\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:361c       Size:256        Owner:0x16b2\r
+\e[0m\e[0mSeg:3527       Size:256        Owner:0x16b0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:371c       Size:256        Owner:0x16b4\r
+\e[0m\e[0mSeg:3627       Size:256        Owner:0x16b2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:381c       Size:256        Owner:0x16b6\r
+\e[0m\e[0mSeg:3727       Size:256        Owner:0x16b4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:391c       Size:256        Owner:0x16b8\r
+\e[0m\e[0mSeg:3827       Size:256        Owner:0x16b6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3a1c       Size:256        Owner:0x16ba\r
+\e[0m\e[0mSeg:3927       Size:256        Owner:0x16b8\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3b1c       Size:256        Owner:0x16bc\r
+\e[0m\e[0mSeg:3a27       Size:256        Owner:0x16ba\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3c1c       Size:256        Owner:0x16be\r
+\e[0m\e[0mSeg:3b27       Size:256        Owner:0x16bc\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3d1c       Size:256        Owner:0x16c0\r
+\e[0m\e[0mSeg:3c27       Size:256        Owner:0x16be\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3e1c       Size:256        Owner:0x16c2\r
+\e[0m\e[0mSeg:3d27       Size:256        Owner:0x16c0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3f1c       Size:256        Owner:0x16c4\r
+\e[0m\e[0mSeg:3e27       Size:256        Owner:0x16c2\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:401c       Size:256        Owner:0x16c6\r
+\e[0m\e[0mSeg:3f27       Size:256        Owner:0x16c4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:411c       Size:256        Owner:0x16c8\r
+\e[0m\e[0mSeg:4027       Size:256        Owner:0x16c6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:421c       Size:256        Owner:0x16ca\r
+\e[0m\e[0mSeg:4127       Size:256        Owner:0x16c8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:431c       Size:256        Owner:0x16cc\r
+\e[0m\e[0mSeg:4227       Size:256        Owner:0x16ca\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:441c       Size:256        Owner:0x16ce\r
+\e[0m\e[0mSeg:4327       Size:256        Owner:0x16cc\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:451c       Size:256        Owner:0x16d0\r
+\e[0m\e[0mSeg:4427       Size:256        Owner:0x16ce\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:461c       Size:256        Owner:0x16d2\r
+\e[0m\e[0mSeg:4527       Size:256        Owner:0x16d0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:471c       Size:256        Owner:0x16d4\r
+\e[0m\e[0mSeg:4627       Size:256        Owner:0x16d2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:481c       Size:256        Owner:0x16d6\r
+\e[0m\e[0mSeg:4727       Size:256        Owner:0x16d4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:491c       Size:256        Owner:0x16d8\r
+\e[0m\e[0mSeg:4827       Size:256        Owner:0x16d6\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4a1c       Size:256        Owner:0x16da\r
+\e[0m\e[0mSeg:4927       Size:256        Owner:0x16d8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4b1c       Size:256        Owner:0x16dc\r
+\e[0m\e[0mSeg:4a27       Size:256        Owner:0x16da\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4c1c       Size:256        Owner:0x16de\r
+\e[0m\e[0mSeg:4b27       Size:256        Owner:0x16dc\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4d1c       Size:256        Owner:0x16e0\r
+\e[0m\e[0mSeg:4c27       Size:256        Owner:0x16de\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4e1c       Size:256        Owner:0x16e2\r
+\e[0m\e[0mSeg:4d27       Size:256        Owner:0x16e0\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4f1c       Size:256        Owner:0x16e4\r
+\e[0m\e[0mSeg:4e27       Size:256        Owner:0x16e2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:501c       Size:256        Owner:0x16e6\r
+\e[0m\e[0mSeg:4f27       Size:256        Owner:0x16e4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:511c       Size:256        Owner:0x16e8\r
+\e[0m\e[0mSeg:5027       Size:256        Owner:0x16e6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:521c       Size:256        Owner:0x16ea\r
+\e[0m\e[0mSeg:5127       Size:256        Owner:0x16e8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:531c       Size:256        Owner:0x16ec\r
+\e[0m\e[0mSeg:5227       Size:256        Owner:0x16ea\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:541c       Size:256        Owner:0x16ee\r
+\e[0m\e[0mSeg:5327       Size:256        Owner:0x16ec\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:551c       Size:256        Owner:0x16f0\r
+\e[0m\e[0mSeg:5427       Size:256        Owner:0x16ee\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:561c       Size:256        Owner:0x16f2\r
+\e[0m\e[0mSeg:5527       Size:256        Owner:0x16f0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:571c       Size:256        Owner:0x16f4\r
+\e[0m\e[0mSeg:5627       Size:256        Owner:0x16f2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:581c       Size:256        Owner:0x16f6\r
+\e[0m\e[0mSeg:5727       Size:256        Owner:0x16f4\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:591c       Size:256        Owner:0x16f8\r
+\e[0m\e[0mSeg:5827       Size:256        Owner:0x16f6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5a1c       Size:256        Owner:0x16fa\r
+\e[0m\e[0mSeg:5927       Size:256        Owner:0x16f8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5b1c       Size:256        Owner:0x16fc\r
+\e[0m\e[0mSeg:5a27       Size:256        Owner:0x16fa\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5c1c       Size:256        Owner:0x16fe\r
+\e[0m\e[0mSeg:5b27       Size:256        Owner:0x16fc\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5d1c       Size:256        Owner:0x1700\r
+\e[0m\e[0mSeg:5c27       Size:256        Owner:0x16fe\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5e1c       Size:256        Owner:0x1702\r
+\e[0m\e[0mSeg:5d27       Size:256        Owner:0x1700\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5f1c       Size:256        Owner:0x1704\r
+\e[0m\e[0mSeg:5e27       Size:256        Owner:0x1702\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:601c       Size:256        Owner:0x1706\r
+\e[0m\e[0mSeg:5f27       Size:256        Owner:0x1704\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:611c       Size:256        Owner:0x1708\r
+\e[0m\e[0mSeg:6027       Size:256        Owner:0x1706\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:621c       Size:256        Owner:0x170a\r
+\e[0m\e[0mSeg:6127       Size:256        Owner:0x1708\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:631c       Size:256        Owner:0x170c\r
+\e[0m\e[0mSeg:6227       Size:256        Owner:0x170a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:641c       Size:256        Owner:0x170e\r
+\e[0m\e[0mSeg:6327       Size:256        Owner:0x170c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:651c       Size:256        Owner:0x1710\r
+\e[0m\e[0mSeg:6427       Size:256        Owner:0x170e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:661c       Size:256        Owner:0x1712\r
+\e[0m\e[0mSeg:6527       Size:256        Owner:0x1710\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:671c       Size:256        Owner:0x1714\r
+\e[0m\e[0mSeg:6627       Size:256        Owner:0x1712\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:681c       Size:256        Owner:0x1716\r
+\e[0m\e[0mSeg:6727       Size:256        Owner:0x1714\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:691c       Size:256        Owner:0x1718\r
+\e[0m\e[0mSeg:6827       Size:256        Owner:0x1716\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6a1c       Size:256        Owner:0x171a\r
+\e[0m\e[0mSeg:6927       Size:256        Owner:0x1718\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6b1c       Size:256        Owner:0x171c\r
+\e[0m\e[0mSeg:6a27       Size:256        Owner:0x171a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6c1c       Size:256        Owner:0x171e\r
+\e[0m\e[0mSeg:6b27       Size:256        Owner:0x171c\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6d1c       Size:256        Owner:0x1720\r
+\e[0m\e[0mSeg:6c27       Size:256        Owner:0x171e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6e1c       Size:256        Owner:0x1722\r
+\e[0m\e[0mSeg:6d27       Size:256        Owner:0x1720\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6f1c       Size:256        Owner:0x1724\r
+\e[0m\e[0mSeg:6e27       Size:256        Owner:0x1722\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:701c       Size:256        Owner:0x1726\r
+\e[0m\e[0mSeg:6f27       Size:256        Owner:0x1724\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:711c       Size:256        Owner:0x1728\r
+\e[0m\e[0mSeg:7027       Size:256        Owner:0x1726\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:721c       Size:256        Owner:0x172a\r
+\e[0m\e[0mSeg:7127       Size:256        Owner:0x1728\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:731c       Size:256        Owner:0x172c\r
+\e[0m\e[0mSeg:7227       Size:256        Owner:0x172a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:741c       Size:256        Owner:0x172e\r
+\e[0m\e[0mSeg:7327       Size:256        Owner:0x172c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:751c       Size:256        Owner:0x1730\r
+\e[0m\e[0mSeg:7427       Size:256        Owner:0x172e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:761c       Size:256        Owner:0x1732\r
+\e[0m\e[0mSeg:7527       Size:256        Owner:0x1730\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:771c       Size:256        Owner:0x1734\r
+\e[0m\e[0mSeg:7627       Size:256        Owner:0x1732\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:781c       Size:256        Owner:0x1736\r
+\e[0m\e[0mSeg:7727       Size:256        Owner:0x1734\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:791c       Size:256        Owner:0x1738\r
+\e[0m\e[0mSeg:7827       Size:256        Owner:0x1736\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7a1c       Size:256        Owner:0x173a\r
+\e[0m\e[0mSeg:7927       Size:256        Owner:0x1738\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7b1c       Size:256        Owner:0x173c\r
+\e[0m\e[0mSeg:7a27       Size:256        Owner:0x173a\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7c1c       Size:256        Owner:0x173e\r
+\e[0m\e[0mSeg:7b27       Size:256        Owner:0x173c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7d1c       Size:256        Owner:0x1740\r
+\e[0m\e[0mSeg:7c27       Size:256        Owner:0x173e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7e1c       Size:256        Owner:0x1742\r
+\e[0m\e[0mSeg:7d27       Size:256        Owner:0x1740\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7f1c       Size:256        Owner:0x1744\r
+\e[0m\e[0mSeg:7e27       Size:256        Owner:0x1742\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:801c       Size:256        Owner:0x1746\r
+\e[0m\e[0mSeg:7f27       Size:256        Owner:0x1744\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:811c       Size:256        Owner:0x1748\r
+\e[0m\e[0mSeg:8027       Size:256        Owner:0x1746\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:821c       Size:256        Owner:0x174a\r
+\e[0m\e[0mSeg:8127       Size:256        Owner:0x1748\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:831c       Size:256        Owner:0x174c\r
+\e[0m\e[0mSeg:8227       Size:256        Owner:0x174a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:841c       Size:256        Owner:0x174e\r
+\e[0m\e[0mSeg:8327       Size:256        Owner:0x174c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:851c       Size:256        Owner:0x1750\r
+\e[0m\e[0mSeg:8427       Size:256        Owner:0x174e\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:861c       Size:256        Owner:0x1752\r
+\e[0m\e[0mSeg:8527       Size:256        Owner:0x1750\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:871c       Size:256        Owner:0x1754\r
+\e[0m\e[0mSeg:8627       Size:256        Owner:0x1752\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:881c       Size:256        Owner:0x1756\r
+\e[0m\e[0mSeg:8727       Size:256        Owner:0x1754\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:891c       Size:256        Owner:0x1758\r
+\e[0m\e[0mSeg:8827       Size:256        Owner:0x1756\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8a1c       Size:256        Owner:0x175a\r
+\e[0m\e[0mSeg:8927       Size:256        Owner:0x1758\r
 \e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8b1c       Size:256        Owner:0x175c\r
+\e[0m\e[0mSeg:8a27       Size:256        Owner:0x175a\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:8b27       Size:256        Owner:0x175c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8c1c       Size:273        Owner:0xe400\r
+\e[0m\e[0mSeg:8c27       Size:273        Owner:0xe400\r
 \e[44;34m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:b81c       Size:18403      Owner:0x0\r
+\e[0m\e[0mSeg:b827       Size:18392      Owner:0x0\r
 \e[41;31m+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m
\ No newline at end of file
index df0e710e6998b7085c74323644bfeac58c99612e..bbcc2ad302c554863140be0526686231967a9a87 100755 (executable)
--- a/HEAP.16W
+++ b/HEAP.16W
@@ -1,35 +1,35 @@
 \r
        == default ==\r
 \r
-  USED block at 28120016 of size 66\r
-  USED block at 28120058 of size 66\r
-  FREE block at 2812009a of size 18\r
-  USED block at 281200ac of size 136\r
-  USED block at 28120134 of size 20\r
-  FREE block at 28120148 of size 7860\r
+  USED block at 281d0016 of size 66\r
+  USED block at 281d0058 of size 66\r
+  FREE block at 281d009a of size 18\r
+  USED block at 281d00ac of size 136\r
+  USED block at 281d0134 of size 20\r
+  FREE block at 281d0148 of size 7860\r
 OK - end of heap\r
 \r
        == near ==\r
 \r
-  USED block at 1811e436 of size 12\r
-  USED block at 1811e442 of size 332\r
-  USED block at 1811e58e of size 52\r
-  USED block at 1811e5c2 of size 20\r
-  USED block at 1811e5d6 of size 20\r
-  USED block at 1811e5ea of size 20\r
-  USED block at 1811e5fe of size 20\r
-  USED block at 1811e612 of size 20\r
-  USED block at 1811e626 of size 6614\r
+  USED block at 181ce436 of size 12\r
+  USED block at 181ce442 of size 332\r
+  USED block at 181ce58e of size 52\r
+  USED block at 181ce5c2 of size 20\r
+  USED block at 181ce5d6 of size 20\r
+  USED block at 181ce5ea of size 20\r
+  USED block at 181ce5fe of size 20\r
+  USED block at 181ce612 of size 20\r
+  USED block at 181ce626 of size 6614\r
 OK - end of heap\r
 \r
        == far ==\r
 \r
-  USED block at 28120016 of size 66\r
-  USED block at 28120058 of size 66\r
-  USED block at 2812009a of size 18\r
-  USED block at 281200ac of size 136\r
-  USED block at 28120134 of size 20\r
-  USED block at 28120148 of size 7860\r
+  USED block at 281d0016 of size 66\r
+  USED block at 281d0058 of size 66\r
+  USED block at 281d009a of size 18\r
+  USED block at 281d00ac of size 136\r
+  USED block at 281d0134 of size 20\r
+  USED block at 281d0148 of size 7860\r
 OK - end of heap\r
 \r
 Memory Type         Total      Used       Free\r
index 6d6e9a8566c1ae30d6ffa5b4674a2d0622e05cf1..f68d148e99bb4e1e2bff099a8cf7d50a796f985d 100755 (executable)
@@ -177,12 +177,12 @@ for(w=0;w<2;w++)
        printf("&bigb=%Fp ", &bigbuffer);\r
        //printf("&bigb=%04x", &bigbuffer);\r
        printf("\n");\r
-#endif\r
        printf("========================================\n");\r
+#endif\r
 #ifdef __WATCOMC__\r
 //this is far  printf("Total free:                     %lu\n", (dword)(GetFreeSize()));\r
-       printf("Total near free:                %lu\n", (dword)(GetNearFreeSize()));\r
-       printf("Total far free:                 %lu\n", (dword)(GetFarFreeSize()));\r
+       printf("Total near free:                %lub\n", (dword)(GetNearFreeSize()));\r
+       printf("Total far free:                 %lub\n", (dword)(GetFarFreeSize()));\r
        heapdump(&gvar);\r
        segatesuto();\r
 #endif\r
index 51b4925a8bac71f600e345d5715a851e307b8f82..282814bdd77566eff9f03cc15cb49f500f3e94cc 100755 (executable)
@@ -1616,25 +1616,24 @@ void MM_Report_(global_game_variables_t *gvar)
        printf("========================================\n");
        if(MML_CheckForEMS())
        {
-               printf("        LIMEMS\n");
-               printf("                EMM v%x.%x available\n", gvar->pm.emm.EMSVer>>4,gvar->pm.emm.EMSVer&0x0F);
-               printf("                totalEMSpages:  %u      ", gvar->pm.emm.totalEMSpages); printf("freeEMSpages:   %u\n", gvar->pm.emm.freeEMSpages);
-               printf("                EMSPageFrame:   %04x\n", gvar->pm.emm.EMSPageFrame);
+               printf("        %cLIMEMS        %u\n", 0xC9, gvar->pm.emm.EMSPresent);
+               printf("        %c%cEMM v%x.%x available\n", 0xC7, 0xC4, gvar->pm.emm.EMSVer>>4,gvar->pm.emm.EMSVer&0x0F);
+               printf("        %c%ctotalEMSpages:      %u      ", 0xC7, 0xC4, gvar->pm.emm.totalEMSpages); printf("freeEMSpages:       %u\n", gvar->pm.emm.freeEMSpages);
+               printf("        %c%cEMSPageFrame:       %04x\n", 0xD3, 0xC4, gvar->pm.emm.EMSPageFrame);
        }
        if(MML_CheckForXMS())
        {
-               printf("        XMS\n");
+               printf("        %cXMS   %u\n", 0xC9, gvar->pm.xmm.XMSPresent);
 //++++         printf("                XMS v%x.%x available\n", gvar->pm.xmm.XMSVer>>4,gvar->pm.xmm.XMSVer&0x0F);
-               printf("                XMSDriver:      %Fp\n", XMSDriver);
-               printf("                XMSHandle:      %04x\n", gvar->pm.xmm.XMSHandle);
+               printf("        %c%cXMSDriver:  %Fp\n", 0xC7, 0xC4, XMSDriver);
+               printf("        %c%cXMSHandle:  %04x\n", 0xD3, 0xC4, gvar->pm.xmm.XMSHandle);
        }
-       printf("nearheap:       %lu             ", gvar->mmi.nearheap); printf("farheap:        %lu\n", gvar->mmi.farheap);
-       if(MML_CheckForEMS()) printf("EMSmem:           %lu     ", gvar->mmi.EMSmem); if(MML_CheckForXMS()) printf("XMSmem:             %lu", gvar->mmi.XMSmem); printf("\n");
-       printf("convmem:\n"); DebugMemory_(gvar, 0);
+       printf("        %cConv. %u\n", 0xC9, gvar->pm.mm.MainPresent); DebugMemory_(gvar, 0);
        //printf("mainmem:      %lu\n", gvar->mmi.mainmem);
        //printf("Total convmem:        %lu     ", gvar->mmi.mainmem); printf("TotalFree:       %lu     ", MM_TotalFree(gvar)+gvar->mmi.EMSmem+gvar->mmi.XMSmem+gvar->mmi.XMSmem); printf("TotalUsed:   %lu\n", gvar->mmi.mainmem);
        //printf("                      UnusedMemory:   %lu\n", MM_UnusedMemory(gvar));
-
+       printf("nearheap:       %lu             ", gvar->mmi.nearheap); printf("farheap:        %lu\n", gvar->mmi.farheap);
+       if(MML_CheckForEMS()) printf("EMSmem:           %lu     ", gvar->mmi.EMSmem); if(MML_CheckForXMS()) printf("XMSmem:             %lu", gvar->mmi.XMSmem); printf("\n");
 }
 
 //==========================================================================
index 191061f0b278b5531b3896b97fd2d7c76921a6b0..c7488a2a5916fdfe91989734fcb06603813f456d 100755 (executable)
@@ -1546,14 +1546,14 @@ PM_Startup(global_game_variables_t *gvar)
                PML_StartupEMS(gvar);\r
        if (!noxms && MML_CheckForXMS())\r
                PML_StartupXMS(gvar);\r
+       if(!nomain)\r
+               PML_StartupMainMem(gvar);\r
 \r
-       if (!nomain && !gvar->pm.emm.EMSPresent)\r
+       if (!gvar->pm.mm.MainPresent && !gvar->pm.emm.EMSPresent && !gvar->pm.xmm.XMSPresent)\r
        {\r
-               printf("PM_Startup: No main or EMS\n");\r
-               exit(-5);\r
+               Quit("PM_Startup: No main or EMS\n");\r
                //return;\r
        }\r
-       PML_StartupMainMem(gvar);\r
 \r
        PM_Reset(gvar);\r
 \r
index f9f6fb569914e1972fd52b528b4786f82ca5cea2..8ebc0c35058e108e866ef7b77db4150988c70f4c 100755 (executable)
@@ -55,7 +55,7 @@ void DebugMemory_(global_game_variables_t *gvar, boolean q)
        printf("                DebugMemory_\n");\r
        printf("========================================\n");}\r
        if(q) { printf("Memory Usage\n");\r
-       printf("------------\n"); }else printf("  ");\r
+       printf("------------\n"); }else printf("        %c%c", 0xD3, 0xC4);\r
        printf("Total:  "); if(q) printf("      "); printf("%uk", gvar->mmi.mainmem/1024);\r
        if(q) printf("\n"); else printf("       ");\r
        printf("Free:   "); if(q) printf("      "); printf("%uk", MM_UnusedMemory(gvar)/1024);\r