From dc97e3218df54bb794b62ed47a81b199aaeb38fd Mon Sep 17 00:00:00 2001 From: sparky4 Date: Wed, 21 Jun 2017 13:11:34 -0500 Subject: [PATCH] 16_ca needs huge amounts of work and I should remember what needs to be done soon[going to port rest of code to borland c some time so we can use the core components of id engine here ][going to add 16_us.c eventually but the debug system and CA_ PM_ and MM_ usage is priority now]older zcroll renamed to xcroll][zcroll is now the pre menu game loop system with PROPER data usage with CAMMPM] added 1st scroll back [i work on CA] palette debug show values added wwww and i need to know how to see vrs/vrl imaage data palette index numbers [i am trying to find out how the hell you get the index number values of VRL/VRS] [CA_CacheMap added seems to be used in start a new game] what is mapsegs? bcexmm reports normally again... it acts funny with a unsigned long being assigned coreleft()'s value[vrldbg.exe added for a dirivative of vrldbg thanks johncampbell321\!] i did some small things here and there. and shrinked the stack --- DEBUG.16W | 212 +++++++++++++++++++++++++++--------------------------- HEAP.16W | 32 ++++----- makefile | 4 +- 3 files changed, 124 insertions(+), 124 deletions(-) diff --git a/DEBUG.16W b/DEBUG.16W index f0b0171c..88dbd4db 100755 --- a/DEBUG.16W +++ b/DEBUG.16W @@ -1,209 +1,209 @@ -Seg:0 Size:8533 Owner:0x0 -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Seg:2155 Size:256 Owner:0x5ddc +Seg:0 Size:8021 Owner:0x0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Seg:1f55 Size:256 Owner:0x5ddc 0 -Seg:2285 Size:76 Owner:0x0 -0 -Seg:22d1 Size:256 Owner:0x1c12 +Seg:2055 Size:256 Owner:0x1c12 0 -Seg:23d1 Size:256 Owner:0x1c14 +Seg:2155 Size:256 Owner:0x1c14 0 -Seg:24d1 Size:256 Owner:0x1c16 +Seg:2285 Size:76 Owner:0x0 +0 +Seg:22d1 Size:256 Owner:0x1c16 0 -Seg:25d1 Size:256 Owner:0x1c18 +Seg:23d1 Size:256 Owner:0x1c18 0 -Seg:26d1 Size:256 Owner:0x1c1a +Seg:24d1 Size:256 Owner:0x1c1a 0 -Seg:27d1 Size:256 Owner:0x1c1c +Seg:25d1 Size:256 Owner:0x1c1c 0 -Seg:28d1 Size:256 Owner:0x1c1e +Seg:26d1 Size:256 Owner:0x1c1e 0 -Seg:29d1 Size:256 Owner:0x1c20 +Seg:27d1 Size:256 Owner:0x1c20 0 -Seg:2ad1 Size:256 Owner:0x1c22 +Seg:28d1 Size:256 Owner:0x1c22 0 -Seg:2bd1 Size:256 Owner:0x1c24 +Seg:29d1 Size:256 Owner:0x1c24 0 -Seg:2cd1 Size:256 Owner:0x1c26 +Seg:2ad1 Size:256 Owner:0x1c26 0 -Seg:2dd1 Size:256 Owner:0x1c28 +Seg:2bd1 Size:256 Owner:0x1c28 0 -Seg:2ed1 Size:256 Owner:0x1c2a +Seg:2cd1 Size:256 Owner:0x1c2a 0 -Seg:2fd1 Size:256 Owner:0x1c2c +Seg:2dd1 Size:256 Owner:0x1c2c 0 -Seg:30d1 Size:256 Owner:0x1c2e +Seg:2ed1 Size:256 Owner:0x1c2e 0 -Seg:31d1 Size:256 Owner:0x1c30 +Seg:2fd1 Size:256 Owner:0x1c30 0 -Seg:32d1 Size:256 Owner:0x1c32 +Seg:30d1 Size:256 Owner:0x1c32 0 -Seg:33d1 Size:256 Owner:0x1c34 +Seg:31d1 Size:256 Owner:0x1c34 0 -Seg:34d1 Size:256 Owner:0x1c36 +Seg:32d1 Size:256 Owner:0x1c36 0 -Seg:35d1 Size:256 Owner:0x1c38 +Seg:33d1 Size:256 Owner:0x1c38 0 -Seg:36d1 Size:256 Owner:0x1c3a +Seg:34d1 Size:256 Owner:0x1c3a 0 -Seg:37d1 Size:256 Owner:0x1c3c +Seg:35d1 Size:256 Owner:0x1c3c 0 -Seg:38d1 Size:256 Owner:0x1c3e +Seg:36d1 Size:256 Owner:0x1c3e 0 -Seg:39d1 Size:256 Owner:0x1c40 +Seg:37d1 Size:256 Owner:0x1c40 0 -Seg:3ad1 Size:256 Owner:0x1c42 +Seg:38d1 Size:256 Owner:0x1c42 0 -Seg:3bd1 Size:256 Owner:0x1c44 +Seg:39d1 Size:256 Owner:0x1c44 0 -Seg:3cd1 Size:256 Owner:0x1c46 +Seg:3ad1 Size:256 Owner:0x1c46 0 -Seg:3dd1 Size:256 Owner:0x1c48 +Seg:3bd1 Size:256 Owner:0x1c48 0 -Seg:3ed1 Size:256 Owner:0x1c4a +Seg:3cd1 Size:256 Owner:0x1c4a 0 -Seg:3fd1 Size:256 Owner:0x1c4c +Seg:3dd1 Size:256 Owner:0x1c4c 0 -Seg:40d1 Size:256 Owner:0x1c4e +Seg:3ed1 Size:256 Owner:0x1c4e 0 -Seg:41d1 Size:256 Owner:0x1c50 +Seg:3fd1 Size:256 Owner:0x1c50 0 -Seg:42d1 Size:256 Owner:0x1c52 +Seg:40d1 Size:256 Owner:0x1c52 0 -Seg:43d1 Size:256 Owner:0x1c54 +Seg:41d1 Size:256 Owner:0x1c54 0 -Seg:44d1 Size:256 Owner:0x1c56 +Seg:42d1 Size:256 Owner:0x1c56 0 -Seg:45d1 Size:256 Owner:0x1c58 +Seg:43d1 Size:256 Owner:0x1c58 0 -Seg:46d1 Size:256 Owner:0x1c5a +Seg:44d1 Size:256 Owner:0x1c5a 0 -Seg:47d1 Size:256 Owner:0x1c5c +Seg:45d1 Size:256 Owner:0x1c5c 0 -Seg:48d1 Size:256 Owner:0x1c5e +Seg:46d1 Size:256 Owner:0x1c5e 0 -Seg:49d1 Size:256 Owner:0x1c60 +Seg:47d1 Size:256 Owner:0x1c60 0 -Seg:4ad1 Size:256 Owner:0x1c62 +Seg:48d1 Size:256 Owner:0x1c62 0 -Seg:4bd1 Size:256 Owner:0x1c64 +Seg:49d1 Size:256 Owner:0x1c64 0 -Seg:4cd1 Size:256 Owner:0x1c66 +Seg:4ad1 Size:256 Owner:0x1c66 0 -Seg:4dd1 Size:256 Owner:0x1c68 +Seg:4bd1 Size:256 Owner:0x1c68 0 -Seg:4ed1 Size:256 Owner:0x1c6a +Seg:4cd1 Size:256 Owner:0x1c6a 0 -Seg:4fd1 Size:256 Owner:0x1c6c +Seg:4dd1 Size:256 Owner:0x1c6c 0 -Seg:50d1 Size:256 Owner:0x1c6e +Seg:4ed1 Size:256 Owner:0x1c6e 0 -Seg:51d1 Size:256 Owner:0x1c70 +Seg:4fd1 Size:256 Owner:0x1c70 0 -Seg:52d1 Size:256 Owner:0x1c72 +Seg:50d1 Size:256 Owner:0x1c72 0 -Seg:53d1 Size:256 Owner:0x1c74 +Seg:51d1 Size:256 Owner:0x1c74 0 -Seg:54d1 Size:256 Owner:0x1c76 +Seg:52d1 Size:256 Owner:0x1c76 0 -Seg:55d1 Size:256 Owner:0x1c78 +Seg:53d1 Size:256 Owner:0x1c78 0 -Seg:56d1 Size:256 Owner:0x1c7a +Seg:54d1 Size:256 Owner:0x1c7a 0 -Seg:57d1 Size:256 Owner:0x1c7c +Seg:55d1 Size:256 Owner:0x1c7c 0 -Seg:58d1 Size:256 Owner:0x1c7e +Seg:56d1 Size:256 Owner:0x1c7e 0 -Seg:59d1 Size:256 Owner:0x1c80 +Seg:57d1 Size:256 Owner:0x1c80 0 -Seg:5ad1 Size:256 Owner:0x1c82 +Seg:58d1 Size:256 Owner:0x1c82 0 -Seg:5bd1 Size:256 Owner:0x1c84 +Seg:59d1 Size:256 Owner:0x1c84 0 -Seg:5cd1 Size:256 Owner:0x1c86 +Seg:5ad1 Size:256 Owner:0x1c86 0 -Seg:5dd1 Size:256 Owner:0x1c88 +Seg:5bd1 Size:256 Owner:0x1c88 0 -Seg:5ed1 Size:256 Owner:0x1c8a +Seg:5cd1 Size:256 Owner:0x1c8a 0 -Seg:5fd1 Size:256 Owner:0x1c8c +Seg:5dd1 Size:256 Owner:0x1c8c 0 -Seg:60d1 Size:256 Owner:0x1c8e +Seg:5ed1 Size:256 Owner:0x1c8e 0 -Seg:61d1 Size:256 Owner:0x1c90 +Seg:5fd1 Size:256 Owner:0x1c90 0 -Seg:62d1 Size:256 Owner:0x1c92 +Seg:60d1 Size:256 Owner:0x1c92 0 -Seg:63d1 Size:256 Owner:0x1c94 +Seg:61d1 Size:256 Owner:0x1c94 0 -Seg:64d1 Size:256 Owner:0x1c96 +Seg:62d1 Size:256 Owner:0x1c96 0 -Seg:65d1 Size:256 Owner:0x1c98 +Seg:63d1 Size:256 Owner:0x1c98 0 -Seg:66d1 Size:256 Owner:0x1c9a +Seg:64d1 Size:256 Owner:0x1c9a 0 -Seg:67d1 Size:256 Owner:0x1c9c +Seg:65d1 Size:256 Owner:0x1c9c 0 -Seg:68d1 Size:256 Owner:0x1c9e +Seg:66d1 Size:256 Owner:0x1c9e 0 -Seg:69d1 Size:256 Owner:0x1ca0 +Seg:67d1 Size:256 Owner:0x1ca0 0 -Seg:6ad1 Size:256 Owner:0x1ca2 +Seg:68d1 Size:256 Owner:0x1ca2 0 -Seg:6bd1 Size:256 Owner:0x1ca4 +Seg:69d1 Size:256 Owner:0x1ca4 0 -Seg:6cd1 Size:256 Owner:0x1ca6 +Seg:6ad1 Size:256 Owner:0x1ca6 0 -Seg:6dd1 Size:256 Owner:0x1ca8 +Seg:6bd1 Size:256 Owner:0x1ca8 0 -Seg:6ed1 Size:256 Owner:0x1caa +Seg:6cd1 Size:256 Owner:0x1caa 0 -Seg:6fd1 Size:256 Owner:0x1cac +Seg:6dd1 Size:256 Owner:0x1cac 0 -Seg:70d1 Size:256 Owner:0x1cae +Seg:6ed1 Size:256 Owner:0x1cae 0 -Seg:71d1 Size:256 Owner:0x1cb0 +Seg:6fd1 Size:256 Owner:0x1cb0 0 -Seg:72d1 Size:256 Owner:0x1cb2 +Seg:70d1 Size:256 Owner:0x1cb2 0 -Seg:73d1 Size:256 Owner:0x1cb4 +Seg:71d1 Size:256 Owner:0x1cb4 0 -Seg:74d1 Size:256 Owner:0x1cb6 +Seg:72d1 Size:256 Owner:0x1cb6 0 -Seg:75d1 Size:256 Owner:0x1cb8 +Seg:73d1 Size:256 Owner:0x1cb8 0 -Seg:76d1 Size:256 Owner:0x1cba +Seg:74d1 Size:256 Owner:0x1cba 0 -Seg:77d1 Size:256 Owner:0x1cbc +Seg:75d1 Size:256 Owner:0x1cbc 0 -Seg:78d1 Size:256 Owner:0x1cbe +Seg:76d1 Size:256 Owner:0x1cbe 0 -Seg:79d1 Size:256 Owner:0x1cc0 +Seg:77d1 Size:256 Owner:0x1cc0 0 -Seg:7ad1 Size:256 Owner:0x1cc2 +Seg:78d1 Size:256 Owner:0x1cc2 0 -Seg:7bd1 Size:256 Owner:0x1cc4 +Seg:79d1 Size:256 Owner:0x1cc4 0 -Seg:7cd1 Size:256 Owner:0x1cc6 +Seg:7ad1 Size:256 Owner:0x1cc6 0 -Seg:7dd1 Size:256 Owner:0x1cc8 +Seg:7bd1 Size:256 Owner:0x1cc8 0 -Seg:7ed1 Size:256 Owner:0x1cca +Seg:7cd1 Size:256 Owner:0x1cca 0 -Seg:7fd1 Size:256 Owner:0x1ccc +Seg:7dd1 Size:256 Owner:0x1ccc 0 -Seg:80d1 Size:256 Owner:0x1cce +Seg:7ed1 Size:256 Owner:0x1cce 0 -Seg:81d1 Size:256 Owner:0x1cd0 +Seg:7fd1 Size:256 Owner:0x1cd0 0 -Seg:82d1 Size:256 Owner:0x1cd2 +Seg:80d1 Size:256 Owner:0x1cd2 0 -Seg:83d1 Size:256 Owner:0x1cd4 +Seg:81d1 Size:256 Owner:0x1cd4 0 -Seg:84d1 Size:256 Owner:0x1cd6 +Seg:82d1 Size:256 Owner:0x1cd6 0 -Seg:85d1 Size:256 Owner:0x1cd8 +Seg:83d1 Size:256 Owner:0x1cd8 0 -Seg:86d1 Size:273 Owner:0x5ddc -00000000000000000000000000000000000000000000000000000000000000000000000000 +Seg:84d1 Size:273 Owner:0x5ddc +00000000000000000000000000000000000000000000000000000000000000000000000000000000 Seg:9ebc Size:24899 Owner:0x0  \ No newline at end of file diff --git a/HEAP.16W b/HEAP.16W index 65ec0596..aab6eb8e 100755 --- a/HEAP.16W +++ b/HEAP.16W @@ -1,15 +1,15 @@ == near == - USED block at 12c6:e706 of size 12 - USED block at 12c6:e712 of size 322 - USED block at 12c6:e854 of size 52 - USED block at 12c6:e888 of size 20 - USED block at 12c6:e89c of size 20 - USED block at 12c6:e8b0 of size 20 - USED block at 12c6:e8c4 of size 20 - USED block at 12c6:e8d8 of size 20 - FREE block at 12c6:e8ec of size 5904 + USED block at 12c6:c706 of size 12 + USED block at 12c6:c712 of size 322 + USED block at 12c6:c854 of size 52 + USED block at 12c6:c888 of size 20 + USED block at 12c6:c89c of size 20 + USED block at 12c6:c8b0 of size 20 + USED block at 12c6:c8c4 of size 20 + USED block at 12c6:c8d8 of size 20 + FREE block at 12c6:c8ec of size 14096 OK - end of heap == far == @@ -29,13 +29,13 @@ OK - end of heap Memory Type Total Used Free ---------------- -------- -------- -------- -Near 6390 486 5904 +Near 14582 486 14096 Far 48992 156 48836 ---------------- -------- -------- -------- -HC_coreleft = 5902 -HC_farcoreleft = 513472 -HC_GetNearFreeSize = 5904 +HC_coreleft = 14094 +HC_farcoreleft = 521664 +HC_GetNearFreeSize = 14096 HC_GetFarFreeSize = 507588 -coreleft = 5902 -farcoreleft = 513472 -stackavail = 31454 +coreleft = 14094 +farcoreleft = 521664 +stackavail = 23262 diff --git a/makefile b/makefile index e8313efe..2e6ec7e4 100755 --- a/makefile +++ b/makefile @@ -119,8 +119,8 @@ UPXQ=-qqq # # stacksize # -STKSIZ=32768 -#24576#40960 +STKSIZ=24576 +#32768#40960 # # compile flags -- 2.39.5