]> 4ch.mooo.com Git - 16.git/commitdiff
revertede back but fixup xms startup
authorsparky4 <sparky4@cock.li>
Tue, 4 Oct 2016 15:01:36 +0000 (10:01 -0500)
committersparky4 <sparky4@cock.li>
Tue, 4 Oct 2016 15:01:36 +0000 (10:01 -0500)
DEBUG.16W
HEAP.16W
MMDUMP.16W
src/lib/16_head.h
src/lib/16_pm.c
src/lib/typdefst.h

index 503c7fd29370702ea2fd18ae1376004152ca04bb..72245a61ea86db245b380fe9679e1f1efe34de35 100755 (executable)
--- a/DEBUG.16W
+++ b/DEBUG.16W
-\e[0mSeg:0      Size:9874       Owner:0x0\r
-\e[41;31m++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[42;32m0\r
-\e[0m\e[0mSeg:2692       Size:256        Owner:0x18a8\r
-\e[44;34m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:280e       Size:44 Owner:0x0\r
+\e[0mSeg:0      Size:11735      Owner:0x0\r
+\e[41;31m+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[42;32m000\r
+\e[0m\e[0mSeg:2e4c       Size:36 Owner:0x0\r
 \e[41;31m+\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:283a       Size:256        Owner:0x1696\r
+\e[0m\e[0mSeg:2e70       Size:256        Owner:0x1988\r
+\e[44;34m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:2f70       Size:256        Owner:0x1776\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3070       Size:256        Owner:0x1778\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3170       Size:256        Owner:0x177a\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3270       Size:256        Owner:0x177c\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3370       Size:256        Owner:0x177e\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3470       Size:256        Owner:0x1780\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3570       Size:256        Owner:0x1782\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3670       Size:256        Owner:0x1784\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3770       Size:256        Owner:0x1786\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3870       Size:256        Owner:0x1788\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3970       Size:256        Owner:0x178a\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3a70       Size:256        Owner:0x178c\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3b70       Size:256        Owner:0x178e\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3c70       Size:256        Owner:0x1790\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3d70       Size:256        Owner:0x1792\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3e70       Size:256        Owner:0x1794\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3f70       Size:256        Owner:0x1796\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:4070       Size:256        Owner:0x1798\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:4170       Size:256        Owner:0x179a\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:4270       Size:256        Owner:0x179c\r
+\e[45;35m++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:4370       Size:256        Owner:0x179e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:293a       Size:256        Owner:0x1698\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2a3a       Size:256        Owner:0x169a\r
+\e[0m\e[0mSeg:4470       Size:256        Owner:0x17a0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2b3a       Size:256        Owner:0x169c\r
+\e[0m\e[0mSeg:4570       Size:256        Owner:0x17a2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2c3a       Size:256        Owner:0x169e\r
+\e[0m\e[0mSeg:4670       Size:256        Owner:0x17a4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2d3a       Size:256        Owner:0x16a0\r
+\e[0m\e[0mSeg:4770       Size:256        Owner:0x17a6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2e3a       Size:256        Owner:0x16a2\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:2f3a       Size:256        Owner:0x16a4\r
+\e[0m\e[0mSeg:4870       Size:256        Owner:0x17a8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:303a       Size:256        Owner:0x16a6\r
+\e[0m\e[0mSeg:4970       Size:256        Owner:0x17aa\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:313a       Size:256        Owner:0x16a8\r
+\e[0m\e[0mSeg:4a70       Size:256        Owner:0x17ac\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:323a       Size:256        Owner:0x16aa\r
+\e[0m\e[0mSeg:4b70       Size:256        Owner:0x17ae\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:333a       Size:256        Owner:0x16ac\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:343a       Size:256        Owner:0x16ae\r
+\e[0m\e[0mSeg:4c70       Size:256        Owner:0x17b0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:353a       Size:256        Owner:0x16b0\r
+\e[0m\e[0mSeg:4d70       Size:256        Owner:0x17b2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:363a       Size:256        Owner:0x16b2\r
+\e[0m\e[0mSeg:4e70       Size:256        Owner:0x17b4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:373a       Size:256        Owner:0x16b4\r
+\e[0m\e[0mSeg:4f70       Size:256        Owner:0x17b6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:383a       Size:256        Owner:0x16b6\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:393a       Size:256        Owner:0x16b8\r
+\e[0m\e[0mSeg:5070       Size:256        Owner:0x17b8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3a3a       Size:256        Owner:0x16ba\r
+\e[0m\e[0mSeg:5170       Size:256        Owner:0x17ba\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3b3a       Size:256        Owner:0x16bc\r
+\e[0m\e[0mSeg:5270       Size:256        Owner:0x17bc\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3c3a       Size:256        Owner:0x16be\r
+\e[0m\e[0mSeg:5370       Size:256        Owner:0x17be\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3d3a       Size:256        Owner:0x16c0\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3e3a       Size:256        Owner:0x16c2\r
+\e[0m\e[0mSeg:5470       Size:256        Owner:0x17c0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3f3a       Size:256        Owner:0x16c4\r
+\e[0m\e[0mSeg:5570       Size:256        Owner:0x17c2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:403a       Size:256        Owner:0x16c6\r
+\e[0m\e[0mSeg:5670       Size:256        Owner:0x17c4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:413a       Size:256        Owner:0x16c8\r
+\e[0m\e[0mSeg:5770       Size:256        Owner:0x17c6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:423a       Size:256        Owner:0x16ca\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:433a       Size:256        Owner:0x16cc\r
+\e[0m\e[0mSeg:5870       Size:256        Owner:0x17c8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:443a       Size:256        Owner:0x16ce\r
+\e[0m\e[0mSeg:5970       Size:256        Owner:0x17ca\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:453a       Size:256        Owner:0x16d0\r
+\e[0m\e[0mSeg:5a70       Size:256        Owner:0x17cc\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:463a       Size:256        Owner:0x16d2\r
+\e[0m\e[0mSeg:5b70       Size:256        Owner:0x17ce\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:473a       Size:256        Owner:0x16d4\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:483a       Size:256        Owner:0x16d6\r
+\e[0m\e[0mSeg:5c70       Size:256        Owner:0x17d0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:493a       Size:256        Owner:0x16d8\r
+\e[0m\e[0mSeg:5d70       Size:256        Owner:0x17d2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4a3a       Size:256        Owner:0x16da\r
+\e[0m\e[0mSeg:5e70       Size:256        Owner:0x17d4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4b3a       Size:256        Owner:0x16dc\r
+\e[0m\e[0mSeg:5f70       Size:256        Owner:0x17d6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4c3a       Size:256        Owner:0x16de\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4d3a       Size:256        Owner:0x16e0\r
+\e[0m\e[0mSeg:6070       Size:256        Owner:0x17d8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4e3a       Size:256        Owner:0x16e2\r
+\e[0m\e[0mSeg:6170       Size:256        Owner:0x17da\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4f3a       Size:256        Owner:0x16e4\r
+\e[0m\e[0mSeg:6270       Size:256        Owner:0x17dc\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:503a       Size:256        Owner:0x16e6\r
+\e[0m\e[0mSeg:6370       Size:256        Owner:0x17de\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:513a       Size:256        Owner:0x16e8\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:523a       Size:256        Owner:0x16ea\r
+\e[0m\e[0mSeg:6470       Size:256        Owner:0x17e0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:533a       Size:256        Owner:0x16ec\r
+\e[0m\e[0mSeg:6570       Size:256        Owner:0x17e2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:543a       Size:256        Owner:0x16ee\r
+\e[0m\e[0mSeg:6670       Size:256        Owner:0x17e4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:553a       Size:256        Owner:0x16f0\r
+\e[0m\e[0mSeg:6770       Size:256        Owner:0x17e6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:563a       Size:256        Owner:0x16f2\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:573a       Size:256        Owner:0x16f4\r
+\e[0m\e[0mSeg:6870       Size:256        Owner:0x17e8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:583a       Size:256        Owner:0x16f6\r
+\e[0m\e[0mSeg:6970       Size:256        Owner:0x17ea\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:593a       Size:256        Owner:0x16f8\r
+\e[0m\e[0mSeg:6a70       Size:256        Owner:0x17ec\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5a3a       Size:256        Owner:0x16fa\r
+\e[0m\e[0mSeg:6b70       Size:256        Owner:0x17ee\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5b3a       Size:256        Owner:0x16fc\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5c3a       Size:256        Owner:0x16fe\r
+\e[0m\e[0mSeg:6c70       Size:256        Owner:0x17f0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5d3a       Size:256        Owner:0x1700\r
+\e[0m\e[0mSeg:6d70       Size:256        Owner:0x17f2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5e3a       Size:256        Owner:0x1702\r
+\e[0m\e[0mSeg:6e70       Size:256        Owner:0x17f4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5f3a       Size:256        Owner:0x1704\r
+\e[0m\e[0mSeg:6f70       Size:256        Owner:0x17f6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:603a       Size:256        Owner:0x1706\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:613a       Size:256        Owner:0x1708\r
+\e[0m\e[0mSeg:7070       Size:256        Owner:0x17f8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:623a       Size:256        Owner:0x170a\r
+\e[0m\e[0mSeg:7170       Size:256        Owner:0x17fa\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:633a       Size:256        Owner:0x170c\r
+\e[0m\e[0mSeg:7270       Size:256        Owner:0x17fc\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:643a       Size:256        Owner:0x170e\r
+\e[0m\e[0mSeg:7370       Size:256        Owner:0x17fe\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:653a       Size:256        Owner:0x1710\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:663a       Size:256        Owner:0x1712\r
+\e[0m\e[0mSeg:7470       Size:256        Owner:0x1800\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:673a       Size:256        Owner:0x1714\r
+\e[0m\e[0mSeg:7570       Size:256        Owner:0x1802\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:683a       Size:256        Owner:0x1716\r
+\e[0m\e[0mSeg:7670       Size:256        Owner:0x1804\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:693a       Size:256        Owner:0x1718\r
+\e[0m\e[0mSeg:7770       Size:256        Owner:0x1806\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6a3a       Size:256        Owner:0x171a\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6b3a       Size:256        Owner:0x171c\r
+\e[0m\e[0mSeg:7870       Size:256        Owner:0x1808\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6c3a       Size:256        Owner:0x171e\r
+\e[0m\e[0mSeg:7970       Size:256        Owner:0x180a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6d3a       Size:256        Owner:0x1720\r
+\e[0m\e[0mSeg:7a70       Size:256        Owner:0x180c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6e3a       Size:256        Owner:0x1722\r
+\e[0m\e[0mSeg:7b70       Size:256        Owner:0x180e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6f3a       Size:256        Owner:0x1724\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:703a       Size:256        Owner:0x1726\r
+\e[0m\e[0mSeg:7c70       Size:256        Owner:0x1810\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:713a       Size:256        Owner:0x1728\r
+\e[0m\e[0mSeg:7d70       Size:256        Owner:0x1812\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:723a       Size:256        Owner:0x172a\r
+\e[0m\e[0mSeg:7e70       Size:256        Owner:0x1814\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:733a       Size:256        Owner:0x172c\r
+\e[0m\e[0mSeg:7f70       Size:256        Owner:0x1816\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:743a       Size:256        Owner:0x172e\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:753a       Size:256        Owner:0x1730\r
+\e[0m\e[0mSeg:8070       Size:256        Owner:0x1818\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:763a       Size:256        Owner:0x1732\r
+\e[0m\e[0mSeg:8170       Size:256        Owner:0x181a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:773a       Size:256        Owner:0x1734\r
+\e[0m\e[0mSeg:8270       Size:256        Owner:0x181c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:783a       Size:256        Owner:0x1736\r
+\e[0m\e[0mSeg:8370       Size:256        Owner:0x181e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:793a       Size:256        Owner:0x1738\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7a3a       Size:256        Owner:0x173a\r
+\e[0m\e[0mSeg:8470       Size:256        Owner:0x1820\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7b3a       Size:256        Owner:0x173c\r
+\e[0m\e[0mSeg:8570       Size:256        Owner:0x1822\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7c3a       Size:256        Owner:0x173e\r
+\e[0m\e[0mSeg:8670       Size:256        Owner:0x1824\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7d3a       Size:256        Owner:0x1740\r
+\e[0m\e[0mSeg:8770       Size:256        Owner:0x1826\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7e3a       Size:256        Owner:0x1742\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7f3a       Size:256        Owner:0x1744\r
+\e[0m\e[0mSeg:8870       Size:256        Owner:0x1828\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:803a       Size:256        Owner:0x1746\r
+\e[0m\e[0mSeg:8970       Size:256        Owner:0x182a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:813a       Size:256        Owner:0x1748\r
+\e[0m\e[0mSeg:8a70       Size:256        Owner:0x182c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:823a       Size:256        Owner:0x174a\r
+\e[0m\e[0mSeg:8b70       Size:256        Owner:0x182e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:833a       Size:256        Owner:0x174c\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:843a       Size:256        Owner:0x174e\r
+\e[0m\e[0mSeg:8c70       Size:256        Owner:0x1830\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:853a       Size:256        Owner:0x1750\r
+\e[0m\e[0mSeg:8d70       Size:256        Owner:0x1832\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:863a       Size:256        Owner:0x1752\r
+\e[0m\e[0mSeg:8e70       Size:256        Owner:0x1834\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:873a       Size:256        Owner:0x1754\r
+\e[0m\e[0mSeg:8f70       Size:256        Owner:0x1836\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:883a       Size:256        Owner:0x1756\r
-\e[45;35m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:893a       Size:256        Owner:0x1758\r
+\e[0m\e[0mSeg:9070       Size:256        Owner:0x1838\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8a3a       Size:256        Owner:0x175a\r
+\e[0m\e[0mSeg:9170       Size:256        Owner:0x183a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8b3a       Size:256        Owner:0x175c\r
+\e[0m\e[0mSeg:9270       Size:256        Owner:0x183c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8c3a       Size:273        Owner:0xe400\r
-\e[44;34m+++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:b83a       Size:18373      Owner:0x0\r
-\e[41;31m+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m
\ No newline at end of file
+\e[0m\e[0mSeg:9370       Size:401        Owner:0xf45a\r
+\e[44;34m++++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:be70       Size:8592       Owner:0x0\r
+\e[41;31m++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:e000       Size:8191       Owner:0x0\r
+\e[41;31m++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m
\ No newline at end of file
index 1c82fec5b7ebc430d5f860aab24a9736993b8d55..78ae75ecfa312c7eb01d7afe8978e009a6057c42 100755 (executable)
--- a/HEAP.16W
+++ b/HEAP.16W
@@ -1,47 +1,57 @@
 \r
        == default ==\r
 \r
-  USED block at 28300016 of size 66\r
-  USED block at 28300058 of size 66\r
-  FREE block at 2830009a of size 18\r
-  USED block at 283000ac of size 136\r
-  USED block at 28300134 of size 20\r
-  FREE block at 28300148 of size 7860\r
+  FREE block at 2e6e0016 of size 18\r
+  USED block at 2e6e0028 of size 136\r
+  USED block at 2e6e00b0 of size 50\r
+  USED block at 2e6e00e2 of size 50\r
+  USED block at 2e6e0114 of size 50\r
+  USED block at 2e6e0146 of size 50\r
+  USED block at 2e6e0178 of size 50\r
+  USED block at 2e6e01aa of size 50\r
+  USED block at 2e6e01dc of size 50\r
+  USED block at 2e6e020e of size 50\r
+  USED block at 2e6e0240 of size 50\r
+  USED block at 2e6e0272 of size 50\r
+  USED block at 2e6e02a4 of size 50\r
+  USED block at 2e6e02d6 of size 50\r
+  USED block at 2e6e0308 of size 50\r
+  FREE block at 2e6e033a of size 14\r
+  USED block at 2e6e0348 of size 20\r
+  FREE block at 2e6e035c of size 7328\r
 OK - end of heap\r
 \r
        == near ==\r
 \r
-  USED block at 182fe436 of size 12\r
-  USED block at 182fe442 of size 332\r
-  USED block at 182fe58e of size 52\r
-  USED block at 182fe5c2 of size 20\r
-  USED block at 182fe5d6 of size 20\r
-  USED block at 182fe5ea of size 20\r
-  USED block at 182fe5fe of size 20\r
-  USED block at 182fe612 of size 20\r
-  USED block at 182fe626 of size 6614\r
+  USED block at 1e6df4a6 of size 12\r
+  USED block at 1e6df4b2 of size 330\r
+  USED block at 1e6df5fc of size 52\r
+  USED block at 1e6df630 of size 20\r
+  USED block at 1e6df644 of size 20\r
+  USED block at 1e6df658 of size 20\r
+  USED block at 1e6df66c of size 20\r
+  USED block at 1e6df680 of size 20\r
+  USED block at 1e6df694 of size 2408\r
 OK - end of heap\r
 \r
        == far ==\r
 \r
-  USED block at 28300016 of size 66\r
-  USED block at 28300058 of size 66\r
-  USED block at 2830009a of size 18\r
-  USED block at 283000ac of size 136\r
-  USED block at 28300134 of size 20\r
-  USED block at 28300148 of size 7860\r
+  USED block at 2e6e0016 of size 18\r
+  USED block at 2e6e0028 of size 136\r
+  USED block at 2e6e00b0 of size 50\r
+  USED block at 2e6e00e2 of size 50\r
+  USED block at 2e6e0114 of size 50\r
+  USED block at 2e6e0146 of size 50\r
+  USED block at 2e6e0178 of size 50\r
+  USED block at 2e6e01aa of size 50\r
+  USED block at 2e6e01dc of size 50\r
+  USED block at 2e6e020e of size 50\r
+  USED block at 2e6e0240 of size 50\r
+  USED block at 2e6e0272 of size 50\r
+  USED block at 2e6e02a4 of size 50\r
+  USED block at 2e6e02d6 of size 50\r
+  USED block at 2e6e0308 of size 50\r
+  USED block at 2e6e033a of size 14\r
+  USED block at 2e6e0348 of size 20\r
+  USED block at 2e6e035c of size 7328\r
 OK - end of heap\r
-\r
-Memory Type         Total      Used       Free\r
-----------------  --------   --------   --------\r
-Default                   8166         288       7878\r
-Near              7110         496       6614\r
-Far               8166         0         7878\r
-----------------  --------   --------   --------\r
-coreleft = 6612\r
-farcoreleft = 30720\r
-GetFreeSize = 24128\r
-GetNearFreeSize = 6614\r
-GetFarFreeSize = 24128\r
-memavl = 6612\r
-stackavail = 31588\r
index cb01f5beec81552a1dad5e9db36e08d725416db8..91ef291ff8961ceaba195137b2182628ff044197 100755 (executable)
Binary files a/MMDUMP.16W and b/MMDUMP.16W differ
index 2d080d520a501aa07803c37c4baf746cc10729f6..aab4c0334e7a74c9e958b816d1bc5cfb4c12501d 100755 (executable)
@@ -152,7 +152,7 @@ static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */
 extern int                     profilehandle,debughandle;      //make it into game global\r
 \r
 #define __DEBUG__\r
-#define __DEBUG_PM__\r
+//#define __DEBUG_PM__\r
 //#define __DEBUG_MM__\r
 \r
 #define        nil     ((void *)0)\r
index 3b19c0ae4388ba89ec75dda3f0db750d5e06efe7..3b37ec622c904f0367714e53d4bcefb85c0c395f 100755 (executable)
@@ -356,6 +356,7 @@ PML_StartupXMS(global_game_variables_t *gvar)
 {\r
 //#define STARTUPXMSASM\r
        byte err;\r
+       #define BRACKETXMS\r
        word XMSAvail, XMSHandle;\r
 #define XMSAVI XMSAvail\r
 #define XMSHAN XMSHandle\r
@@ -383,10 +384,14 @@ PML_StartupXMS(global_game_variables_t *gvar)
 \r
 #ifdef STARTUPXMSASM\r
                mov     ah,XMS_QUERYFREE                        // Find out how much XMS is available\r
-               call    [DWORD PTR XMSDriver]\r
+               call    [DWORD PTR XMSDriver]//DWORD PTR\r
+#ifndef BRACKETXMS\r
                mov     XMSAVI,ax\r
-               cmp     bl,0xa0                         // AJR: bugfix 10/8/92\r
-               je      error1\r
+#else\r
+               mov     [XMSAVI],ax\r
+#endif\r
+               or      ax,ax                           // AJR: bugfix 10/8/92\r
+               jz      error1\r
                mov     e,3\r
 #endif\r
                jmp     End1\r
@@ -411,7 +416,7 @@ End1:
 #ifndef STARTUPXMSASM\r
        XMS_CALL(XMS_QUERYFREE);                        // Find out how much XMS is available\r
        XMSAVI = _AX;\r
-       if (_BL)                                // AJR: bugfix 10/8/92\r
+       if (!_AX)                               // AJR: bugfix 10/8/92\r
        {\r
                errorflag = true;\r
                err = _BL;\r
@@ -422,8 +427,7 @@ End1:
 \r
 #ifdef __DEBUG_PM__\r
 //++++ printf("XMSVer=%02X     ", XMSVer);\r
-       printf("XMSAvail=%u\n", (XMSAVI));\r
-       getch();\r
+       printf("XMSAvail=%u\n", XMSAVI);\r
 #endif\r
        XMSAVI &= ~(PMPageSizeKB - 1);  // Round off to nearest page size\r
        if (XMSAVI < (PMPageSizeKB * 2))        // Need at least 2 pages\r
@@ -433,16 +437,20 @@ End1:
        }\r
 #ifdef STARTUPXMSASM\r
        __asm {\r
+#ifndef BRACKETXMS\r
                mov     dx,XMSAVI\r
+#else\r
+               mov     dx,[XMSAVI]\r
+#endif\r
                mov     ah,XMS_ALLOC                            // And do the allocation\r
-               call    [DWORD PTR XMSDriver]\r
+               call    [DWORD PTR XMSDriver]//DWORD PTR\r
 #ifndef BRACKETXMS\r
                mov     XMSHAN,dx\r
 #else\r
                mov     [XMSHAN],dx\r
 #endif\r
-               cmp     ax,0                            // AJR: bugfix 10/8/92\r
-               je      error2\r
+               or      ax,ax                           // AJR: bugfix 10/8/92\r
+               jz      error2\r
                mov     e,4\r
                jmp     End2\r
 #ifdef __BORLANDC__\r
@@ -477,8 +485,8 @@ End2:
 error:\r
        if(errorflag==false)\r
        {\r
-               gvar->mmi.XMSmem = (XMSAVI) * 1024ul;\r
-               gvar->pm.xmm.XMSAvail = (word)XMSAVI;\r
+               gvar->mmi.XMSmem = (dword)(XMSAVI) * 1024;\r
+               gvar->pm.xmm.XMSAvail = XMSAVI;\r
                gvar->pm.xmm.XMSHandle = XMSHAN;\r
 //++++         gvar->pm.xmm.XMSVer = XMSVer;\r
                gvar->pm.xmm.XMSPresent = true;\r
@@ -493,10 +501,7 @@ error:
                //printf("      1=%u    2=%u    3=%u    4=%u\n", XMSHandle1, XMSHandle2, XMSHandle3, XMSHandle4);\r
                //printf("      2=%u    ", XMSHandle);\r
                //printf("      %u", gvar->pm.xmm.XMSHandle);\r
-               printf("XMSerr\n");\r
-               printf("        %u,     %lu\n", (word)XMSAVI, (dword)XMSAVI);\r
-               printf("        err=%02X        e=%u\n", err, e);\r
-               getch();\r
+               printf("err=%02X        e=%u\n", err, e);\r
 #endif\r
        }\r
        return(gvar->pm.xmm.XMSPresent);\r
index 41c6b069b08de22c56ca31ea5113e8a8c8536c5d..6c5ca4e3948ce2c6b548eaf956c7bd30afb48bf2 100755 (executable)
@@ -257,7 +257,7 @@ typedef struct
 typedef struct\r
 {\r
        boolean                 XMSPresent;\r
-       word                            XMSAvail,XMSPagesAvail,XMSHandle;//++++,XMSVer;\r
+       word                    XMSAvail,XMSPagesAvail,XMSHandle;//++++,XMSVer;\r
        dword                   XMSDriver;\r
        int                             XMSProtectPage;// = -1;\r
 } pm_xmmi_t;\r