From: sparky4 Date: Mon, 10 Aug 2015 03:19:30 +0000 (-0500) Subject: wwww X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;ds=sidebyside;h=5269d59f97d94ad32e38d6f5f1d75296cf273e80;p=16.git wwww modified: DEBUG.16 modified: HEAP.16 modified: MMDUMP.16 modified: exmmtest.exe modified: src/lib/16_mm.c --- diff --git a/DEBUG.16 b/DEBUG.16 index 93b30111..7315a04f 100644 --- a/DEBUG.16 +++ b/DEBUG.16 @@ -1,17 +1,17 @@ -Seg:0 Size:5553 Owner:0x0 +Seg:0 Size:5552 Owner:0x5 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++_ 0 -Seg:15b1 Size:256 Owner:0x3518 +Seg:15b0 Size:256 Owner:0x3518 ++++_  -Seg:16b1 Size:273 Owner:0x858c +Seg:16b0 Size:273 Owner:0x858c +++++_  -Seg:1d00 Size:40 Owner:0x0 +Seg:1cff Size:40 Owner:0x35a0 ++_ 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 -Seg:ad28 Size:13016 Owner:0x0 +Seg:ad27 Size:13017 Owner:0x3578 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++_  -Seg:e000 Size:8191 Owner:0x0 +Seg:e000 Size:8191 Owner:0x358c ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++_ diff --git a/HEAP.16 b/HEAP.16 index 2f5dfdc7..e4368cc1 100644 --- a/HEAP.16 +++ b/HEAP.16 @@ -1,11 +1,11 @@ == default == - USED block at 1d220016 of size 66 - FREE block at 1d220058 of size 18 - USED block at 1d22006a of size 136 - USED block at 1d2200f2 of size 20 - FREE block at 1d220106 of size 7926 + USED block at 1d210016 of size 66 + FREE block at 1d210058 of size 18 + USED block at 1d21006a of size 136 + USED block at 1d2100f2 of size 20 + FREE block at 1d210106 of size 7926 OK - end of heap == near == diff --git a/MMDUMP.16 b/MMDUMP.16 index 40755fb9..87fc5ce9 100644 Binary files a/MMDUMP.16 and b/MMDUMP.16 differ diff --git a/exmmtest.exe b/exmmtest.exe index 0c12f5b9..5dc4fb36 100644 Binary files a/exmmtest.exe and b/exmmtest.exe differ diff --git a/src/lib/16_mm.c b/src/lib/16_mm.c index 09e7d9a7..7f5eae6f 100644 --- a/src/lib/16_mm.c +++ b/src/lib/16_mm.c @@ -904,7 +904,7 @@ void MM_GetPtr(memptr *baseptr,dword size, mminfo_t *mm, mminfotype *mmi) mm->mmnew->useptr = baseptr; mm->mmnew->attributes = BASEATTRIBUTES; //printf("."); //0000 - for(search = 0; searchendid; search++) + for(search = 0; search<3; search++) { printf("\n [case]"); //0000 //