From: sparky4 Date: Wed, 22 Feb 2017 17:28:54 +0000 (-0600) Subject: wwww what did i change? X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=674818e0edce700207ec26f72fff3c0584a25bea;p=16.git wwww what did i change? --- diff --git a/BCEXMM.L16 b/BCEXMM.L16 deleted file mode 100755 index dafccc22..00000000 --- a/BCEXMM.L16 +++ /dev/null @@ -1,67 +0,0 @@ -farcoreleft() 524272 -(farcoreleft()+32)-_FCORELEFT 0 - load -contents of the buffer -[ -öëŒ^üÇFúbŒ^øÇFös¸hPšj‹ƒÄ¸hPšc0ƒÄ¸hPšV0ƒÄ¸hP¸ -] -======================================== - DebugMemory_ -======================================== -Memory Usage ------------- -Total: 1075k -Free: 667k -With purge: 1067k ------------- - -yay! -press any key to continue! - read -contents of the buffer -[ -öëŒ^üÇFúbŒ^øÇFös¸hPšj‹ƒÄ¸hPšc0ƒÄ¸hPšV0ƒÄ¸hP¸ -] -======================================== - DebugMemory_ -======================================== -Memory Usage ------------- -Total: 1075k -Free: 667k -With purge: 1067k ------------- - -yay! -press any key to continue! -======================================== - DebugMemory_ -======================================== -Memory Usage ------------- -Total: 1075k -Free: 667k -With purge: 1067k ------------- -MMDUMP.16 created. -======================================== - MM_Report_ -======================================== - ÉLIMEMS 1 - ÇÄEMM v4.0 available - ÇÄtotalEMSpages: 4032 freeEMSpages: 3939 - ÇÄEMSPageFrame: e000 - ÓÄEMSmem: 64536576 - ÉXMS 1 - ÇÄXMS v3.0 available - ÇÄXMSDriver: C83F:0010 - ÇÄXMSHandle: 0800 - ÓÄXMSmem: 2097152 - ÉConv. 1 - ÓÄTotal: 1075k Free: 667k With purge:1067k -nearheap: 576996 farheap: 524260 -======================================== -near= 12FF:0004 far= 1FFF:0004 -&near= 0A90:2CC3 &far= 0A90:2CBF -Project 16 exmmtest.exe. This is just a test file! -version Feb 21 2017 14:02:19 diff --git a/DEBUG.16B b/DEBUG.16B deleted file mode 100755 index f8212dde..00000000 --- a/DEBUG.16B +++ /dev/null @@ -1,210 +0,0 @@ -Seg:0 Size:4853 Owner:0x0 -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++0 -Seg:12f5 Size:256 Owner:0x2d37 -++++ -Seg:13f5 Size:256 Owner:0x2b3a -+++++ -Seg:14f5 Size:256 Owner:0x2b3c -++++ -Seg:15f5 Size:256 Owner:0x2b3e -++++ -Seg:16f5 Size:256 Owner:0x2b40 -++++ -Seg:17f5 Size:256 Owner:0x2b42 -++++ -Seg:18f5 Size:256 Owner:0x2b44 -+++++ -Seg:19f5 Size:256 Owner:0x2b46 -++++ -Seg:1af5 Size:256 Owner:0x2b48 -++++ -Seg:1bf5 Size:256 Owner:0x2b4a -++++ -Seg:1cf5 Size:256 Owner:0x2b4c -++++ -Seg:1df5 Size:256 Owner:0x2b4e -+++++ -Seg:1fde Size:34 Owner:0x0 -++ -Seg:2000 Size:256 Owner:0x2b50 -++++ -Seg:2100 Size:256 Owner:0x2b52 -++++ -Seg:2200 Size:256 Owner:0x2b54 -++++ -Seg:2300 Size:256 Owner:0x2b56 -++++ -Seg:2400 Size:256 Owner:0x2b58 -++++ -Seg:2500 Size:256 Owner:0x2b5a -++++ -Seg:2600 Size:256 Owner:0x2b5c -++++ -Seg:2700 Size:256 Owner:0x2b5e -++++ -Seg:2800 Size:256 Owner:0x2b60 -++++ -Seg:2900 Size:256 Owner:0x2b62 -++++ -Seg:2a00 Size:256 Owner:0x2b64 -++++ -Seg:2b00 Size:256 Owner:0x2b66 -++++ -Seg:2c00 Size:256 Owner:0x2b68 -++++ -Seg:2d00 Size:256 Owner:0x2b6a -++++ -Seg:2e00 Size:256 Owner:0x2b6c -++++ -Seg:2f00 Size:256 Owner:0x2b6e -++++ -Seg:3000 Size:256 Owner:0x2b70 -++++ -Seg:3100 Size:256 Owner:0x2b72 -++++ -Seg:3200 Size:256 Owner:0x2b74 -++++ -Seg:3300 Size:256 Owner:0x2b76 -++++ -Seg:3400 Size:256 Owner:0x2b78 -++++ -Seg:3500 Size:256 Owner:0x2b7a -++++ -Seg:3600 Size:256 Owner:0x2b7c -++++ -Seg:3700 Size:256 Owner:0x2b7e -++++ -Seg:3800 Size:256 Owner:0x2b80 -++++ -Seg:3900 Size:256 Owner:0x2b82 -++++ -Seg:3a00 Size:256 Owner:0x2b84 -++++ -Seg:3b00 Size:256 Owner:0x2b86 -++++ -Seg:3c00 Size:256 Owner:0x2b88 -++++ -Seg:3d00 Size:256 Owner:0x2b8a -++++ -Seg:3e00 Size:256 Owner:0x2b8c -++++ -Seg:3f00 Size:256 Owner:0x2b8e -++++ -Seg:4000 Size:256 Owner:0x2b90 -++++ -Seg:4100 Size:256 Owner:0x2b92 -++++ -Seg:4200 Size:256 Owner:0x2b94 -++++ -Seg:4300 Size:256 Owner:0x2b96 -++++ -Seg:4400 Size:256 Owner:0x2b98 -++++ -Seg:4500 Size:256 Owner:0x2b9a -++++ -Seg:4600 Size:256 Owner:0x2b9c -++++ -Seg:4700 Size:256 Owner:0x2b9e -++++ -Seg:4800 Size:256 Owner:0x2ba0 -++++ -Seg:4900 Size:256 Owner:0x2ba2 -++++ -Seg:4a00 Size:256 Owner:0x2ba4 -++++ -Seg:4b00 Size:256 Owner:0x2ba6 -++++ -Seg:4c00 Size:256 Owner:0x2ba8 -++++ -Seg:4d00 Size:256 Owner:0x2baa -++++ -Seg:4e00 Size:256 Owner:0x2bac -++++ -Seg:4f00 Size:256 Owner:0x2bae -++++ -Seg:5000 Size:256 Owner:0x2bb0 -++++ -Seg:5100 Size:256 Owner:0x2bb2 -++++ -Seg:5200 Size:256 Owner:0x2bb4 -++++ -Seg:5300 Size:256 Owner:0x2bb6 -++++ -Seg:5400 Size:256 Owner:0x2bb8 -++++ -Seg:5500 Size:256 Owner:0x2bba -++++ -Seg:5600 Size:256 Owner:0x2bbc -++++ -Seg:5700 Size:256 Owner:0x2bbe -++++ -Seg:5800 Size:256 Owner:0x2bc0 -++++ -Seg:5900 Size:256 Owner:0x2bc2 -++++ -Seg:5a00 Size:256 Owner:0x2bc4 -++++ -Seg:5b00 Size:256 Owner:0x2bc6 -++++ -Seg:5c00 Size:256 Owner:0x2bc8 -++++ -Seg:5d00 Size:256 Owner:0x2bca -++++ -Seg:5e00 Size:256 Owner:0x2bcc -++++ -Seg:5f00 Size:256 Owner:0x2bce -++++ -Seg:6000 Size:256 Owner:0x2bd0 -++++ -Seg:6100 Size:256 Owner:0x2bd2 -++++ -Seg:6200 Size:256 Owner:0x2bd4 -++++ -Seg:6300 Size:256 Owner:0x2bd6 -++++ -Seg:6400 Size:256 Owner:0x2bd8 -++++ -Seg:6500 Size:256 Owner:0x2bda -++++ -Seg:6600 Size:256 Owner:0x2bdc -++++ -Seg:6700 Size:256 Owner:0x2bde -++++ -Seg:6800 Size:256 Owner:0x2be0 -++++ -Seg:6900 Size:256 Owner:0x2be2 -++++ -Seg:6a00 Size:256 Owner:0x2be4 -++++ -Seg:6b00 Size:256 Owner:0x2be6 -++++ -Seg:6c00 Size:256 Owner:0x2be8 -++++ -Seg:6d00 Size:256 Owner:0x2bea -++++ -Seg:6e00 Size:256 Owner:0x2bec -++++ -Seg:6f00 Size:256 Owner:0x2bee -++++ -Seg:7000 Size:256 Owner:0x2bf0 -++++ -Seg:7100 Size:256 Owner:0x2bf2 -++++ -Seg:7200 Size:256 Owner:0x2bf4 -++++ -Seg:7300 Size:256 Owner:0x2bf6 -++++ -Seg:7400 Size:256 Owner:0x2bf8 -++++ -Seg:7500 Size:256 Owner:0x2bfa -++++ -Seg:7600 Size:256 Owner:0x2bfc -++++ -Seg:7700 Size:256 Owner:0x2bfe -++++ -Seg:7800 Size:256 Owner:0x2c00 -++++ -Seg:7900 Size:273 Owner:0xfde -++++ -Seg:9fbe Size:24641 Owner:0x0 -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \ No newline at end of file diff --git a/DEBUG.16W b/DEBUG.16W deleted file mode 100755 index dc8afd7b..00000000 --- a/DEBUG.16W +++ /dev/null @@ -1,210 +0,0 @@ -Seg:0 Size:8982 Owner:0x0 -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++0000 -Seg:2408 Size:44 Owner:0x0 -+ -Seg:2434 Size:256 Owner:0x1db4 -+++++ -Seg:2534 Size:256 Owner:0x1ba6 -++++ -Seg:2634 Size:256 Owner:0x1ba8 -++++ -Seg:2734 Size:256 Owner:0x1baa -++++ -Seg:2834 Size:256 Owner:0x1bac -++++ -Seg:2934 Size:256 Owner:0x1bae -+++++ -Seg:2a34 Size:256 Owner:0x1bb0 -++++ -Seg:2b34 Size:256 Owner:0x1bb2 -++++ -Seg:2c34 Size:256 Owner:0x1bb4 -++++ -Seg:2d34 Size:256 Owner:0x1bb6 -++++ -Seg:2e34 Size:256 Owner:0x1bb8 -+++++ -Seg:2f34 Size:256 Owner:0x1bba -++++ -Seg:3034 Size:256 Owner:0x1bbc -++++ -Seg:3134 Size:256 Owner:0x1bbe -++++ -Seg:3234 Size:256 Owner:0x1bc0 -++++ -Seg:3334 Size:256 Owner:0x1bc2 -+++++ -Seg:3434 Size:256 Owner:0x1bc4 -++++ -Seg:3534 Size:256 Owner:0x1bc6 -++++ -Seg:3634 Size:256 Owner:0x1bc8 -++++ -Seg:3734 Size:256 Owner:0x1bca -++++ -Seg:3834 Size:256 Owner:0x1bcc -+++++ -Seg:3934 Size:256 Owner:0x1bce -++++ -Seg:3a34 Size:256 Owner:0x1bd0 -++++ -Seg:3b34 Size:256 Owner:0x1bd2 -++++ -Seg:3c34 Size:256 Owner:0x1bd4 -++++ -Seg:3d34 Size:256 Owner:0x1bd6 -+++++ -Seg:3e34 Size:256 Owner:0x1bd8 -++++ -Seg:3f34 Size:256 Owner:0x1bda -++++ -Seg:4034 Size:256 Owner:0x1bdc -++++ -Seg:4134 Size:256 Owner:0x1bde -++++ -Seg:4234 Size:256 Owner:0x1be0 -+++++ -Seg:4334 Size:256 Owner:0x1be2 -++++ -Seg:4434 Size:256 Owner:0x1be4 -++++ -Seg:4534 Size:256 Owner:0x1be6 -++++ -Seg:4634 Size:256 Owner:0x1be8 -++++ -Seg:4734 Size:256 Owner:0x1bea -+++++ -Seg:4834 Size:256 Owner:0x1bec -++++ -Seg:4934 Size:256 Owner:0x1bee -++++ -Seg:4a34 Size:256 Owner:0x1bf0 -++++ -Seg:4b34 Size:256 Owner:0x1bf2 -++++ -Seg:4c34 Size:256 Owner:0x1bf4 -+++++ -Seg:4d34 Size:256 Owner:0x1bf6 -++++ -Seg:4e34 Size:256 Owner:0x1bf8 -++++ -Seg:4f34 Size:256 Owner:0x1bfa -++++ -Seg:5034 Size:256 Owner:0x1bfc -++++ -Seg:5134 Size:256 Owner:0x1bfe -+++++ -Seg:5234 Size:256 Owner:0x1c00 -++++ -Seg:5334 Size:256 Owner:0x1c02 -++++ -Seg:5434 Size:256 Owner:0x1c04 -++++ -Seg:5534 Size:256 Owner:0x1c06 -++++ -Seg:5634 Size:256 Owner:0x1c08 -+++++ -Seg:5734 Size:256 Owner:0x1c0a -++++ -Seg:5834 Size:256 Owner:0x1c0c -++++ -Seg:5934 Size:256 Owner:0x1c0e -++++ -Seg:5a34 Size:256 Owner:0x1c10 -++++ -Seg:5b34 Size:256 Owner:0x1c12 -+++++ -Seg:5c34 Size:256 Owner:0x1c14 -++++ -Seg:5d34 Size:256 Owner:0x1c16 -++++ -Seg:5e34 Size:256 Owner:0x1c18 -++++ -Seg:5f34 Size:256 Owner:0x1c1a -++++ -Seg:6034 Size:256 Owner:0x1c1c -+++++ -Seg:6134 Size:256 Owner:0x1c1e -++++ -Seg:6234 Size:256 Owner:0x1c20 -++++ -Seg:6334 Size:256 Owner:0x1c22 -++++ -Seg:6434 Size:256 Owner:0x1c24 -++++ -Seg:6534 Size:256 Owner:0x1c26 -+++++ -Seg:6634 Size:256 Owner:0x1c28 -++++ -Seg:6734 Size:256 Owner:0x1c2a -++++ -Seg:6834 Size:256 Owner:0x1c2c -++++ -Seg:6934 Size:256 Owner:0x1c2e -++++ -Seg:6a34 Size:256 Owner:0x1c30 -+++++ -Seg:6b34 Size:256 Owner:0x1c32 -++++ -Seg:6c34 Size:256 Owner:0x1c34 -++++ -Seg:6d34 Size:256 Owner:0x1c36 -++++ -Seg:6e34 Size:256 Owner:0x1c38 -++++ -Seg:6f34 Size:256 Owner:0x1c3a -+++++ -Seg:7034 Size:256 Owner:0x1c3c -++++ -Seg:7134 Size:256 Owner:0x1c3e -++++ -Seg:7234 Size:256 Owner:0x1c40 -++++ -Seg:7334 Size:256 Owner:0x1c42 -++++ -Seg:7434 Size:256 Owner:0x1c44 -+++++ -Seg:7534 Size:256 Owner:0x1c46 -++++ -Seg:7634 Size:256 Owner:0x1c48 -++++ -Seg:7734 Size:256 Owner:0x1c4a -++++ -Seg:7834 Size:256 Owner:0x1c4c -++++ -Seg:7934 Size:256 Owner:0x1c4e -+++++ -Seg:7a34 Size:256 Owner:0x1c50 -++++ -Seg:7b34 Size:256 Owner:0x1c52 -++++ -Seg:7c34 Size:256 Owner:0x1c54 -++++ -Seg:7d34 Size:256 Owner:0x1c56 -++++ -Seg:7e34 Size:256 Owner:0x1c58 -+++++ -Seg:7f34 Size:256 Owner:0x1c5a -++++ -Seg:8034 Size:256 Owner:0x1c5c -++++ -Seg:8134 Size:256 Owner:0x1c5e -++++ -Seg:8234 Size:256 Owner:0x1c60 -++++ -Seg:8334 Size:256 Owner:0x1c62 -+++++ -Seg:8434 Size:256 Owner:0x1c64 -++++ -Seg:8534 Size:256 Owner:0x1c66 -++++ -Seg:8634 Size:256 Owner:0x1c68 -++++ -Seg:8734 Size:256 Owner:0x1c6a -++++ -Seg:8834 Size:256 Owner:0x1c6c -+++++ -Seg:8934 Size:273 Owner:0xec9c -++++ -Seg:b3f4 Size:19467 Owner:0x0 -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \ No newline at end of file diff --git a/EXMMTEST.L16 b/EXMMTEST.L16 deleted file mode 100755 index 10f2fa5c..00000000 --- a/EXMMTEST.L16 +++ /dev/null @@ -1,182 +0,0 @@ - load -contents of the buffer -[ - - -] -======================================== - DebugMemory_ -======================================== -Memory Usage ------------- -Total: 579k -Free: 171k -With purge: 571k ------------- - -yay! -press any key to continue! - read -contents of the buffer -[ -{ "backgroundcolor":"#000000", - "height":30, - "layers":[ - { - "data":[1, 2, 3, 4, 0, 3, 3, 3, 3, 3, 3, 3, 3, 4, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 1, 2, 3, 4, 5, 6, 7, 8, 0, 1, 0, 1, 0, 0, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 5, 6, 7, 8, 9, 10, 11, 12, 4, 1, 0, 1, 0, 0, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 9, 10, 11, 12, 13, 14, 15, 16, 0, 1, 1, 1, 5, 8, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 13, 14, 15, 16, 0, 0, 4, 0, 0, 0, 0, 0, 8, 8, 11, 11, 11, 3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 0, 0, 0, 0, 8, 8, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 0, 0, 0, 0, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 0, 0, 0, 0, 11, 11, 11, 11, 11, 11, 11, 11, 3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 39, 11, 11, 11, 11, 11, 11, 3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 3, 3, 3, 1, 2, 3, 4, 3, 3, 3, 3, 3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 11, 11, 11, 11, 5, 6, 7, 8, 6, 6, 6, 6, 6, 3, 3, 3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 3, 11, 11, 11, 11, 11, 9, 10, 11, 12, 6, 6, 6, 6, 6, 6, 6, 6, 3, 3, 3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 11, 11, 11, 11, 11, 11, 11, 13, 14, 15, 16, 3, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 3, 3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 3, 3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 3, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 3, 3, 3, 3, 6, 6, 6, 6, 6, 6, 6, 3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 3, 3, 3, 3, 3, 3, 3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 0, 0, 0, 0, 0, 0, 0, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 0, 11, 11, 11, 11, 11, 0, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 3, 3, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 0, 11, 0, 0, 0, 11, 0, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 3, 3, 3, 11, 11, 11, 11, 11, 11, 11, 11, 0, 11, 0, 11, 11, 11, 0, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 0, 11, 0, 0, 0, 0, 0, 11, 11, 11, 11, 11, 11, 1, 2, 3, 4, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 0, 11, 11, 11, 11, 11, 11, 11, 11, 1, 2, 3, 4, 5, 6, 7, 8, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 0, 0, 0, 0, 0, 0, 0, 0, 11, 5, 6, 7, 8, 9, 10, 11, 12, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 9, 10, 11, 12, 13, 14, 15, 16, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 13, 14, 15, 16], - "height":30, - "name":"bg", - "opacity":1, - "type":"tilelayer", - "visible":true, - "width":40, - "x":0, - "y":0 - }, - { - "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - "height":30, - "name":"top", - "opacity":1, - "type":"tilelayer", - "visible":true, - "width":40, - "x":0, - "y":0 - }, - { - "height":30, - "name":"ob", - "objects":[ - { - "height":16, - "name":"trunk", - "properties": - { - "walkable":"0" - }, - "type":"nonc", - "visible":true, - "width":32, - "x":128, - "y":32 - }, - { - "height":16, - "name":"stump", - "properties": - { - "walkable":"0" - }, - "type":"nonc", - "visible":true, - "width":16, - "x":144, - "y":128 - }], - "opacity":1, - "type":"objectgroup", - "visible":true, - "width":40, - "x":0, - "y":0 - }], - "orientation":"orthogonal", - "properties": - { - - }, - "tileheight":16, - "tilesets":[ - { - "firstgid":1, - "image":"ed.png", - "imageheight":64, - "imagewidth":64, - "margin":0, - "name":"wwww", - "properties": - { - - }, - "spacing":0, - "tileheight":16, - "tilewidth":16 - }, - { - "firstgid":17, - "image":"forest.gif", - "imageheight":112, - "imagewidth":80, - "margin":0, - "name":"forest", - "properties": - { - - }, - "spacing":0, - "tileheight":16, - "tilewidth":16 - }], - "tilewidth":16, - "version":1, - "width":40 -} -] -======================================== - DebugMemory_ -======================================== -Memory Usage ------------- -Total: 579k -Free: 171k -With purge: 571k ------------- - -yay! -press any key to continue! -======================================== - DebugMemory_ -======================================== -Memory Usage ------------- -Total: 579k -Free: 171k -With purge: 571k ------------- -MMDUMP.16 created. -======================================== - MM_Report_ -======================================== - ÉLIMEMS 1 - ÇÄEMM v4.0 available - ÇÄtotalEMSpages: 4032 freeEMSpages: 3939 - ÇÄEMSPageFrame: e000 - ÓÄEMSmem: 64536576 - ÉXMS 1 - ÇÄXMS v3.0 available - ÇÄXMSDriver: c83f:0010 - ÇÄXMSHandle: 0800 - ÓÄXMSmem: 2097152 - ÉConv. 1 - ÓÄTotal: 579k Free: 171k With purge:571k -nearheap: 3884 farheap: 589836 -======================================== -near= 1413:eec8 far= 2414:009c -&near= 1413:1dc0 &far= 1413:1dbc -Total near free: 4406b -Total far free: 7500b -Top left character is 'M'. -Project 16 exmmtest.exe. This is just a test file! -version Feb 21 2017 14:03:55 diff --git a/HEAP.16W b/HEAP.16W deleted file mode 100755 index 599148b5..00000000 --- a/HEAP.16W +++ /dev/null @@ -1,47 +0,0 @@ - - == default == - - USED block at 242a0016 of size 66 - USED block at 242a0058 of size 66 - FREE block at 242a009a of size 18 - USED block at 242a00ac of size 136 - USED block at 242a0134 of size 20 - FREE block at 242a0148 of size 7860 -OK - end of heap - - == near == - - USED block at 1429ecd6 of size 12 - USED block at 1429ece2 of size 332 - USED block at 1429ee2e of size 52 - USED block at 1429ee62 of size 20 - USED block at 1429ee76 of size 20 - USED block at 1429ee8a of size 20 - USED block at 1429ee9e of size 20 - USED block at 1429eeb2 of size 20 - USED block at 1429eec6 of size 4406 -OK - end of heap - - == far == - - USED block at 242a0016 of size 66 - USED block at 242a0058 of size 66 - USED block at 242a009a of size 18 - USED block at 242a00ac of size 136 - USED block at 242a0134 of size 20 - USED block at 242a0148 of size 7860 -OK - end of heap - -Memory Type Total Used Free ----------------- -------- -------- -------- -Default 8166 288 7878 -Near 4902 496 4406 -Far 8166 288 7878 ----------------- -------- -------- -------- -coreleft = 4404 -farcoreleft = 44896 -GetFreeSize = 40512 -GetNearFreeSize = 4406 -GetFarFreeSize = 40512 -memavl = 4404 -stackavail = 31602 diff --git a/MEMINFO.16B b/MEMINFO.16B deleted file mode 100755 index e69de29b..00000000 diff --git a/MEMINFO.16W b/MEMINFO.16W deleted file mode 100755 index e69de29b..00000000 diff --git a/MMDUMP.16B b/MMDUMP.16B deleted file mode 100755 index 33738bc4..00000000 Binary files a/MMDUMP.16B and /dev/null differ diff --git a/MMDUMP.16W b/MMDUMP.16W deleted file mode 100755 index 3eba51e3..00000000 Binary files a/MMDUMP.16W and /dev/null differ diff --git a/bcexmm.exe b/bcexmm.exe index 2a8355eb..d5f755b1 100755 Binary files a/bcexmm.exe and b/bcexmm.exe differ diff --git a/src/exmmtest.c b/src/exmmtest.c index 1aabe4fa..94599daf 100755 --- a/src/exmmtest.c +++ b/src/exmmtest.c @@ -36,7 +36,7 @@ //file load or read definition #define FILEREAD -//#define EXMMVERBOSE +#define EXMMVERBOSE //#ifdef __BORLANDC__ #define BUFFDUMP //#endif @@ -202,18 +202,19 @@ for(w=0;w<2;w++) printf("========================================\n"); #endif printf("\n"); + printf("HC_coreleft(): %u\n", HC_coreleft()); #ifdef __WATCOMC__ -//this is far printf("Total free: %lu\n", (dword)(GetFreeSize())); - printf("Total near free: %lub\n", (dword)(GetNearFreeSize())); - printf("Total far free: %lub\n", (dword)(GetFarFreeSize())); - heapdump(&gvar); +//this is far printf("Total free: %lu\n", (dword)(HC_GetFreeSize())); + printf("HC_GetNearFreeSize(): %u\n", HC_GetNearFreeSize()); + printf("HC_GetFarFreeSize(): %lub\n", (dword)HC_GetFarFreeSize()); + HC_heapdump(&gvar); // segatesuto(); #endif #ifdef __BORLANDC__ - //printf("core left: %lu\n", (dword)_coreleft()); - //printf("far core left: %lu\n", (dword)_farcoreleft()); - printf("core left: %lu\n", (dword)coreleft()); - printf("far core left: %lu\n", (dword)farcoreleft()); + //printf("core left: %lu\n", (dword)HC_coreleft()); + //printf("far core left: %lu\n", (dword)HC_farcoreleft()); + printf("coreleft(): %u\n", coreleft()); + printf("farcoreleft(): %lu\n", (dword)farcoreleft()); #endif printf("Project 16 exmmtest.exe. This is just a test file!\n"); printf("version %s\n", VERSION); diff --git a/src/lib/16_hc.c b/src/lib/16_hc.c index d08da3ad..8c9f9396 100755 --- a/src/lib/16_hc.c +++ b/src/lib/16_hc.c @@ -26,115 +26,73 @@ #include "src/lib/16_hc.h" #include -#ifdef __BORLANDC__ -void * LargestFreeBlock(size_t* Size) -#endif -#ifdef __WATCOMC__ -void __near* LargestFreeBlock(size_t* Size) -#endif +//functions +void CHIKAKU* HC_LargestFreeBlock(size_t* Size) { size_t s0, s1; -#ifdef __BORLANDC__ - void * p; -#endif -#ifdef __WATCOMC__ - void __near* p; -#endif + void CHIKAKU* p; s0 = ~(size_t)0 ^ (~(size_t)0 >> 1); -#ifdef __BORLANDC__ - while (s0 && (p = malloc(s0)) == NULL) -#endif -#ifdef __WATCOMC__ while (s0 && (p = _nmalloc(s0)) == NULL) -#endif s0 >>= 1; if (p) -#ifdef __BORLANDC__ - free(p); -#endif -#ifdef __WATCOMC__ _nfree(p); -#endif s1 = s0 >> 1; while (s1) { -#ifdef __BORLANDC__ - if ((p = malloc(s0 + s1)) != NULL) -#endif -#ifdef __WATCOMC__ if ((p = _nmalloc(s0 + s1)) != NULL) -#endif { s0 += s1; -#ifdef __BORLANDC__ - free(p); -#endif -#ifdef __WATCOMC__ _nfree(p); -#endif } s1 >>= 1; } -#ifdef __BORLANDC__ - while (s0 && (p = malloc(s0)) == NULL) -#endif -#ifdef __WATCOMC__ while (s0 && (p = _nmalloc(s0)) == NULL) -#endif s0 ^= s0 & -s0; *Size = s0; return p; } -size_t _coreleft(void) +size_t HC_coreleft(void) { size_t total = 0; - void __near* pFirst = NULL; - void __near* pLast = NULL; + void CHIKAKU* pFirst = NULL; + void CHIKAKU* pLast = NULL; for(;;) { size_t largest; - void __near* p = (void __near *)LargestFreeBlock(&largest); - if (largest < sizeof(void __near*)) + void CHIKAKU* p = (void CHIKAKU *)HC_LargestFreeBlock(&largest); + if (largest < sizeof(void CHIKAKU*)) { if (p != NULL) -#ifdef __BORLANDC__ - free(p); -#endif -#ifdef __WATCOMC__ _nfree(p); -#endif + break; } - *(void __near* __near*)p = NULL; + *(void CHIKAKU* CHIKAKU*)p = NULL; total += largest; if (pFirst == NULL) pFirst = p; if (pLast != NULL) - *(void __near* __near*)pLast = p; + *(void CHIKAKU* CHIKAKU*)pLast = p; pLast = p; } while (pFirst != NULL) { - void __near* p = *(void __near* __near*)pFirst; -#ifdef __BORLANDC__ - free(pFirst); -#endif -#ifdef __WATCOMC__ + void CHIKAKU* p = *(void CHIKAKU* CHIKAKU*)pFirst; _nfree(pFirst); -#endif + pFirst = p; } return total; } -void far* LargestFarFreeBlock(size_t* Size) +void far* HC_LargestFarFreeBlock(size_t* Size) { size_t s0, s1; void far* p; @@ -163,7 +121,7 @@ void far* LargestFarFreeBlock(size_t* Size) return p; } -size_t _farcoreleft(void) +size_t HC_farcoreleft(void) { size_t total = 0; void far* pFirst = NULL; @@ -171,7 +129,7 @@ size_t _farcoreleft(void) for(;;) { size_t largest; - void far* p = LargestFarFreeBlock(&largest); + void far* p = HC_LargestFarFreeBlock(&largest); if (largest < sizeof(void far*)) { if (p != NULL) @@ -198,7 +156,8 @@ size_t _farcoreleft(void) } #ifdef __WATCOMC__ -void huge* LargestHugeFreeBlock(size_t* Size) +/* +void huge* HC_LargestHugeFreeBlock(size_t* Size) { size_t s0, s1; void huge* p; @@ -227,7 +186,7 @@ void huge* LargestHugeFreeBlock(size_t* Size) return p; } -size_t _hugecoreleft(void) +size_t HC_hugecoreleft(void) { size_t total = 0; void huge* pFirst = NULL; @@ -235,7 +194,7 @@ size_t _hugecoreleft(void) for(;;) { size_t largest; - void huge* p = LargestHugeFreeBlock(&largest); + void huge* p = HC_LargestHugeFreeBlock(&largest); if (largest < sizeof(void huge*)) { if (p != NULL) @@ -261,7 +220,7 @@ size_t _hugecoreleft(void) return total; } -/*void __based(__self)* LargestBasedFreeBlock(size_t* Size) +void __based(__self)* LargestBasedFreeBlock(size_t* Size) { __segment segu; size_t s0, s1; @@ -335,7 +294,7 @@ size_t _basedcoreleft(void) return total; }*/ -size_t GetFreeSize(void) +size_t HC_GetFreeSize(void) { struct _heapinfo h_info; int heap_status; @@ -349,11 +308,11 @@ size_t GetFreeSize(void) if((h_info._useflag == _USEDENTRY ? "USED" : "FREE")=="USED") h_used += h_info._size; h_total += h_info._size; } - heapstat0(heap_status); + HC_heapstat0(heap_status); return h_free; } -size_t GetFarFreeSize(void) +size_t HC_GetFarFreeSize(void) { struct _heapinfo fh_info; int heap_status; @@ -367,11 +326,11 @@ size_t GetFarFreeSize(void) if((fh_info._useflag == _USEDENTRY ? "USED" : "FREE")=="USED") fh_used += fh_info._size; fh_total += fh_info._size; } - heapstat0(heap_status); + HC_heapstat0(heap_status); return fh_free; } -size_t GetNearFreeSize(void) +size_t HC_GetNearFreeSize(void) { struct _heapinfo nh_info; int heap_status; @@ -385,11 +344,11 @@ size_t GetNearFreeSize(void) if((nh_info._useflag == _USEDENTRY ? "USED" : "FREE")=="USED") nh_used += nh_info._size; nh_total += nh_info._size; } - heapstat0(heap_status); + HC_heapstat0(heap_status); return nh_free; } -void heapdump(global_game_variables_t *gvar) +void HC_heapdump(global_game_variables_t *gvar) { struct _heapinfo fh_info, nh_info, h_info; int heap_status; @@ -411,7 +370,7 @@ void heapdump(global_game_variables_t *gvar) h_total += h_info._size; write(gvar->handle.heaphandle,scratch,strlen(scratch)); } - heapstat(gvar, heap_status, &scratch); + HC_heapstat(gvar, heap_status, &scratch); //near strcpy(scratch,"\n == near ==\n\n"); @@ -430,7 +389,7 @@ nh_info._pentry, nh_info._size );*/ nh_total += nh_info._size; write(gvar->handle.heaphandle,scratch,strlen(scratch)); } - heapstat(gvar, heap_status, &scratch); + HC_heapstat(gvar, heap_status, &scratch); //far strcpy(scratch,"\n == far ==\n\n"); @@ -449,7 +408,7 @@ fh_info._pentry, fh_info._size );*/ fh_total += fh_info._size; write(gvar->handle.heaphandle,scratch,strlen(scratch)); } - heapstat(gvar, heap_status, &scratch); + HC_heapstat(gvar, heap_status, &scratch); strcpy(scratch,"\n"); strcat(scratch,kittengets(2,0,"Memory Type Total Used Free\n")); @@ -458,18 +417,18 @@ fh_info._pentry, fh_info._size );*/ printmeminfoline(&scratch, "Near", nh_total, nh_used, nh_free); printmeminfoline(&scratch, "Far", fh_total, fh_used, fh_free); strcat(scratch,"---------------- -------- -------- --------\n"); - strcat(scratch,"coreleft = "); ultoa((dword)_coreleft(),str,10); strcat(scratch,str); strcat(scratch,"\n"); - strcat(scratch,"farcoreleft = "); ultoa((dword)_farcoreleft(),str,10); strcat(scratch,str); strcat(scratch,"\n"); - strcat(scratch,"GetFreeSize = "); ultoa((dword)GetFreeSize(),str,10); strcat(scratch,str); strcat(scratch,"\n"); - strcat(scratch,"GetNearFreeSize = "); ultoa((dword)GetNearFreeSize(),str,10); strcat(scratch,str); strcat(scratch,"\n"); - strcat(scratch,"GetFarFreeSize = "); ultoa((dword)GetFarFreeSize(),str,10); strcat(scratch,str); strcat(scratch,"\n"); + strcat(scratch,"coreleft = "); ultoa((dword)HC_coreleft(),str,10); strcat(scratch,str); strcat(scratch,"\n"); + strcat(scratch,"farcoreleft = "); ultoa((dword)HC_farcoreleft(),str,10); strcat(scratch,str); strcat(scratch,"\n"); + strcat(scratch,"GetFreeSize = "); ultoa((dword)HC_GetFreeSize(),str,10); strcat(scratch,str); strcat(scratch,"\n"); + strcat(scratch,"GetNearFreeSize = "); ultoa((dword)HC_GetNearFreeSize(),str,10); strcat(scratch,str); strcat(scratch,"\n"); + strcat(scratch,"GetFarFreeSize = "); ultoa((dword)HC_GetFarFreeSize(),str,10); strcat(scratch,str); strcat(scratch,"\n"); strcat(scratch,"memavl = "); ultoa((dword)_memavl(),str,10); strcat(scratch,str); strcat(scratch,"\n"); strcat(scratch,"stackavail = "); ultoa((dword)stackavail(),str,10); strcat(scratch,str); strcat(scratch,"\n"); write(gvar->handle.heaphandle,scratch,strlen(scratch)); HC_CloseDebug(gvar); } -void heapstat(global_game_variables_t *gvar, int heap_status, byte *str) +void HC_heapstat(global_game_variables_t *gvar, int heap_status, byte *str) { switch( heap_status ) { case _HEAPEND: @@ -491,7 +450,7 @@ void heapstat(global_game_variables_t *gvar, int heap_status, byte *str) write(gvar->handle.heaphandle,(str),strlen((str))); } -void heapstat0(int heap_status) +void HC_heapstat0(int heap_status) { switch( heap_status ) { case _HEAPEND: diff --git a/src/lib/16_hc.h b/src/lib/16_hc.h index 8285ff4f..1dac364b 100755 --- a/src/lib/16_hc.h +++ b/src/lib/16_hc.h @@ -29,24 +29,32 @@ #include "src/lib/16_head.h" #ifdef __BORLANDC__ -void * LargestFreeBlock(size_t* Size); +#define CHIKAKU near +#define _nmalloc(size) malloc(size) +#define _nfree(block) free(block) +#define _nrealloc(block,size) realloc(block,size) +#define _ncalloc(num,size) calloc(num,size) +#define _nheapmin() 0 #endif #ifdef __WATCOMC__ -void __near* LargestFreeBlock(size_t* Size); +//#define SETTOUJ I_CHIKAKU _n +#define CHIKAKU __near #endif -size_t _coreleft(void); -void far* LargestFarFreeBlock(size_t* Size); -size_t _farcoreleft(void); -void huge* LargestHugeFreeBlock(size_t* Size); -size_t _hugecoreleft(void); + +void CHIKAKU* HC_LargestFreeBlock(size_t* Size); +size_t HC_coreleft(void); +void far* HC_LargestFarFreeBlock(size_t* Size); +size_t HC_farcoreleft(void); +//void huge* HC_LargestHugeFreeBlock(size_t* Size); +//size_t HC_hugecoreleft(void); //void __based(__self)* LargestBasedFreeBlock(size_t* Size); //size_t _basedcoreleft(void); -size_t GetFreeSize(void); -size_t GetFarFreeSize(void); -size_t GetNearFreeSize(void); -void heapdump(global_game_variables_t *gvar); -void heapstat(global_game_variables_t *gvar, int heap_status, byte *str); -void heapstat0(int heap_status); +size_t HC_GetFreeSize(void); +size_t HC_GetFarFreeSize(void); +size_t HC_GetNearFreeSize(void); +void HC_heapdump(global_game_variables_t *gvar); +void HC_heapstat(global_game_variables_t *gvar, int heap_status, byte *str); +void HC_heapstat0(int heap_status); void HC_OpenDebug(global_game_variables_t *gvar); void HC_CloseDebug(global_game_variables_t *gvar); diff --git a/src/lib/16_mm.c b/src/lib/16_mm.c index 045089a2..72ab5ae0 100755 --- a/src/lib/16_mm.c +++ b/src/lib/16_mm.c @@ -787,11 +787,14 @@ void MM_Startup(global_game_variables_t *gvar) // #ifdef __WATCOMC__ _nheapgrow(); - length=(dword)_memavl();//(dword)GetFreeSize(); +#endif + + length=(word)_memavl();//(word)coreleft();//(dword)GetFreeSize(); + +#ifdef __WATCOMC__ start = (void __far *)(gvar->mm.nearheap = _nmalloc(length)); #endif #ifdef __BORLANDC__ - length=(word)coreleft(); start = (void far *)(gvar->mm.nearheap = malloc(length)); #endif length -= 16-(FP_OFF(start)&15); diff --git a/src/lib/16_t.h b/src/lib/16_t.h index 4c5abf5f..0a6dff9a 100755 --- a/src/lib/16_t.h +++ b/src/lib/16_t.h @@ -63,7 +63,9 @@ MK_FP(segment value, 0)*/ #endif typedef void _seg * memptr;//typedef void __based( void ) * memptr; ////old //----typedef void __based(__self) * memptr; - +#ifdef __BORLANDC__ +#define _memavl() coreleft() +#endif #ifdef __WATCOMC__ #define _argv __argv #define _argc __argc diff --git a/src/vrstest.c b/src/vrstest.c index 15d69d7b..034c81ac 100755 --- a/src/vrstest.c +++ b/src/vrstest.c @@ -160,7 +160,7 @@ void main() //MM_FreePtr(&((void __based(sega)*)enti.spri.spritesheet->buffer), &mm); //printf("CPU to VGA: %f\n", t1); //printf("VGA to VGA: %f\n", t2); - heapdump(&gvar); + //HC_heapdump(&gvar); printf("Project 16 vrstest.exe. This is just a test file!\n"); printf("version %s\n", VERSION); printf("t1: %f\n", t1);