From: sparky4 Date: Tue, 1 Nov 2016 18:57:06 +0000 (-0500) Subject: headptr in 16_ca is odd wwww X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=9e60dd6c5c85cf5498d869339e4ea685cfa437e0;p=16.git headptr in 16_ca is odd wwww --- diff --git a/DEBUG.16W b/DEBUG.16W index ac6d78f4..cb918143 100755 --- a/DEBUG.16W +++ b/DEBUG.16W @@ -1,210 +1,210 @@ -Seg:0 Size:11471 Owner:0x0 -++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++0000 -Seg:2dca Size:36 Owner:0x0 -+ -Seg:2dee Size:256 Owner:0x1650 -+++++ -Seg:2eee Size:256 Owner:0x1442 +Seg:0 Size:10247 Owner:0x0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++0 +Seg:2807 Size:256 Owner:0x1630 +++++ +Seg:29c9 Size:44 Owner:0x0 +++ +Seg:29f5 Size:256 Owner:0x1422 ++++ -Seg:2fee Size:256 Owner:0x1444 +Seg:2af5 Size:256 Owner:0x1424 ++++ -Seg:30ee Size:256 Owner:0x1446 +Seg:2bf5 Size:256 Owner:0x1426 ++++ -Seg:31ee Size:256 Owner:0x1448 -++++ -Seg:32ee Size:256 Owner:0x144a +Seg:2cf5 Size:256 Owner:0x1428 +++++ -Seg:33ee Size:256 Owner:0x144c +Seg:2df5 Size:256 Owner:0x142a ++++ -Seg:34ee Size:256 Owner:0x144e +Seg:2ef5 Size:256 Owner:0x142c ++++ -Seg:35ee Size:256 Owner:0x1450 +Seg:2ff5 Size:256 Owner:0x142e ++++ -Seg:36ee Size:256 Owner:0x1452 +Seg:30f5 Size:256 Owner:0x1430 ++++ -Seg:37ee Size:256 Owner:0x1454 +Seg:31f5 Size:256 Owner:0x1432 +++++ -Seg:38ee Size:256 Owner:0x1456 +Seg:32f5 Size:256 Owner:0x1434 ++++ -Seg:39ee Size:256 Owner:0x1458 +Seg:33f5 Size:256 Owner:0x1436 ++++ -Seg:3aee Size:256 Owner:0x145a +Seg:34f5 Size:256 Owner:0x1438 ++++ -Seg:3bee Size:256 Owner:0x145c +Seg:35f5 Size:256 Owner:0x143a ++++ -Seg:3cee Size:256 Owner:0x145e +Seg:36f5 Size:256 Owner:0x143c +++++ -Seg:3dee Size:256 Owner:0x1460 +Seg:37f5 Size:256 Owner:0x143e ++++ -Seg:3eee Size:256 Owner:0x1462 +Seg:38f5 Size:256 Owner:0x1440 ++++ -Seg:3fee Size:256 Owner:0x1464 +Seg:39f5 Size:256 Owner:0x1442 ++++ -Seg:40ee Size:256 Owner:0x1466 +Seg:3af5 Size:256 Owner:0x1444 ++++ -Seg:41ee Size:256 Owner:0x1468 +Seg:3bf5 Size:256 Owner:0x1446 +++++ -Seg:42ee Size:256 Owner:0x146a +Seg:3cf5 Size:256 Owner:0x1448 ++++ -Seg:43ee Size:256 Owner:0x146c +Seg:3df5 Size:256 Owner:0x144a ++++ -Seg:44ee Size:256 Owner:0x146e +Seg:3ef5 Size:256 Owner:0x144c ++++ -Seg:45ee Size:256 Owner:0x1470 +Seg:3ff5 Size:256 Owner:0x144e ++++ -Seg:46ee Size:256 Owner:0x1472 +Seg:40f5 Size:256 Owner:0x1450 +++++ -Seg:47ee Size:256 Owner:0x1474 +Seg:41f5 Size:256 Owner:0x1452 ++++ -Seg:48ee Size:256 Owner:0x1476 +Seg:42f5 Size:256 Owner:0x1454 ++++ -Seg:49ee Size:256 Owner:0x1478 +Seg:43f5 Size:256 Owner:0x1456 ++++ -Seg:4aee Size:256 Owner:0x147a +Seg:44f5 Size:256 Owner:0x1458 ++++ -Seg:4bee Size:256 Owner:0x147c +Seg:45f5 Size:256 Owner:0x145a +++++ -Seg:4cee Size:256 Owner:0x147e +Seg:46f5 Size:256 Owner:0x145c ++++ -Seg:4dee Size:256 Owner:0x1480 +Seg:47f5 Size:256 Owner:0x145e ++++ -Seg:4eee Size:256 Owner:0x1482 +Seg:48f5 Size:256 Owner:0x1460 ++++ -Seg:4fee Size:256 Owner:0x1484 +Seg:49f5 Size:256 Owner:0x1462 ++++ -Seg:50ee Size:256 Owner:0x1486 +Seg:4af5 Size:256 Owner:0x1464 +++++ -Seg:51ee Size:256 Owner:0x1488 +Seg:4bf5 Size:256 Owner:0x1466 ++++ -Seg:52ee Size:256 Owner:0x148a +Seg:4cf5 Size:256 Owner:0x1468 ++++ -Seg:53ee Size:256 Owner:0x148c +Seg:4df5 Size:256 Owner:0x146a ++++ -Seg:54ee Size:256 Owner:0x148e +Seg:4ef5 Size:256 Owner:0x146c ++++ -Seg:55ee Size:256 Owner:0x1490 +Seg:4ff5 Size:256 Owner:0x146e +++++ -Seg:56ee Size:256 Owner:0x1492 +Seg:50f5 Size:256 Owner:0x1470 ++++ -Seg:57ee Size:256 Owner:0x1494 +Seg:51f5 Size:256 Owner:0x1472 ++++ -Seg:58ee Size:256 Owner:0x1496 +Seg:52f5 Size:256 Owner:0x1474 ++++ -Seg:59ee Size:256 Owner:0x1498 +Seg:53f5 Size:256 Owner:0x1476 ++++ -Seg:5aee Size:256 Owner:0x149a +Seg:54f5 Size:256 Owner:0x1478 +++++ -Seg:5bee Size:256 Owner:0x149c +Seg:55f5 Size:256 Owner:0x147a ++++ -Seg:5cee Size:256 Owner:0x149e +Seg:56f5 Size:256 Owner:0x147c ++++ -Seg:5dee Size:256 Owner:0x14a0 +Seg:57f5 Size:256 Owner:0x147e ++++ -Seg:5eee Size:256 Owner:0x14a2 +Seg:58f5 Size:256 Owner:0x1480 ++++ -Seg:5fee Size:256 Owner:0x14a4 +Seg:59f5 Size:256 Owner:0x1482 +++++ -Seg:60ee Size:256 Owner:0x14a6 +Seg:5af5 Size:256 Owner:0x1484 ++++ -Seg:61ee Size:256 Owner:0x14a8 +Seg:5bf5 Size:256 Owner:0x1486 ++++ -Seg:62ee Size:256 Owner:0x14aa +Seg:5cf5 Size:256 Owner:0x1488 ++++ -Seg:63ee Size:256 Owner:0x14ac +Seg:5df5 Size:256 Owner:0x148a ++++ -Seg:64ee Size:256 Owner:0x14ae +Seg:5ef5 Size:256 Owner:0x148c +++++ -Seg:65ee Size:256 Owner:0x14b0 +Seg:5ff5 Size:256 Owner:0x148e ++++ -Seg:66ee Size:256 Owner:0x14b2 +Seg:60f5 Size:256 Owner:0x1490 ++++ -Seg:67ee Size:256 Owner:0x14b4 +Seg:61f5 Size:256 Owner:0x1492 ++++ -Seg:68ee Size:256 Owner:0x14b6 +Seg:62f5 Size:256 Owner:0x1494 ++++ -Seg:69ee Size:256 Owner:0x14b8 +Seg:63f5 Size:256 Owner:0x1496 +++++ -Seg:6aee Size:256 Owner:0x14ba +Seg:64f5 Size:256 Owner:0x1498 ++++ -Seg:6bee Size:256 Owner:0x14bc +Seg:65f5 Size:256 Owner:0x149a ++++ -Seg:6cee Size:256 Owner:0x14be +Seg:66f5 Size:256 Owner:0x149c ++++ -Seg:6dee Size:256 Owner:0x14c0 +Seg:67f5 Size:256 Owner:0x149e ++++ -Seg:6eee Size:256 Owner:0x14c2 +Seg:68f5 Size:256 Owner:0x14a0 +++++ -Seg:6fee Size:256 Owner:0x14c4 +Seg:69f5 Size:256 Owner:0x14a2 ++++ -Seg:70ee Size:256 Owner:0x14c6 +Seg:6af5 Size:256 Owner:0x14a4 ++++ -Seg:71ee Size:256 Owner:0x14c8 +Seg:6bf5 Size:256 Owner:0x14a6 ++++ -Seg:72ee Size:256 Owner:0x14ca +Seg:6cf5 Size:256 Owner:0x14a8 ++++ -Seg:73ee Size:256 Owner:0x14cc +Seg:6df5 Size:256 Owner:0x14aa +++++ -Seg:74ee Size:256 Owner:0x14ce +Seg:6ef5 Size:256 Owner:0x14ac ++++ -Seg:75ee Size:256 Owner:0x14d0 +Seg:6ff5 Size:256 Owner:0x14ae ++++ -Seg:76ee Size:256 Owner:0x14d2 +Seg:70f5 Size:256 Owner:0x14b0 ++++ -Seg:77ee Size:256 Owner:0x14d4 +Seg:71f5 Size:256 Owner:0x14b2 ++++ -Seg:78ee Size:256 Owner:0x14d6 +Seg:72f5 Size:256 Owner:0x14b4 +++++ -Seg:79ee Size:256 Owner:0x14d8 +Seg:73f5 Size:256 Owner:0x14b6 ++++ -Seg:7aee Size:256 Owner:0x14da +Seg:74f5 Size:256 Owner:0x14b8 ++++ -Seg:7bee Size:256 Owner:0x14dc +Seg:75f5 Size:256 Owner:0x14ba ++++ -Seg:7cee Size:256 Owner:0x14de +Seg:76f5 Size:256 Owner:0x14bc ++++ -Seg:7dee Size:256 Owner:0x14e0 +Seg:77f5 Size:256 Owner:0x14be +++++ -Seg:7eee Size:256 Owner:0x14e2 +Seg:78f5 Size:256 Owner:0x14c0 ++++ -Seg:7fee Size:256 Owner:0x14e4 +Seg:79f5 Size:256 Owner:0x14c2 ++++ -Seg:80ee Size:256 Owner:0x14e6 +Seg:7af5 Size:256 Owner:0x14c4 ++++ -Seg:81ee Size:256 Owner:0x14e8 +Seg:7bf5 Size:256 Owner:0x14c6 ++++ -Seg:82ee Size:256 Owner:0x14ea +Seg:7cf5 Size:256 Owner:0x14c8 +++++ -Seg:83ee Size:256 Owner:0x14ec +Seg:7df5 Size:256 Owner:0x14ca ++++ -Seg:84ee Size:256 Owner:0x14ee +Seg:7ef5 Size:256 Owner:0x14cc ++++ -Seg:85ee Size:256 Owner:0x14f0 +Seg:7ff5 Size:256 Owner:0x14ce ++++ -Seg:86ee Size:256 Owner:0x14f2 +Seg:80f5 Size:256 Owner:0x14d0 ++++ -Seg:87ee Size:256 Owner:0x14f4 +Seg:81f5 Size:256 Owner:0x14d2 +++++ -Seg:88ee Size:256 Owner:0x14f6 +Seg:82f5 Size:256 Owner:0x14d4 ++++ -Seg:89ee Size:256 Owner:0x14f8 +Seg:83f5 Size:256 Owner:0x14d6 ++++ -Seg:8aee Size:256 Owner:0x14fa +Seg:84f5 Size:256 Owner:0x14d8 ++++ -Seg:8bee Size:256 Owner:0x14fc +Seg:85f5 Size:256 Owner:0x14da ++++ -Seg:8cee Size:256 Owner:0x14fe +Seg:86f5 Size:256 Owner:0x14dc +++++ -Seg:8dee Size:256 Owner:0x1500 +Seg:87f5 Size:256 Owner:0x14de ++++ -Seg:8eee Size:256 Owner:0x1502 +Seg:88f5 Size:256 Owner:0x14e0 ++++ -Seg:8fee Size:256 Owner:0x1504 +Seg:89f5 Size:256 Owner:0x14e2 ++++ -Seg:90ee Size:256 Owner:0x1506 +Seg:8af5 Size:256 Owner:0x14e4 ++++ -Seg:91ee Size:256 Owner:0x1508 +Seg:8bf5 Size:256 Owner:0x14e6 +++++ -Seg:92ee Size:401 Owner:0xebf6 -++++++ -Seg:bdee Size:16913 Owner:0x0 -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \ No newline at end of file +Seg:8cf5 Size:256 Owner:0x14e8 +++++ +Seg:8df5 Size:273 Owner:0xdec0 +++++ +Seg:b9f5 Size:17930 Owner:0x0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \ No newline at end of file diff --git a/HEAP.16W b/HEAP.16W index e85a1c40..cd3821b5 100755 --- a/HEAP.16W +++ b/HEAP.16W @@ -1,71 +1,47 @@ == default == - FREE block at 2dec0016 of size 18 - USED block at 2dec0028 of size 50 - USED block at 2dec005a of size 50 - USED block at 2dec008c of size 50 - USED block at 2dec00be of size 50 - USED block at 2dec00f0 of size 50 - USED block at 2dec0122 of size 50 - USED block at 2dec0154 of size 50 - USED block at 2dec0186 of size 50 - USED block at 2dec01b8 of size 50 - USED block at 2dec01ea of size 50 - USED block at 2dec021c of size 50 - USED block at 2dec024e of size 50 - USED block at 2dec0280 of size 50 - FREE block at 2dec02b2 of size 14 - USED block at 2dec02c0 of size 20 - USED block at 2dec02d4 of size 136 - FREE block at 2dec035c of size 7328 + USED block at 29eb0016 of size 66 + USED block at 29eb0058 of size 66 + FREE block at 29eb009a of size 18 + USED block at 29eb00ac of size 136 + USED block at 29eb0134 of size 20 + FREE block at 29eb0148 of size 7860 OK - end of heap == near == - USED block at 1debec46 of size 12 - USED block at 1debec52 of size 330 - USED block at 1debed9c of size 52 - USED block at 1debedd0 of size 20 - USED block at 1debede4 of size 20 - USED block at 1debedf8 of size 20 - USED block at 1debee0c of size 20 - USED block at 1debee20 of size 20 - USED block at 1debee34 of size 4552 + USED block at 19eadef6 of size 12 + USED block at 19eadf02 of size 530 + USED block at 19eae114 of size 72 + USED block at 19eae15c of size 20 + USED block at 19eae170 of size 20 + USED block at 19eae184 of size 20 + USED block at 19eae198 of size 20 + USED block at 19eae1ac of size 20 + USED block at 19eae1c0 of size 7740 OK - end of heap == far == - USED block at 2dec0016 of size 18 - USED block at 2dec0028 of size 50 - USED block at 2dec005a of size 50 - USED block at 2dec008c of size 50 - USED block at 2dec00be of size 50 - USED block at 2dec00f0 of size 50 - USED block at 2dec0122 of size 50 - USED block at 2dec0154 of size 50 - USED block at 2dec0186 of size 50 - USED block at 2dec01b8 of size 50 - USED block at 2dec01ea of size 50 - USED block at 2dec021c of size 50 - USED block at 2dec024e of size 50 - USED block at 2dec0280 of size 50 - USED block at 2dec02b2 of size 14 - USED block at 2dec02c0 of size 20 - USED block at 2dec02d4 of size 136 - USED block at 2dec035c of size 7328 + USED block at 29eb0016 of size 66 + USED block at 29eb0058 of size 66 + USED block at 29eb009a of size 18 + USED block at 29eb00ac of size 136 + USED block at 29eb0134 of size 20 + USED block at 29eb0148 of size 7860 OK - end of heap Memory Type Total Used Free ---------------- -------- -------- -------- -Default 8166 806 7360 -Near 5046 494 4552 -Far 8166 806 7360 +Default 8166 288 7878 +Near 8454 714 7740 +Far 8166 288 7878 ---------------- -------- -------- -------- -coreleft = 4550 -farcoreleft = 11740 -GetFreeSize = 7210 -GetNearFreeSize = 4552 -GetFarFreeSize = 7210 -memavl = 4550 -stackavail = 31515 +coreleft = 7738 +farcoreleft = 31846 +GetFreeSize = 24128 +GetNearFreeSize = 7740 +GetFarFreeSize = 24128 +memavl = 7738 +stackavail = 31588 diff --git a/MEMINFO.16W b/MEMINFO.16W new file mode 100755 index 00000000..e69de29b diff --git a/MMDUMP.16W b/MMDUMP.16W index b62d65bd..0ee513f1 100755 Binary files a/MMDUMP.16W and b/MMDUMP.16W differ diff --git a/src/lib/16_ca.c b/src/lib/16_ca.c index cd472474..acc4598f 100755 --- a/src/lib/16_ca.c +++ b/src/lib/16_ca.c @@ -503,10 +503,10 @@ void CAL_HuffExpand (byte huge *source, byte huge *dest, { // unsigned bit,byte,node,code; unsigned sourceseg,sourceoff,destseg,destoff,endoff; - huffnode *headptr; +//// huffnode *headptr; // huffnode *nodeon; - headptr = hufftable+254; // head node is allways node 254 +//// headptr = hufftable+254; // head node is allways node 254 source++; // normalize source--;