From: sparky4 Date: Mon, 19 Dec 2016 18:50:41 +0000 (-0600) Subject: added old pallette update to vrstest.exe i am sticking to lardge memory model for... X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=76f1cd56423f31966975040fbef40e70b740c38c;p=16.git added old pallette update to vrstest.exe i am sticking to lardge memory model for speed www --- diff --git a/DEBUG.16W b/DEBUG.16W index 607a5fc0..49e642d1 100755 --- a/DEBUG.16W +++ b/DEBUG.16W @@ -1,210 +1,210 @@ -Seg:0 Size:12150 Owner:0x0 -++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++0000 -Seg:3061 Size:37 Owner:0x0 +Seg:0 Size:10119 Owner:0x0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++0000 +Seg:2880 Size:36 Owner:0x0 ++ -Seg:3086 Size:256 Owner:0x1650 +Seg:28a4 Size:256 Owner:0x1650 ++++ -Seg:3186 Size:256 Owner:0x1442 +Seg:29a4 Size:256 Owner:0x1442 ++++ -Seg:3286 Size:256 Owner:0x1444 +Seg:2aa4 Size:256 Owner:0x1444 ++++ -Seg:3386 Size:256 Owner:0x1446 +Seg:2ba4 Size:256 Owner:0x1446 +++++ +Seg:2ca4 Size:256 Owner:0x1448 +++++ -Seg:3486 Size:256 Owner:0x1448 +Seg:2da4 Size:256 Owner:0x144a ++++ -Seg:3586 Size:256 Owner:0x144a +Seg:2ea4 Size:256 Owner:0x144c ++++ -Seg:3686 Size:256 Owner:0x144c +Seg:2fa4 Size:256 Owner:0x144e ++++ -Seg:3786 Size:256 Owner:0x144e +Seg:30a4 Size:256 Owner:0x1450 ++++ -Seg:3886 Size:256 Owner:0x1450 +Seg:31a4 Size:256 Owner:0x1452 +++++ -Seg:3986 Size:256 Owner:0x1452 +Seg:32a4 Size:256 Owner:0x1454 ++++ -Seg:3a86 Size:256 Owner:0x1454 +Seg:33a4 Size:256 Owner:0x1456 ++++ -Seg:3b86 Size:256 Owner:0x1456 +Seg:34a4 Size:256 Owner:0x1458 ++++ -Seg:3c86 Size:256 Owner:0x1458 +Seg:35a4 Size:256 Owner:0x145a ++++ -Seg:3d86 Size:256 Owner:0x145a +Seg:36a4 Size:256 Owner:0x145c +++++ -Seg:3e86 Size:256 Owner:0x145c +Seg:37a4 Size:256 Owner:0x145e ++++ -Seg:3f86 Size:256 Owner:0x145e +Seg:38a4 Size:256 Owner:0x1460 ++++ -Seg:4086 Size:256 Owner:0x1460 +Seg:39a4 Size:256 Owner:0x1462 ++++ -Seg:4186 Size:256 Owner:0x1462 +Seg:3aa4 Size:256 Owner:0x1464 ++++ -Seg:4286 Size:256 Owner:0x1464 +Seg:3ba4 Size:256 Owner:0x1466 +++++ -Seg:4386 Size:256 Owner:0x1466 +Seg:3ca4 Size:256 Owner:0x1468 ++++ -Seg:4486 Size:256 Owner:0x1468 +Seg:3da4 Size:256 Owner:0x146a ++++ -Seg:4586 Size:256 Owner:0x146a +Seg:3ea4 Size:256 Owner:0x146c ++++ -Seg:4686 Size:256 Owner:0x146c +Seg:3fa4 Size:256 Owner:0x146e ++++ -Seg:4786 Size:256 Owner:0x146e +Seg:40a4 Size:256 Owner:0x1470 +++++ -Seg:4886 Size:256 Owner:0x1470 +Seg:41a4 Size:256 Owner:0x1472 ++++ -Seg:4986 Size:256 Owner:0x1472 +Seg:42a4 Size:256 Owner:0x1474 ++++ -Seg:4a86 Size:256 Owner:0x1474 +Seg:43a4 Size:256 Owner:0x1476 ++++ -Seg:4b86 Size:256 Owner:0x1476 +Seg:44a4 Size:256 Owner:0x1478 ++++ -Seg:4c86 Size:256 Owner:0x1478 +Seg:45a4 Size:256 Owner:0x147a +++++ -Seg:4d86 Size:256 Owner:0x147a +Seg:46a4 Size:256 Owner:0x147c ++++ -Seg:4e86 Size:256 Owner:0x147c +Seg:47a4 Size:256 Owner:0x147e ++++ -Seg:4f86 Size:256 Owner:0x147e +Seg:48a4 Size:256 Owner:0x1480 ++++ -Seg:5086 Size:256 Owner:0x1480 +Seg:49a4 Size:256 Owner:0x1482 ++++ -Seg:5186 Size:256 Owner:0x1482 +Seg:4aa4 Size:256 Owner:0x1484 +++++ -Seg:5286 Size:256 Owner:0x1484 +Seg:4ba4 Size:256 Owner:0x1486 ++++ -Seg:5386 Size:256 Owner:0x1486 +Seg:4ca4 Size:256 Owner:0x1488 ++++ -Seg:5486 Size:256 Owner:0x1488 +Seg:4da4 Size:256 Owner:0x148a ++++ -Seg:5586 Size:256 Owner:0x148a +Seg:4ea4 Size:256 Owner:0x148c ++++ -Seg:5686 Size:256 Owner:0x148c +Seg:4fa4 Size:256 Owner:0x148e +++++ -Seg:5786 Size:256 Owner:0x148e +Seg:50a4 Size:256 Owner:0x1490 ++++ -Seg:5886 Size:256 Owner:0x1490 +Seg:51a4 Size:256 Owner:0x1492 ++++ -Seg:5986 Size:256 Owner:0x1492 +Seg:52a4 Size:256 Owner:0x1494 ++++ -Seg:5a86 Size:256 Owner:0x1494 +Seg:53a4 Size:256 Owner:0x1496 ++++ -Seg:5b86 Size:256 Owner:0x1496 +Seg:54a4 Size:256 Owner:0x1498 +++++ -Seg:5c86 Size:256 Owner:0x1498 +Seg:55a4 Size:256 Owner:0x149a ++++ -Seg:5d86 Size:256 Owner:0x149a +Seg:56a4 Size:256 Owner:0x149c ++++ -Seg:5e86 Size:256 Owner:0x149c +Seg:57a4 Size:256 Owner:0x149e ++++ -Seg:5f86 Size:256 Owner:0x149e +Seg:58a4 Size:256 Owner:0x14a0 ++++ -Seg:6086 Size:256 Owner:0x14a0 +Seg:59a4 Size:256 Owner:0x14a2 +++++ -Seg:6186 Size:256 Owner:0x14a2 +Seg:5aa4 Size:256 Owner:0x14a4 ++++ -Seg:6286 Size:256 Owner:0x14a4 +Seg:5ba4 Size:256 Owner:0x14a6 ++++ -Seg:6386 Size:256 Owner:0x14a6 +Seg:5ca4 Size:256 Owner:0x14a8 ++++ -Seg:6486 Size:256 Owner:0x14a8 +Seg:5da4 Size:256 Owner:0x14aa ++++ -Seg:6586 Size:256 Owner:0x14aa +Seg:5ea4 Size:256 Owner:0x14ac +++++ -Seg:6686 Size:256 Owner:0x14ac +Seg:5fa4 Size:256 Owner:0x14ae ++++ -Seg:6786 Size:256 Owner:0x14ae +Seg:60a4 Size:256 Owner:0x14b0 ++++ -Seg:6886 Size:256 Owner:0x14b0 +Seg:61a4 Size:256 Owner:0x14b2 ++++ -Seg:6986 Size:256 Owner:0x14b2 +Seg:62a4 Size:256 Owner:0x14b4 ++++ -Seg:6a86 Size:256 Owner:0x14b4 +Seg:63a4 Size:256 Owner:0x14b6 +++++ -Seg:6b86 Size:256 Owner:0x14b6 +Seg:64a4 Size:256 Owner:0x14b8 ++++ -Seg:6c86 Size:256 Owner:0x14b8 +Seg:65a4 Size:256 Owner:0x14ba ++++ -Seg:6d86 Size:256 Owner:0x14ba +Seg:66a4 Size:256 Owner:0x14bc ++++ -Seg:6e86 Size:256 Owner:0x14bc +Seg:67a4 Size:256 Owner:0x14be ++++ -Seg:6f86 Size:256 Owner:0x14be +Seg:68a4 Size:256 Owner:0x14c0 +++++ -Seg:7086 Size:256 Owner:0x14c0 +Seg:69a4 Size:256 Owner:0x14c2 ++++ -Seg:7186 Size:256 Owner:0x14c2 +Seg:6aa4 Size:256 Owner:0x14c4 ++++ -Seg:7286 Size:256 Owner:0x14c4 +Seg:6ba4 Size:256 Owner:0x14c6 ++++ -Seg:7386 Size:256 Owner:0x14c6 +Seg:6ca4 Size:256 Owner:0x14c8 ++++ -Seg:7486 Size:256 Owner:0x14c8 +Seg:6da4 Size:256 Owner:0x14ca +++++ -Seg:7586 Size:256 Owner:0x14ca +Seg:6ea4 Size:256 Owner:0x14cc ++++ -Seg:7686 Size:256 Owner:0x14cc +Seg:6fa4 Size:256 Owner:0x14ce ++++ -Seg:7786 Size:256 Owner:0x14ce +Seg:70a4 Size:256 Owner:0x14d0 ++++ -Seg:7886 Size:256 Owner:0x14d0 +Seg:71a4 Size:256 Owner:0x14d2 ++++ -Seg:7986 Size:256 Owner:0x14d2 +Seg:72a4 Size:256 Owner:0x14d4 +++++ -Seg:7a86 Size:256 Owner:0x14d4 +Seg:73a4 Size:256 Owner:0x14d6 ++++ -Seg:7b86 Size:256 Owner:0x14d6 +Seg:74a4 Size:256 Owner:0x14d8 ++++ -Seg:7c86 Size:256 Owner:0x14d8 +Seg:75a4 Size:256 Owner:0x14da ++++ -Seg:7d86 Size:256 Owner:0x14da +Seg:76a4 Size:256 Owner:0x14dc ++++ -Seg:7e86 Size:256 Owner:0x14dc +Seg:77a4 Size:256 Owner:0x14de +++++ -Seg:7f86 Size:256 Owner:0x14de +Seg:78a4 Size:256 Owner:0x14e0 ++++ -Seg:8086 Size:256 Owner:0x14e0 +Seg:79a4 Size:256 Owner:0x14e2 ++++ -Seg:8186 Size:256 Owner:0x14e2 +Seg:7aa4 Size:256 Owner:0x14e4 ++++ -Seg:8286 Size:256 Owner:0x14e4 +Seg:7ba4 Size:256 Owner:0x14e6 ++++ -Seg:8386 Size:256 Owner:0x14e6 +Seg:7ca4 Size:256 Owner:0x14e8 +++++ -Seg:8486 Size:256 Owner:0x14e8 +Seg:7da4 Size:256 Owner:0x14ea ++++ -Seg:8586 Size:256 Owner:0x14ea +Seg:7ea4 Size:256 Owner:0x14ec ++++ -Seg:8686 Size:256 Owner:0x14ec +Seg:7fa4 Size:256 Owner:0x14ee ++++ -Seg:8786 Size:256 Owner:0x14ee +Seg:80a4 Size:256 Owner:0x14f0 ++++ -Seg:8886 Size:256 Owner:0x14f0 +Seg:81a4 Size:256 Owner:0x14f2 +++++ -Seg:8986 Size:256 Owner:0x14f2 +Seg:82a4 Size:256 Owner:0x14f4 ++++ -Seg:8a86 Size:256 Owner:0x14f4 +Seg:83a4 Size:256 Owner:0x14f6 ++++ -Seg:8b86 Size:256 Owner:0x14f6 +Seg:84a4 Size:256 Owner:0x14f8 ++++ -Seg:8c86 Size:256 Owner:0x14f8 +Seg:85a4 Size:256 Owner:0x14fa ++++ -Seg:8d86 Size:256 Owner:0x14fa +Seg:86a4 Size:256 Owner:0x14fc +++++ -Seg:8e86 Size:256 Owner:0x14fc +Seg:87a4 Size:256 Owner:0x14fe ++++ -Seg:8f86 Size:256 Owner:0x14fe +Seg:88a4 Size:256 Owner:0x1500 ++++ -Seg:9086 Size:256 Owner:0x1500 +Seg:89a4 Size:256 Owner:0x1502 ++++ -Seg:9186 Size:256 Owner:0x1502 +Seg:8aa4 Size:256 Owner:0x1504 ++++ -Seg:9286 Size:256 Owner:0x1504 +Seg:8ba4 Size:256 Owner:0x1506 +++++ -Seg:9386 Size:256 Owner:0x1506 -++++ -Seg:9486 Size:256 Owner:0x1508 +Seg:8ca4 Size:256 Owner:0x1508 ++++ -Seg:9586 Size:401 Owner:0xec14 +Seg:8da4 Size:401 Owner:0xec16 ++++++ -Seg:c086 Size:16249 Owner:0x0 -++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \ No newline at end of file +Seg:b864 Size:18331 Owner:0x0 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \ No newline at end of file diff --git a/HEAP.16W b/HEAP.16W index e333a77e..d0093cdc 100755 --- a/HEAP.16W +++ b/HEAP.16W @@ -1,71 +1,71 @@ == default == - FREE block at 30840016 of size 18 - USED block at 30840028 of size 50 - USED block at 3084005a of size 50 - USED block at 3084008c of size 50 - USED block at 308400be of size 50 - USED block at 308400f0 of size 50 - USED block at 30840122 of size 50 - USED block at 30840154 of size 50 - USED block at 30840186 of size 50 - USED block at 308401b8 of size 50 - USED block at 308401ea of size 50 - USED block at 3084021c of size 50 - USED block at 3084024e of size 50 - USED block at 30840280 of size 50 - FREE block at 308402b2 of size 14 - USED block at 308402c0 of size 20 - USED block at 308402d4 of size 136 - FREE block at 3084035c of size 7328 -OK - end of heap + FREE block at 28a20016 of size 18 + USED block at 28a20028 of size 50 + USED block at 28a2005a of size 50 + USED block at 28a2008c of size 50 + USED block at 28a200be of size 50 + USED block at 28a200f0 of size 50 + USED block at 28a20122 of size 50 + USED block at 28a20154 of size 50 + USED block at 28a20186 of size 50 + USED block at 28a201b8 of size 50 + USED block at 28a201ea of size 50 + USED block at 28a2021c of size 50 + USED block at 28a2024e of size 50 + USED block at 28a20280 of size 50 + FREE block at 28a202b2 of size 14 + USED block at 28a202c0 of size 770 + USED block at 28a205c2 of size 254 + FREE block at 28a206c0 of size 14948 +ERROR - bad node in heap == near == - USED block at 2083ec66 of size 12 - USED block at 2083ec72 of size 528 - USED block at 2083ee82 of size 72 - USED block at 2083eeca of size 20 - USED block at 2083eede of size 20 - USED block at 2083eef2 of size 20 - USED block at 2083ef06 of size 20 - USED block at 2083ef1a of size 20 - USED block at 2083ef2e of size 4302 + FREE block at 18a1ec66 of size 12 + FREE block at 18a1ec72 of size 330 + FREE block at 18a1edbc of size 52 + FREE block at 18a1edf0 of size 20 + FREE block at 18a1ee04 of size 20 + FREE block at 18a1ee18 of size 20 + FREE block at 18a1ee2c of size 20 + FREE block at 18a1ee40 of size 20 + FREE block at 18a1ee54 of size 4520 OK - end of heap == far == - USED block at 30840016 of size 18 - USED block at 30840028 of size 50 - USED block at 3084005a of size 50 - USED block at 3084008c of size 50 - USED block at 308400be of size 50 - USED block at 308400f0 of size 50 - USED block at 30840122 of size 50 - USED block at 30840154 of size 50 - USED block at 30840186 of size 50 - USED block at 308401b8 of size 50 - USED block at 308401ea of size 50 - USED block at 3084021c of size 50 - USED block at 3084024e of size 50 - USED block at 30840280 of size 50 - USED block at 308402b2 of size 14 - USED block at 308402c0 of size 20 - USED block at 308402d4 of size 136 - USED block at 3084035c of size 7328 -OK - end of heap + FREE block at 28a20016 of size 18 + FREE block at 28a20028 of size 50 + FREE block at 28a2005a of size 50 + FREE block at 28a2008c of size 50 + FREE block at 28a200be of size 50 + FREE block at 28a200f0 of size 50 + FREE block at 28a20122 of size 50 + FREE block at 28a20154 of size 50 + FREE block at 28a20186 of size 50 + FREE block at 28a201b8 of size 50 + FREE block at 28a201ea of size 50 + FREE block at 28a2021c of size 50 + FREE block at 28a2024e of size 50 + FREE block at 28a20280 of size 50 + FREE block at 28a202b2 of size 14 + FREE block at 28a202c0 of size 770 + FREE block at 28a205c2 of size 254 + FREE block at 28a206c0 of size 14948 +ERROR - bad node in heap Memory Type Total Used Free ---------------- -------- -------- -------- -Default 8166 806 7360 -Near 5014 712 4302 -Far 8166 806 7360 +Default 16654 1674 14980 +Near 5014 494 4520 +Far 16654 1674 14980 ---------------- -------- -------- -------- -coreleft = 4300 -farcoreleft = 60698 -GetFreeSize = 56420 -GetNearFreeSize = 4302 -GetFarFreeSize = 56420 -memavl = 4300 -stackavail = 31515 +coreleft = 4518 +farcoreleft = 27336 +GetFreeSize = 14980 +GetNearFreeSize = 4520 +GetFarFreeSize = 14980 +memavl = 4518 +stackavail = 31529 diff --git a/MMDUMP.16W b/MMDUMP.16W index 68b42b31..ba4520d7 100755 Binary files a/MMDUMP.16W and b/MMDUMP.16W differ diff --git a/src/vrstest.c b/src/vrstest.c index d9ab0f70..d00f627b 100755 --- a/src/vrstest.c +++ b/src/vrstest.c @@ -49,7 +49,7 @@ void main() { uint32_t vrl_size; int num_of_vrl; struct vrl1_vgax_header huge *curr_vrl; - word w=0; + //word w=0; gvar.mm.mmstarted=0; #ifdef __DEBUG_PM__ @@ -144,12 +144,14 @@ void main() { t2 = (*clockw-start)/18.2; + modexLoadPalFile("data/spri/chikyuu.pal", &pal); + modexPalUpdate1(pal); for (i = 0; i < 5; i++){ spri.delay = 1; animate_spri(&spri); spri.x += 20; /*sleep(1);*/ } while(!kbhit()) { - switch(w) + /*switch(w) { case 1024: modexPalUpdate0(pal); @@ -157,7 +159,7 @@ void main() { default: w++; break; - } + }*/ } VGAmodeX(0, 1, &gvar); MM_ShowMemory(&gvar);