From 6e0eeb6a7bc878859519b3ead8dcbf14218add1a Mon Sep 17 00:00:00 2001 From: sparky4 Date: Sun, 25 Dec 2016 17:19:15 -0600 Subject: [PATCH] hmmm trying to figure out what is going on wwww --- DEBUG.16W | 216 +++++++++++++++++++++++++------------------------- HEAP.16W | 100 ++++++++++++----------- MMDUMP.16W | Bin 2550 -> 2550 bytes src/vrstest.c | 11 +-- 4 files changed, 163 insertions(+), 164 deletions(-) diff --git a/DEBUG.16W b/DEBUG.16W index 6d88c01b..46a5385a 100755 --- a/DEBUG.16W +++ b/DEBUG.16W @@ -1,210 +1,210 @@ -Seg:0 Size:10118 Owner:0x0 +Seg:0 Size:10100 Owner:0x0 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++0000 -Seg:287f Size:36 Owner:0x0 -++ -Seg:28a3 Size:256 Owner:0x1650 -++++ -Seg:29a3 Size:256 Owner:0x1442 +Seg:286d Size:44 Owner:0x0 ++ +Seg:2899 Size:256 Owner:0x1650 ++++++ +Seg:2999 Size:256 Owner:0x1442 ++++ -Seg:2aa3 Size:256 Owner:0x1444 +Seg:2a99 Size:256 Owner:0x1444 ++++ -Seg:2ba3 Size:256 Owner:0x1446 +Seg:2b99 Size:256 Owner:0x1446 ++++ -Seg:2ca3 Size:256 Owner:0x1448 +Seg:2c99 Size:256 Owner:0x1448 +++++ +Seg:2d99 Size:256 Owner:0x144a +++++ -Seg:2da3 Size:256 Owner:0x144a +Seg:2e99 Size:256 Owner:0x144c ++++ -Seg:2ea3 Size:256 Owner:0x144c +Seg:2f99 Size:256 Owner:0x144e ++++ -Seg:2fa3 Size:256 Owner:0x144e +Seg:3099 Size:256 Owner:0x1450 ++++ -Seg:30a3 Size:256 Owner:0x1450 +Seg:3199 Size:256 Owner:0x1452 ++++ -Seg:31a3 Size:256 Owner:0x1452 +Seg:3299 Size:256 Owner:0x1454 +++++ -Seg:32a3 Size:256 Owner:0x1454 +Seg:3399 Size:256 Owner:0x1456 ++++ -Seg:33a3 Size:256 Owner:0x1456 +Seg:3499 Size:256 Owner:0x1458 ++++ -Seg:34a3 Size:256 Owner:0x1458 +Seg:3599 Size:256 Owner:0x145a ++++ -Seg:35a3 Size:256 Owner:0x145a +Seg:3699 Size:256 Owner:0x145c ++++ -Seg:36a3 Size:256 Owner:0x145c +Seg:3799 Size:256 Owner:0x145e +++++ -Seg:37a3 Size:256 Owner:0x145e +Seg:3899 Size:256 Owner:0x1460 ++++ -Seg:38a3 Size:256 Owner:0x1460 +Seg:3999 Size:256 Owner:0x1462 ++++ -Seg:39a3 Size:256 Owner:0x1462 +Seg:3a99 Size:256 Owner:0x1464 ++++ -Seg:3aa3 Size:256 Owner:0x1464 +Seg:3b99 Size:256 Owner:0x1466 ++++ -Seg:3ba3 Size:256 Owner:0x1466 +Seg:3c99 Size:256 Owner:0x1468 +++++ -Seg:3ca3 Size:256 Owner:0x1468 +Seg:3d99 Size:256 Owner:0x146a ++++ -Seg:3da3 Size:256 Owner:0x146a +Seg:3e99 Size:256 Owner:0x146c ++++ -Seg:3ea3 Size:256 Owner:0x146c +Seg:3f99 Size:256 Owner:0x146e ++++ -Seg:3fa3 Size:256 Owner:0x146e +Seg:4099 Size:256 Owner:0x1470 ++++ -Seg:40a3 Size:256 Owner:0x1470 +Seg:4199 Size:256 Owner:0x1472 +++++ -Seg:41a3 Size:256 Owner:0x1472 +Seg:4299 Size:256 Owner:0x1474 ++++ -Seg:42a3 Size:256 Owner:0x1474 +Seg:4399 Size:256 Owner:0x1476 ++++ -Seg:43a3 Size:256 Owner:0x1476 +Seg:4499 Size:256 Owner:0x1478 ++++ -Seg:44a3 Size:256 Owner:0x1478 +Seg:4599 Size:256 Owner:0x147a ++++ -Seg:45a3 Size:256 Owner:0x147a +Seg:4699 Size:256 Owner:0x147c +++++ -Seg:46a3 Size:256 Owner:0x147c +Seg:4799 Size:256 Owner:0x147e ++++ -Seg:47a3 Size:256 Owner:0x147e +Seg:4899 Size:256 Owner:0x1480 ++++ -Seg:48a3 Size:256 Owner:0x1480 +Seg:4999 Size:256 Owner:0x1482 ++++ -Seg:49a3 Size:256 Owner:0x1482 +Seg:4a99 Size:256 Owner:0x1484 ++++ -Seg:4aa3 Size:256 Owner:0x1484 +Seg:4b99 Size:256 Owner:0x1486 +++++ -Seg:4ba3 Size:256 Owner:0x1486 +Seg:4c99 Size:256 Owner:0x1488 ++++ -Seg:4ca3 Size:256 Owner:0x1488 +Seg:4d99 Size:256 Owner:0x148a ++++ -Seg:4da3 Size:256 Owner:0x148a +Seg:4e99 Size:256 Owner:0x148c ++++ -Seg:4ea3 Size:256 Owner:0x148c +Seg:4f99 Size:256 Owner:0x148e ++++ -Seg:4fa3 Size:256 Owner:0x148e +Seg:5099 Size:256 Owner:0x1490 +++++ -Seg:50a3 Size:256 Owner:0x1490 +Seg:5199 Size:256 Owner:0x1492 ++++ -Seg:51a3 Size:256 Owner:0x1492 +Seg:5299 Size:256 Owner:0x1494 ++++ -Seg:52a3 Size:256 Owner:0x1494 +Seg:5399 Size:256 Owner:0x1496 ++++ -Seg:53a3 Size:256 Owner:0x1496 +Seg:5499 Size:256 Owner:0x1498 ++++ -Seg:54a3 Size:256 Owner:0x1498 +Seg:5599 Size:256 Owner:0x149a +++++ -Seg:55a3 Size:256 Owner:0x149a +Seg:5699 Size:256 Owner:0x149c ++++ -Seg:56a3 Size:256 Owner:0x149c +Seg:5799 Size:256 Owner:0x149e ++++ -Seg:57a3 Size:256 Owner:0x149e +Seg:5899 Size:256 Owner:0x14a0 ++++ -Seg:58a3 Size:256 Owner:0x14a0 +Seg:5999 Size:256 Owner:0x14a2 ++++ -Seg:59a3 Size:256 Owner:0x14a2 +Seg:5a99 Size:256 Owner:0x14a4 +++++ -Seg:5aa3 Size:256 Owner:0x14a4 +Seg:5b99 Size:256 Owner:0x14a6 ++++ -Seg:5ba3 Size:256 Owner:0x14a6 +Seg:5c99 Size:256 Owner:0x14a8 ++++ -Seg:5ca3 Size:256 Owner:0x14a8 +Seg:5d99 Size:256 Owner:0x14aa ++++ -Seg:5da3 Size:256 Owner:0x14aa +Seg:5e99 Size:256 Owner:0x14ac ++++ -Seg:5ea3 Size:256 Owner:0x14ac +Seg:5f99 Size:256 Owner:0x14ae +++++ -Seg:5fa3 Size:256 Owner:0x14ae +Seg:6099 Size:256 Owner:0x14b0 ++++ -Seg:60a3 Size:256 Owner:0x14b0 +Seg:6199 Size:256 Owner:0x14b2 ++++ -Seg:61a3 Size:256 Owner:0x14b2 +Seg:6299 Size:256 Owner:0x14b4 ++++ -Seg:62a3 Size:256 Owner:0x14b4 +Seg:6399 Size:256 Owner:0x14b6 ++++ -Seg:63a3 Size:256 Owner:0x14b6 +Seg:6499 Size:256 Owner:0x14b8 +++++ -Seg:64a3 Size:256 Owner:0x14b8 +Seg:6599 Size:256 Owner:0x14ba ++++ -Seg:65a3 Size:256 Owner:0x14ba +Seg:6699 Size:256 Owner:0x14bc ++++ -Seg:66a3 Size:256 Owner:0x14bc +Seg:6799 Size:256 Owner:0x14be ++++ -Seg:67a3 Size:256 Owner:0x14be +Seg:6899 Size:256 Owner:0x14c0 ++++ -Seg:68a3 Size:256 Owner:0x14c0 +Seg:6999 Size:256 Owner:0x14c2 +++++ -Seg:69a3 Size:256 Owner:0x14c2 +Seg:6a99 Size:256 Owner:0x14c4 ++++ -Seg:6aa3 Size:256 Owner:0x14c4 +Seg:6b99 Size:256 Owner:0x14c6 ++++ -Seg:6ba3 Size:256 Owner:0x14c6 +Seg:6c99 Size:256 Owner:0x14c8 ++++ -Seg:6ca3 Size:256 Owner:0x14c8 +Seg:6d99 Size:256 Owner:0x14ca ++++ -Seg:6da3 Size:256 Owner:0x14ca +Seg:6e99 Size:256 Owner:0x14cc +++++ -Seg:6ea3 Size:256 Owner:0x14cc +Seg:6f99 Size:256 Owner:0x14ce ++++ -Seg:6fa3 Size:256 Owner:0x14ce +Seg:7099 Size:256 Owner:0x14d0 ++++ -Seg:70a3 Size:256 Owner:0x14d0 +Seg:7199 Size:256 Owner:0x14d2 ++++ -Seg:71a3 Size:256 Owner:0x14d2 +Seg:7299 Size:256 Owner:0x14d4 ++++ -Seg:72a3 Size:256 Owner:0x14d4 +Seg:7399 Size:256 Owner:0x14d6 +++++ -Seg:73a3 Size:256 Owner:0x14d6 +Seg:7499 Size:256 Owner:0x14d8 ++++ -Seg:74a3 Size:256 Owner:0x14d8 +Seg:7599 Size:256 Owner:0x14da ++++ -Seg:75a3 Size:256 Owner:0x14da +Seg:7699 Size:256 Owner:0x14dc ++++ -Seg:76a3 Size:256 Owner:0x14dc +Seg:7799 Size:256 Owner:0x14de ++++ -Seg:77a3 Size:256 Owner:0x14de +Seg:7899 Size:256 Owner:0x14e0 +++++ -Seg:78a3 Size:256 Owner:0x14e0 +Seg:7999 Size:256 Owner:0x14e2 ++++ -Seg:79a3 Size:256 Owner:0x14e2 +Seg:7a99 Size:256 Owner:0x14e4 ++++ -Seg:7aa3 Size:256 Owner:0x14e4 +Seg:7b99 Size:256 Owner:0x14e6 ++++ -Seg:7ba3 Size:256 Owner:0x14e6 +Seg:7c99 Size:256 Owner:0x14e8 ++++ -Seg:7ca3 Size:256 Owner:0x14e8 +Seg:7d99 Size:256 Owner:0x14ea +++++ -Seg:7da3 Size:256 Owner:0x14ea +Seg:7e99 Size:256 Owner:0x14ec ++++ -Seg:7ea3 Size:256 Owner:0x14ec +Seg:7f99 Size:256 Owner:0x14ee ++++ -Seg:7fa3 Size:256 Owner:0x14ee +Seg:8099 Size:256 Owner:0x14f0 ++++ -Seg:80a3 Size:256 Owner:0x14f0 +Seg:8199 Size:256 Owner:0x14f2 ++++ -Seg:81a3 Size:256 Owner:0x14f2 +Seg:8299 Size:256 Owner:0x14f4 +++++ -Seg:82a3 Size:256 Owner:0x14f4 +Seg:8399 Size:256 Owner:0x14f6 ++++ -Seg:83a3 Size:256 Owner:0x14f6 +Seg:8499 Size:256 Owner:0x14f8 ++++ -Seg:84a3 Size:256 Owner:0x14f8 +Seg:8599 Size:256 Owner:0x14fa ++++ -Seg:85a3 Size:256 Owner:0x14fa +Seg:8699 Size:256 Owner:0x14fc ++++ -Seg:86a3 Size:256 Owner:0x14fc +Seg:8799 Size:256 Owner:0x14fe +++++ -Seg:87a3 Size:256 Owner:0x14fe +Seg:8899 Size:256 Owner:0x1500 ++++ -Seg:88a3 Size:256 Owner:0x1500 +Seg:8999 Size:256 Owner:0x1502 ++++ -Seg:89a3 Size:256 Owner:0x1502 +Seg:8a99 Size:256 Owner:0x1504 ++++ -Seg:8aa3 Size:256 Owner:0x1504 +Seg:8b99 Size:256 Owner:0x1506 ++++ -Seg:8ba3 Size:256 Owner:0x1506 +Seg:8c99 Size:256 Owner:0x1508 +++++ -Seg:8ca3 Size:256 Owner:0x1508 -++++ -Seg:8da3 Size:401 Owner:0xec10 +Seg:8d99 Size:401 Owner:0xec12 ++++++ -Seg:b863 Size:18332 Owner:0x0 +Seg:b899 Size:18278 Owner:0x0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ \ No newline at end of file diff --git a/HEAP.16W b/HEAP.16W index 41a43d20..b238d529 100755 --- a/HEAP.16W +++ b/HEAP.16W @@ -1,71 +1,69 @@ == default == - FREE block at 28a10016 of size 18 - USED block at 28a10028 of size 50 - USED block at 28a1005a of size 50 - USED block at 28a1008c of size 50 - USED block at 28a100be of size 50 - USED block at 28a100f0 of size 50 - USED block at 28a10122 of size 50 - USED block at 28a10154 of size 50 - USED block at 28a10186 of size 50 - USED block at 28a101b8 of size 50 - USED block at 28a101ea of size 50 - USED block at 28a1021c of size 50 - USED block at 28a1024e of size 50 - USED block at 28a10280 of size 50 - FREE block at 28a102b2 of size 14 - USED block at 28a102c0 of size 20 - USED block at 28a102d4 of size 136 - FREE block at 28a1035c of size 7328 + USED block at 288f0016 of size 136 + FREE block at 288f009e of size 68 + USED block at 288f00e2 of size 50 + USED block at 288f0114 of size 50 + USED block at 288f0146 of size 50 + USED block at 288f0178 of size 50 + USED block at 288f01aa of size 50 + USED block at 288f01dc of size 50 + USED block at 288f020e of size 50 + USED block at 288f0240 of size 50 + USED block at 288f0272 of size 50 + USED block at 288f02a4 of size 50 + USED block at 288f02d6 of size 50 + USED block at 288f0308 of size 50 + FREE block at 288f033a of size 14 + USED block at 288f0348 of size 20 + FREE block at 288f035c of size 7328 OK - end of heap == near == - USED block at 18a0ec66 of size 12 - USED block at 18a0ec72 of size 330 - USED block at 18a0edbc of size 52 - USED block at 18a0edf0 of size 20 - USED block at 18a0ee04 of size 20 - USED block at 18a0ee18 of size 20 - USED block at 18a0ee2c of size 20 - USED block at 18a0ee40 of size 20 - USED block at 18a0ee54 of size 4520 + USED block at 188eec66 of size 12 + USED block at 188eec72 of size 330 + USED block at 188eedbc of size 52 + USED block at 188eedf0 of size 20 + USED block at 188eee04 of size 20 + USED block at 188eee18 of size 20 + USED block at 188eee2c of size 20 + USED block at 188eee40 of size 20 + USED block at 188eee54 of size 4520 OK - end of heap == far == - USED block at 28a10016 of size 18 - USED block at 28a10028 of size 50 - USED block at 28a1005a of size 50 - USED block at 28a1008c of size 50 - USED block at 28a100be of size 50 - USED block at 28a100f0 of size 50 - USED block at 28a10122 of size 50 - USED block at 28a10154 of size 50 - USED block at 28a10186 of size 50 - USED block at 28a101b8 of size 50 - USED block at 28a101ea of size 50 - USED block at 28a1021c of size 50 - USED block at 28a1024e of size 50 - USED block at 28a10280 of size 50 - USED block at 28a102b2 of size 14 - USED block at 28a102c0 of size 20 - USED block at 28a102d4 of size 136 - USED block at 28a1035c of size 7328 + USED block at 288f0016 of size 136 + USED block at 288f009e of size 68 + USED block at 288f00e2 of size 50 + USED block at 288f0114 of size 50 + USED block at 288f0146 of size 50 + USED block at 288f0178 of size 50 + USED block at 288f01aa of size 50 + USED block at 288f01dc of size 50 + USED block at 288f020e of size 50 + USED block at 288f0240 of size 50 + USED block at 288f0272 of size 50 + USED block at 288f02a4 of size 50 + USED block at 288f02d6 of size 50 + USED block at 288f0308 of size 50 + USED block at 288f033a of size 14 + USED block at 288f0348 of size 20 + USED block at 288f035c of size 7328 OK - end of heap Memory Type Total Used Free ---------------- -------- -------- -------- -Default 8166 806 7360 +Default 8166 756 7410 Near 5014 494 4520 -Far 8166 806 7360 +Far 8166 756 7410 ---------------- -------- -------- -------- coreleft = 4518 -farcoreleft = 28106 -GetFreeSize = 23610 +farcoreleft = 28156 +GetFreeSize = 23660 GetNearFreeSize = 4520 -GetFarFreeSize = 23610 +GetFarFreeSize = 23660 memavl = 4518 -stackavail = 31527 +stackavail = 31529 diff --git a/MMDUMP.16W b/MMDUMP.16W index 1d160611ac58938bdf5375e59a03489f2304d32b..72c45a4eaa8b0423f70fa41071b91419c3cb7d8b 100755 GIT binary patch literal 2550 zcmZ|RxlIK@07OA-Byw02j4#b!?OaIYKniolKpJEWIAEZ%pV2C>!$%0`e7#@Sc|5;A zyc};wI!k(b48P%0ND4)vDGY^$5QBmoQI04_lq1R!<%n`5Ig%VnjwDBtBgv8ENOEL3 zvK(2CEJv0j%aP^Cauhj=97T>IN0Fn*QRFCcR5_{~RgNl0m7~g0<*0HrIhq_zjwVNw zqsh_aXmWHpx*T1OE=QN6%hBcNatt|!97B#F$B<*lG2|F>OgW|;Q;sRelw-;<<(P6T zIhGttjwQ#EW681PSaNJRwj5iIEytE)%dzFyaKr#d3~cMYsPSZjJl* K`0exW+D<8q$Y3^|4zLyjTGlw-;<<(P6zIi?&_jw#2I zW681PSaK{mmK;ltCC8Ry%dzFya%?%a99xbJM+|Vp07ndP!~jPOaHPi+z5jo>H7<|v H{Wo_%wLkaq diff --git a/src/vrstest.c b/src/vrstest.c index d0c8e7e2..d0e2b411 100755 --- a/src/vrstest.c +++ b/src/vrstest.c @@ -20,7 +20,7 @@ * */ -//#include "src/lib/16_head.h" +#include "src/lib/16_head.h" #include "src/lib/16_vl.h" #include "src/lib/16_sprit.h" #include "src/lib/16_tail.h" @@ -37,7 +37,7 @@ void main() { int i; word start; float t1, t2; - boolean baka; + //boolean baka; byte *pal=0; int size=0; struct sprite spri; @@ -55,7 +55,8 @@ void main() { // What should be done by read_vrs: //sega = (mm.bufferseg); - if(CA_LoadFile("data/spri/chikyuu.vrs", &bigbuffer, &gvar)) baka=1; else baka=0; + //if( + CA_LoadFile("data/spri/chikyuu.vrs", &bigbuffer, &gvar);//) baka=1; else baka=0; // Insert sanity cheks later vrs.buffer = bigbuffer; @@ -151,6 +152,6 @@ void main() { //0000 printf("gvar.video.page[0].width: %u\n", gvar.video.page[0].width); //0000 printf("gvar.video.page[0].height: %u\n", gvar.video.page[0].height); printf("Num %d", num_of_vrl); - if(baka) printf("\nyay!\n"); - else printf("\npoo!\n"); +// if(baka) printf("\nyay!\n"); +// else printf("\npoo!\n"); } -- 2.39.5