]> 4ch.mooo.com Git - 16.git/commitdiff
VRSTEST.EXE NOW USES PAGE MANAGER! wwww
authorsparky4 <sparky4@cock.li>
Tue, 4 Oct 2016 17:20:48 +0000 (12:20 -0500)
committersparky4 <sparky4@cock.li>
Tue, 4 Oct 2016 17:20:48 +0000 (12:20 -0500)
DEBUG.16W
HEAP.16W
src/lib/16_mm.c
src/lib/16_pm.c
src/vrstest.c

index 72245a61ea86db245b380fe9679e1f1efe34de35..1b6087e13fcfa7a1a89aaa8c2f900718d2fcf683 100755 (executable)
--- a/DEBUG.16W
+++ b/DEBUG.16W
-\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:2e70       Size:256        Owner:0x1988\r
+\e[0mSeg:0      Size:11718      Owner:0x0\r
+\e[41;31m+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[42;32m00\r
+\e[0m\e[0mSeg:2e3b       Size:36 Owner:0x0\r
+\e[41;31m++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:2e5f       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[0m\e[0mSeg:2f5f       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[0m\e[0mSeg:305f       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[0m\e[0mSeg:315f       Size:256        Owner:0x177a\r
+\e[45;35m+++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:325f       Size:256        Owner:0x177c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3270       Size:256        Owner:0x177c\r
+\e[0m\e[0mSeg:335f       Size:256        Owner:0x177e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3370       Size:256        Owner:0x177e\r
+\e[0m\e[0mSeg:345f       Size:256        Owner:0x1780\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3470       Size:256        Owner:0x1780\r
+\e[0m\e[0mSeg:355f       Size:256        Owner:0x1782\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3570       Size:256        Owner:0x1782\r
+\e[0m\e[0mSeg:365f       Size:256        Owner:0x1784\r
+\e[45;35m+++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:375f       Size:256        Owner:0x1786\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3670       Size:256        Owner:0x1784\r
+\e[0m\e[0mSeg:385f       Size:256        Owner:0x1788\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3770       Size:256        Owner:0x1786\r
+\e[0m\e[0mSeg:395f       Size:256        Owner:0x178a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3870       Size:256        Owner:0x1788\r
+\e[0m\e[0mSeg:3a5f       Size:256        Owner:0x178c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3970       Size:256        Owner:0x178a\r
+\e[0m\e[0mSeg:3b5f       Size:256        Owner:0x178e\r
+\e[45;35m+++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:3c5f       Size:256        Owner:0x1790\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3a70       Size:256        Owner:0x178c\r
+\e[0m\e[0mSeg:3d5f       Size:256        Owner:0x1792\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3b70       Size:256        Owner:0x178e\r
+\e[0m\e[0mSeg:3e5f       Size:256        Owner:0x1794\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3c70       Size:256        Owner:0x1790\r
+\e[0m\e[0mSeg:3f5f       Size:256        Owner:0x1796\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3d70       Size:256        Owner:0x1792\r
+\e[0m\e[0mSeg:405f       Size:256        Owner:0x1798\r
+\e[45;35m+++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:415f       Size:256        Owner:0x179a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3e70       Size:256        Owner:0x1794\r
+\e[0m\e[0mSeg:425f       Size:256        Owner:0x179c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:3f70       Size:256        Owner:0x1796\r
+\e[0m\e[0mSeg:435f       Size:256        Owner:0x179e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4070       Size:256        Owner:0x1798\r
+\e[0m\e[0mSeg:445f       Size:256        Owner:0x17a0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4170       Size:256        Owner:0x179a\r
+\e[0m\e[0mSeg:455f       Size:256        Owner:0x17a2\r
+\e[45;35m+++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:465f       Size:256        Owner:0x17a4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4270       Size:256        Owner:0x179c\r
+\e[0m\e[0mSeg:475f       Size:256        Owner:0x17a6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4370       Size:256        Owner:0x179e\r
+\e[0m\e[0mSeg:485f       Size:256        Owner:0x17a8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4470       Size:256        Owner:0x17a0\r
+\e[0m\e[0mSeg:495f       Size:256        Owner:0x17aa\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4570       Size:256        Owner:0x17a2\r
+\e[0m\e[0mSeg:4a5f       Size:256        Owner:0x17ac\r
+\e[45;35m+++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:4b5f       Size:256        Owner:0x17ae\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4670       Size:256        Owner:0x17a4\r
+\e[0m\e[0mSeg:4c5f       Size:256        Owner:0x17b0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4770       Size:256        Owner:0x17a6\r
+\e[0m\e[0mSeg:4d5f       Size:256        Owner:0x17b2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4870       Size:256        Owner:0x17a8\r
+\e[0m\e[0mSeg:4e5f       Size:256        Owner:0x17b4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4970       Size:256        Owner:0x17aa\r
+\e[0m\e[0mSeg:4f5f       Size:256        Owner:0x17b6\r
+\e[45;35m+++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:505f       Size:256        Owner:0x17b8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4a70       Size:256        Owner:0x17ac\r
+\e[0m\e[0mSeg:515f       Size:256        Owner:0x17ba\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4b70       Size:256        Owner:0x17ae\r
+\e[0m\e[0mSeg:525f       Size:256        Owner:0x17bc\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4c70       Size:256        Owner:0x17b0\r
+\e[0m\e[0mSeg:535f       Size:256        Owner:0x17be\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4d70       Size:256        Owner:0x17b2\r
+\e[0m\e[0mSeg:545f       Size:256        Owner:0x17c0\r
+\e[45;35m+++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:555f       Size:256        Owner:0x17c2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4e70       Size:256        Owner:0x17b4\r
+\e[0m\e[0mSeg:565f       Size:256        Owner:0x17c4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:4f70       Size:256        Owner:0x17b6\r
+\e[0m\e[0mSeg:575f       Size:256        Owner:0x17c6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5070       Size:256        Owner:0x17b8\r
+\e[0m\e[0mSeg:585f       Size:256        Owner:0x17c8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5170       Size:256        Owner:0x17ba\r
+\e[0m\e[0mSeg:595f       Size:256        Owner:0x17ca\r
+\e[45;35m+++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:5a5f       Size:256        Owner:0x17cc\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5270       Size:256        Owner:0x17bc\r
+\e[0m\e[0mSeg:5b5f       Size:256        Owner:0x17ce\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5370       Size:256        Owner:0x17be\r
+\e[0m\e[0mSeg:5c5f       Size:256        Owner:0x17d0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5470       Size:256        Owner:0x17c0\r
+\e[0m\e[0mSeg:5d5f       Size:256        Owner:0x17d2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5570       Size:256        Owner:0x17c2\r
+\e[0m\e[0mSeg:5e5f       Size:256        Owner:0x17d4\r
+\e[45;35m+++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:5f5f       Size:256        Owner:0x17d6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5670       Size:256        Owner:0x17c4\r
+\e[0m\e[0mSeg:605f       Size:256        Owner:0x17d8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5770       Size:256        Owner:0x17c6\r
+\e[0m\e[0mSeg:615f       Size:256        Owner:0x17da\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5870       Size:256        Owner:0x17c8\r
+\e[0m\e[0mSeg:625f       Size:256        Owner:0x17dc\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5970       Size:256        Owner:0x17ca\r
+\e[0m\e[0mSeg:635f       Size:256        Owner:0x17de\r
+\e[45;35m+++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:645f       Size:256        Owner:0x17e0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5a70       Size:256        Owner:0x17cc\r
+\e[0m\e[0mSeg:655f       Size:256        Owner:0x17e2\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5b70       Size:256        Owner:0x17ce\r
+\e[0m\e[0mSeg:665f       Size:256        Owner:0x17e4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5c70       Size:256        Owner:0x17d0\r
+\e[0m\e[0mSeg:675f       Size:256        Owner:0x17e6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5d70       Size:256        Owner:0x17d2\r
+\e[0m\e[0mSeg:685f       Size:256        Owner:0x17e8\r
+\e[45;35m+++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:695f       Size:256        Owner:0x17ea\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5e70       Size:256        Owner:0x17d4\r
+\e[0m\e[0mSeg:6a5f       Size:256        Owner:0x17ec\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:5f70       Size:256        Owner:0x17d6\r
+\e[0m\e[0mSeg:6b5f       Size:256        Owner:0x17ee\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6070       Size:256        Owner:0x17d8\r
+\e[0m\e[0mSeg:6c5f       Size:256        Owner:0x17f0\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6170       Size:256        Owner:0x17da\r
+\e[0m\e[0mSeg:6d5f       Size:256        Owner:0x17f2\r
+\e[45;35m+++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:6e5f       Size:256        Owner:0x17f4\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6270       Size:256        Owner:0x17dc\r
+\e[0m\e[0mSeg:6f5f       Size:256        Owner:0x17f6\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6370       Size:256        Owner:0x17de\r
+\e[0m\e[0mSeg:705f       Size:256        Owner:0x17f8\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6470       Size:256        Owner:0x17e0\r
+\e[0m\e[0mSeg:715f       Size:256        Owner:0x17fa\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6570       Size:256        Owner:0x17e2\r
+\e[0m\e[0mSeg:725f       Size:256        Owner:0x17fc\r
+\e[45;35m+++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:735f       Size:256        Owner:0x17fe\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6670       Size:256        Owner:0x17e4\r
+\e[0m\e[0mSeg:745f       Size:256        Owner:0x1800\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6770       Size:256        Owner:0x17e6\r
+\e[0m\e[0mSeg:755f       Size:256        Owner:0x1802\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6870       Size:256        Owner:0x17e8\r
+\e[0m\e[0mSeg:765f       Size:256        Owner:0x1804\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6970       Size:256        Owner:0x17ea\r
+\e[0m\e[0mSeg:775f       Size:256        Owner:0x1806\r
+\e[45;35m+++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:785f       Size:256        Owner:0x1808\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6a70       Size:256        Owner:0x17ec\r
+\e[0m\e[0mSeg:795f       Size:256        Owner:0x180a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6b70       Size:256        Owner:0x17ee\r
+\e[0m\e[0mSeg:7a5f       Size:256        Owner:0x180c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6c70       Size:256        Owner:0x17f0\r
+\e[0m\e[0mSeg:7b5f       Size:256        Owner:0x180e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6d70       Size:256        Owner:0x17f2\r
+\e[0m\e[0mSeg:7c5f       Size:256        Owner:0x1810\r
+\e[45;35m+++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:7d5f       Size:256        Owner:0x1812\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6e70       Size:256        Owner:0x17f4\r
+\e[0m\e[0mSeg:7e5f       Size:256        Owner:0x1814\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:6f70       Size:256        Owner:0x17f6\r
+\e[0m\e[0mSeg:7f5f       Size:256        Owner:0x1816\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7070       Size:256        Owner:0x17f8\r
+\e[0m\e[0mSeg:805f       Size:256        Owner:0x1818\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7170       Size:256        Owner:0x17fa\r
+\e[0m\e[0mSeg:815f       Size:256        Owner:0x181a\r
+\e[45;35m+++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:825f       Size:256        Owner:0x181c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7270       Size:256        Owner:0x17fc\r
+\e[0m\e[0mSeg:835f       Size:256        Owner:0x181e\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7370       Size:256        Owner:0x17fe\r
+\e[0m\e[0mSeg:845f       Size:256        Owner:0x1820\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7470       Size:256        Owner:0x1800\r
+\e[0m\e[0mSeg:855f       Size:256        Owner:0x1822\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7570       Size:256        Owner:0x1802\r
+\e[0m\e[0mSeg:865f       Size:256        Owner:0x1824\r
+\e[45;35m+++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:875f       Size:256        Owner:0x1826\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7670       Size:256        Owner:0x1804\r
+\e[0m\e[0mSeg:885f       Size:256        Owner:0x1828\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7770       Size:256        Owner:0x1806\r
+\e[0m\e[0mSeg:895f       Size:256        Owner:0x182a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7870       Size:256        Owner:0x1808\r
+\e[0m\e[0mSeg:8a5f       Size:256        Owner:0x182c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7970       Size:256        Owner:0x180a\r
+\e[0m\e[0mSeg:8b5f       Size:256        Owner:0x182e\r
+\e[45;35m+++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:8c5f       Size:256        Owner:0x1830\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7a70       Size:256        Owner:0x180c\r
+\e[0m\e[0mSeg:8d5f       Size:256        Owner:0x1832\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7b70       Size:256        Owner:0x180e\r
+\e[0m\e[0mSeg:8e5f       Size:256        Owner:0x1834\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7c70       Size:256        Owner:0x1810\r
+\e[0m\e[0mSeg:8f5f       Size:256        Owner:0x1836\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7d70       Size:256        Owner:0x1812\r
+\e[0m\e[0mSeg:905f       Size:256        Owner:0x1838\r
+\e[45;35m+++++\e[0m\e[42;32m\r
+\e[0m\e[0mSeg:915f       Size:256        Owner:0x183a\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7e70       Size:256        Owner:0x1814\r
+\e[0m\e[0mSeg:925f       Size:256        Owner:0x183c\r
 \e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:7f70       Size:256        Owner:0x1816\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8070       Size:256        Owner:0x1818\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8170       Size:256        Owner:0x181a\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8270       Size:256        Owner:0x181c\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8370       Size:256        Owner:0x181e\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8470       Size:256        Owner:0x1820\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8570       Size:256        Owner:0x1822\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8670       Size:256        Owner:0x1824\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8770       Size:256        Owner:0x1826\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8870       Size:256        Owner:0x1828\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8970       Size:256        Owner:0x182a\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8a70       Size:256        Owner:0x182c\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8b70       Size:256        Owner:0x182e\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8c70       Size:256        Owner:0x1830\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8d70       Size:256        Owner:0x1832\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8e70       Size:256        Owner:0x1834\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:8f70       Size:256        Owner:0x1836\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:9070       Size:256        Owner:0x1838\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:9170       Size:256        Owner:0x183a\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:9270       Size:256        Owner:0x183c\r
-\e[45;35m++++\e[0m\e[42;32m\r
-\e[0m\e[0mSeg:9370       Size:401        Owner:0xf45a\r
+\e[0m\e[0mSeg:935f       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
+\e[0m\e[0mSeg:be5f       Size:16800      Owner:0x0\r
+\e[41;31m+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m
\ No newline at end of file
index 78ae75ecfa312c7eb01d7afe8978e009a6057c42..f4d0768fe92eb88aa2f7ba889625495ab81b64f4 100755 (executable)
--- a/HEAP.16W
+++ b/HEAP.16W
@@ -1,57 +1,71 @@
 \r
        == default ==\r
 \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
+  FREE block at 2e5d0016 of size 18\r
+  USED block at 2e5d0028 of size 50\r
+  USED block at 2e5d005a of size 50\r
+  USED block at 2e5d008c of size 50\r
+  USED block at 2e5d00be of size 50\r
+  USED block at 2e5d00f0 of size 50\r
+  USED block at 2e5d0122 of size 50\r
+  USED block at 2e5d0154 of size 50\r
+  USED block at 2e5d0186 of size 50\r
+  USED block at 2e5d01b8 of size 50\r
+  USED block at 2e5d01ea of size 50\r
+  USED block at 2e5d021c of size 50\r
+  USED block at 2e5d024e of size 50\r
+  USED block at 2e5d0280 of size 50\r
+  FREE block at 2e5d02b2 of size 14\r
+  USED block at 2e5d02c0 of size 20\r
+  USED block at 2e5d02d4 of size 136\r
+  FREE block at 2e5d035c of size 7328\r
 OK - end of heap\r
 \r
        == near ==\r
 \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
+  USED block at 1e5cf4a6 of size 12\r
+  USED block at 1e5cf4b2 of size 330\r
+  USED block at 1e5cf5fc of size 52\r
+  USED block at 1e5cf630 of size 20\r
+  USED block at 1e5cf644 of size 20\r
+  USED block at 1e5cf658 of size 20\r
+  USED block at 1e5cf66c of size 20\r
+  USED block at 1e5cf680 of size 20\r
+  USED block at 1e5cf694 of size 2408\r
 OK - end of heap\r
 \r
        == far ==\r
 \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
+  USED block at 2e5d0016 of size 18\r
+  USED block at 2e5d0028 of size 50\r
+  USED block at 2e5d005a of size 50\r
+  USED block at 2e5d008c of size 50\r
+  USED block at 2e5d00be of size 50\r
+  USED block at 2e5d00f0 of size 50\r
+  USED block at 2e5d0122 of size 50\r
+  USED block at 2e5d0154 of size 50\r
+  USED block at 2e5d0186 of size 50\r
+  USED block at 2e5d01b8 of size 50\r
+  USED block at 2e5d01ea of size 50\r
+  USED block at 2e5d021c of size 50\r
+  USED block at 2e5d024e of size 50\r
+  USED block at 2e5d0280 of size 50\r
+  USED block at 2e5d02b2 of size 14\r
+  USED block at 2e5d02c0 of size 20\r
+  USED block at 2e5d02d4 of size 136\r
+  USED block at 2e5d035c of size 7328\r
 OK - end of heap\r
+\r
+Memory Type         Total      Used       Free\r
+----------------  --------   --------   --------\r
+Default                   8166         806       7360\r
+Near              2902         494       2408\r
+Far               8166         806       7360\r
+----------------  --------   --------   --------\r
+coreleft = 2406\r
+farcoreleft = 1400\r
+GetFreeSize = 64548\r
+GetNearFreeSize = 2408\r
+GetFarFreeSize = 64548\r
+memavl = 2406\r
+stackavail = 31519\r
index 7402bf2ad7e4ed91dd8fcc3c1480dc33cb4c6226..9a4ae187fc48f161fc83a251b52be2c8f61c0a66 100755 (executable)
@@ -940,8 +940,10 @@ void MM_Shutdown(global_game_variables_t *gvar)
 #ifdef __DEBUG__
        if(!dbg_debugpm) {
 #endif
+#ifndef __16_PM__
        if(MML_CheckForEMS()){ MML_ShutdownEMS(gvar); }//printf("               EMS freed\n"); }
        if(MML_CheckForXMS()){ MML_ShutdownXMS(gvar); }//printf("               XMS freed\n"); }
+#endif
 #ifdef __DEBUG__
        }
 #endif
index 3b37ec622c904f0367714e53d4bcefb85c0c395f..9cbed569789fe81f98190ab2eb152af924206064 100755 (executable)
@@ -354,17 +354,15 @@ PML_ShutdownEMS(global_game_variables_t *gvar)
 boolean\r
 PML_StartupXMS(global_game_variables_t *gvar)\r
 {\r
+//TODO: translate the _REG into working assembly\r
 //#define STARTUPXMSASM\r
        byte err;\r
-       #define BRACKETXMS\r
        word XMSAvail, XMSHandle;\r
-#define XMSAVI XMSAvail\r
-#define XMSHAN XMSHandle\r
 //++++ word XMSVer;\r
        boolean errorflag=false;\r
        word e=0;\r
        gvar->pm.xmm.XMSPresent = false;                                        // Assume failure\r
-       XMSAVI = gvar->mmi.XMSmem = 0;\r
+       XMSAvail = gvar->mmi.XMSmem = 0;\r
 \r
        __asm {\r
                mov     ax,0x4300\r
@@ -385,11 +383,7 @@ PML_StartupXMS(global_game_variables_t *gvar)
 #ifdef STARTUPXMSASM\r
                mov     ah,XMS_QUERYFREE                        // Find out how much XMS is available\r
                call    [DWORD PTR XMSDriver]//DWORD PTR\r
-#ifndef BRACKETXMS\r
-               mov     XMSAVI,ax\r
-#else\r
-               mov     [XMSAVI],ax\r
-#endif\r
+               mov     XMSAvail,ax\r
                or      ax,ax                           // AJR: bugfix 10/8/92\r
                jz      error1\r
                mov     e,3\r
@@ -415,7 +409,7 @@ End1:
        if(errorflag==true) goto error;\r
 #ifndef STARTUPXMSASM\r
        XMS_CALL(XMS_QUERYFREE);                        // Find out how much XMS is available\r
-       XMSAVI = _AX;\r
+       XMSAvail = _AX;\r
        if (!_AX)                               // AJR: bugfix 10/8/92\r
        {\r
                errorflag = true;\r
@@ -427,28 +421,20 @@ End1:
 \r
 #ifdef __DEBUG_PM__\r
 //++++ printf("XMSVer=%02X     ", XMSVer);\r
-       printf("XMSAvail=%u\n", XMSAVI);\r
+       printf("XMSAvail=%u\n", XMSAvail);\r
 #endif\r
-       XMSAVI &= ~(PMPageSizeKB - 1);  // Round off to nearest page size\r
-       if (XMSAVI < (PMPageSizeKB * 2))        // Need at least 2 pages\r
+       XMSAvail &= ~(PMPageSizeKB - 1);        // Round off to nearest page size\r
+       if (XMSAvail < (PMPageSizeKB * 2))      // Need at least 2 pages\r
        {\r
                errorflag=true;\r
                goto error;\r
        }\r
 #ifdef STARTUPXMSASM\r
        __asm {\r
-#ifndef BRACKETXMS\r
-               mov     dx,XMSAVI\r
-#else\r
-               mov     dx,[XMSAVI]\r
-#endif\r
+               mov     dx,XMSAvail\r
                mov     ah,XMS_ALLOC                            // And do the allocation\r
                call    [DWORD PTR XMSDriver]//DWORD PTR\r
-#ifndef BRACKETXMS\r
-               mov     XMSHAN,dx\r
-#else\r
-               mov     [XMSHAN],dx\r
-#endif\r
+               mov     XMSHandle,dx\r
                or      ax,ax                           // AJR: bugfix 10/8/92\r
                jz      error2\r
                mov     e,4\r
@@ -471,9 +457,9 @@ End2:
        }\r
 #endif\r
 #else\r
-       _DX = XMSAVI;\r
+       _DX = XMSAvail;\r
        XMS_CALL(XMS_ALLOC);                            // And do the allocation\r
-       XMSHAN = _DX;\r
+       XMSHandle = _DX;\r
        if (!_AX)                               // AJR: bugfix 10/8/92\r
        {\r
                errorflag=true;\r
@@ -485,13 +471,13 @@ End2:
 error:\r
        if(errorflag==false)\r
        {\r
-               gvar->mmi.XMSmem = (dword)(XMSAVI) * 1024;\r
-               gvar->pm.xmm.XMSAvail = XMSAVI;\r
-               gvar->pm.xmm.XMSHandle = XMSHAN;\r
+               gvar->mmi.XMSmem = (dword)(XMSAvail) * 1024;\r
+               gvar->pm.xmm.XMSAvail = XMSAvail;\r
+               gvar->pm.xmm.XMSHandle = XMSHandle;\r
 //++++         gvar->pm.xmm.XMSVer = XMSVer;\r
                gvar->pm.xmm.XMSPresent = true;\r
 #ifdef __DEBUG_PM__\r
-               printf("        XMSmem=%lu      XMSAvail=%u\n", gvar->mmi.XMSmem, XMSAVI);\r
+               printf("        XMSmem=%lu      XMSAvail=%u\n", gvar->mmi.XMSmem, XMSAvail);\r
 #endif\r
        }\r
        else\r
@@ -501,7 +487,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("err=%02X        e=%u\n", err, e);\r
+               printf("        err=%02X        e=%u\n", err, e);\r
 #endif\r
        }\r
        return(gvar->pm.xmm.XMSPresent);\r
@@ -1565,7 +1551,7 @@ PM_Shutdown(global_game_variables_t *gvar)
        if (!gvar->pm.PMStarted)\r
                return;\r
 \r
-       PML_ClosePageFile(gvar);\r
+       //PML_ClosePageFile(gvar);\r
 \r
        PML_ShutdownMainMem(gvar);\r
 }\r
index 5dd2ffef6737938e77bd3f1b79781aaa6e0316e1..ccf1e81004427656846905d1cca42da549bb2917 100755 (executable)
@@ -50,6 +50,9 @@ void main() {
        struct vrl_container *vrl;\r
        word w=0;\r
 \r
+       gvar.mm.mmstarted=0;\r
+       dbg_debugpm=1;\r
+\r
        // DOSLIB: check our environment\r
        probe_dos();\r
 \r
@@ -73,7 +76,6 @@ void main() {
 \r
        //gvar.video.page[0]=modexDefaultPage(&gvar.video.page[0]);\r
 \r
-       gvar.mm.mmstarted=0;\r
        MM_Startup(&gvar);\r
        PM_Startup(&gvar);\r
        PM_UnlockMainMem(&gvar);\r
@@ -141,7 +143,7 @@ void main() {
        t2 = (*clockw-start)/18.2;\r
 \r
        for (i = 0; i < 5; i++){\r
-       spri.delay = 1; animate_spri(&spri); spri.x += 20; sleep(1); }\r
+       spri.delay = 1; animate_spri(&spri); spri.x += 20; /*sleep(1);*/ }\r
 \r
        while(!kbhit())\r
        {\r
@@ -158,6 +160,7 @@ void main() {
        VGAmodeX(0, 1, &gvar);\r
        MM_ShowMemory(&gvar);\r
        MM_DumpData(&gvar);\r
+       MM_Report_(&gvar);\r
        free(spri.sprite_vrl_cont);\r
        MM_FreePtr(&bigbuffer, &gvar);\r
        //MM_FreePtr(&((void __based(sega)*)spri.spritesheet->buffer), &mm);\r
@@ -171,8 +174,8 @@ void main() {
        printf("version %s\n", VERSION);\r
        printf("t1: %f\n", t1);\r
        printf("t2: %f\n", t2);\r
-       printf("gvar.video.page[0].width: %u\n", gvar.video.page[0].width);\r
-       printf("gvar.video.page[0].height: %u\n", gvar.video.page[0].height);\r
+//0000 printf("gvar.video.page[0].width: %u\n", gvar.video.page[0].width);\r
+//0000 printf("gvar.video.page[0].height: %u\n", gvar.video.page[0].height);\r
        printf("Num %d", num_of_vrl);\r
        if(baka) printf("\nyay!\n");\r
        else printf("\npoo!\n");\r