]> 4ch.mooo.com Git - 16.git/commitdiff
wsomething is not working.... i think it is use space! wwww
authorsparky4 <sparky4@cock.li>
Mon, 10 Aug 2015 14:22:29 +0000 (09:22 -0500)
committersparky4 <sparky4@cock.li>
Mon, 10 Aug 2015 14:22:29 +0000 (09:22 -0500)
new file:   DEBUG.16
new file:   HEAP.16
new file:   MMDUMP.16
new file:   PROFILE.16
modified:   exmmtest.exe
modified:   src/lib/16_mm.c

DEBUG.16 [new file with mode: 0644]
HEAP.16 [new file with mode: 0644]
MMDUMP.16 [new file with mode: 0644]
PROFILE.16 [new file with mode: 0644]
exmmtest.exe
src/lib/16_mm.c

diff --git a/DEBUG.16 b/DEBUG.16
new file mode 100644 (file)
index 0000000..aba2438
--- /dev/null
+++ b/DEBUG.16
@@ -0,0 +1,17 @@
+\e[0mSeg:0      Size:5522       Owner:0x2a1f\r
+\e[41;31m++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[47;37m_\e[0m\r
+\e[42;32m0\e[0m\r
+\e[0mSeg:1592   Size:256        Owner:0x351c\r
+\e[44;34m++++\e[0m\e[47;37m_\e[0m\r
+\e[42;32m\e[0m\r
+\e[0mSeg:1692   Size:273        Owner:0x858c\r
+\e[44;34m++++\e[0m\e[47;37m_\e[0m\r
+\e[42;32m\e[0m\r
+\e[0mSeg:1ce1   Size:40 Owner:0x0\r
+\e[41;31m+\e[0m\e[47;37m_\e[0m\r
+\e[42;32m0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\e[0m\r
+\e[0mSeg:ad09   Size:13047      Owner:0x0\r
+\e[41;31m++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\e[0m\e[47;37m_\e[0m\r
+\e[42;32m\e[0m\r
+\e[0mSeg:e000   Size:8191       Owner:0x0\r
+\e[41;31m\e[0m\e[47;37m_\e[0m\r
diff --git a/HEAP.16 b/HEAP.16
new file mode 100644 (file)
index 0000000..2d7094f
--- /dev/null
+++ b/HEAP.16
@@ -0,0 +1,45 @@
+\r
+       == default ==\r
+\r
+  USED block at 1d030016 of size 66\r
+  FREE block at 1d030058 of size 18\r
+  USED block at 1d03006a of size 136\r
+  USED block at 1d0300f2 of size 20\r
+  FREE block at 1d030106 of size 7926\r
+OK - end of heap\r
+\r
+       == near ==\r
+\r
+  USED block at 0 of size 0\r
+  USED block at 0 of size 0\r
+  USED block at 0 of size 0\r
+  USED block at 0 of size 0\r
+  USED block at 0 of size 0\r
+  USED block at 0 of size 0\r
+  USED block at 0 of size 0\r
+  USED block at 0 of size 0\r
+  USED block at 0 of size 0\r
+OK - end of heap\r
+\r
+       == far ==\r
+\r
+  USED block at 0 of size 0\r
+  USED block at 0 of size 0\r
+  USED block at 0 of size 0\r
+  USED block at 0 of size 0\r
+  USED block at 0 of size 0\r
+OK - end of heap\r
+\r
+Memory Type         Total      Used       Free\r
+----------------  --------   --------   --------\r
+Default                   8166 222     7944\r
+Near              31302        834     30468\r
+Far               8166 222     7944\r
+----------------  --------   --------   --------\r
+coreleft = 30466\r
+farcoreleft = 38214\r
+GetFreeSize = 7768\r
+GetNearFreeSize = 30468\r
+GetFarFreeSize = 7768\r
+memavl = 30466\r
+stackavail = 11029\r
diff --git a/MMDUMP.16 b/MMDUMP.16
new file mode 100644 (file)
index 0000000..01f814d
Binary files /dev/null and b/MMDUMP.16 differ
diff --git a/PROFILE.16 b/PROFILE.16
new file mode 100644 (file)
index 0000000..e69de29
index b71acd025fccfb7b3c7b9140498fea93bd9a4aaa..93b8bb7eebfa669510a7e5b769760dda92bb5d95 100644 (file)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index 4735ac190486e11d42abcfc944753c3e075f8db0..31655c923a4c014d3a26c51113586f20499f0c33 100644 (file)
@@ -475,13 +475,15 @@ void MML_SetupXMS(mminfo_t *mm, mminfotype *mmi)
 {
        word    base,size;
 
-getmemory:
+
        __asm {
                mov     ax,0x4310
                int     0x2f
                mov     [WORD PTR XMSaddr],bx
                mov     [WORD PTR XMSaddr+2],es         // function pointer to XMS driver
-
+       }
+getmemory:
+       __asm {
                mov     ah,XMS_ALLOCUMB
                mov     dx,0xffff                                       // try for largest block possible
                //mov     ax,dx                                         // Set available Kbytes.