From: sparky4 Date: Wed, 21 Jun 2017 17:59:10 +0000 (-0500) Subject: 16_ca needs huge amounts of work and I should remember what needs to be done soon... X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=d09e91b0ef220dbfd79d1aa8470668f16c0b6e24;p=16.git 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. --- diff --git a/DEBUG.16B b/DEBUG.16B index a6fb99a9..947c1642 100755 --- a/DEBUG.16B +++ b/DEBUG.16B @@ -1,209 +1,209 @@ -Seg:0 Size:5937 Owner:0x0 -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Seg:1731 Size:256 Owner:0x7867 +Seg:0 Size:5940 Owner:0x0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Seg:1734 Size:256 Owner:0x7879 0 -Seg:1831 Size:256 Owner:0x3634 +Seg:1834 Size:256 Owner:0x3646 0 -Seg:1931 Size:256 Owner:0x3636 +Seg:1934 Size:256 Owner:0x3648 0 -Seg:1a31 Size:256 Owner:0x3638 +Seg:1a34 Size:256 Owner:0x364a 0 -Seg:1b31 Size:256 Owner:0x363a +Seg:1b34 Size:256 Owner:0x364c 0 -Seg:1c31 Size:256 Owner:0x363c +Seg:1c34 Size:256 Owner:0x364e 0 -Seg:1d31 Size:256 Owner:0x363e +Seg:1d34 Size:256 Owner:0x3650 0 -Seg:1e31 Size:256 Owner:0x3640 +Seg:1e34 Size:256 Owner:0x3652 00 Seg:1fbe Size:66 Owner:0x0 0 -Seg:2000 Size:256 Owner:0x3642 +Seg:2000 Size:256 Owner:0x3654 0 -Seg:2100 Size:256 Owner:0x3644 +Seg:2100 Size:256 Owner:0x3656 0 -Seg:2200 Size:256 Owner:0x3646 +Seg:2200 Size:256 Owner:0x3658 0 -Seg:2300 Size:256 Owner:0x3648 +Seg:2300 Size:256 Owner:0x365a 0 -Seg:2400 Size:256 Owner:0x364a +Seg:2400 Size:256 Owner:0x365c 0 -Seg:2500 Size:256 Owner:0x364c +Seg:2500 Size:256 Owner:0x365e 0 -Seg:2600 Size:256 Owner:0x364e +Seg:2600 Size:256 Owner:0x3660 0 -Seg:2700 Size:256 Owner:0x3650 +Seg:2700 Size:256 Owner:0x3662 0 -Seg:2800 Size:256 Owner:0x3652 +Seg:2800 Size:256 Owner:0x3664 0 -Seg:2900 Size:256 Owner:0x3654 +Seg:2900 Size:256 Owner:0x3666 0 -Seg:2a00 Size:256 Owner:0x3656 +Seg:2a00 Size:256 Owner:0x3668 0 -Seg:2b00 Size:256 Owner:0x3658 +Seg:2b00 Size:256 Owner:0x366a 0 -Seg:2c00 Size:256 Owner:0x365a +Seg:2c00 Size:256 Owner:0x366c 0 -Seg:2d00 Size:256 Owner:0x365c +Seg:2d00 Size:256 Owner:0x366e 0 -Seg:2e00 Size:256 Owner:0x365e +Seg:2e00 Size:256 Owner:0x3670 0 -Seg:2f00 Size:256 Owner:0x3660 +Seg:2f00 Size:256 Owner:0x3672 0 -Seg:3000 Size:256 Owner:0x3662 +Seg:3000 Size:256 Owner:0x3674 0 -Seg:3100 Size:256 Owner:0x3664 +Seg:3100 Size:256 Owner:0x3676 0 -Seg:3200 Size:256 Owner:0x3666 +Seg:3200 Size:256 Owner:0x3678 0 -Seg:3300 Size:256 Owner:0x3668 +Seg:3300 Size:256 Owner:0x367a 0 -Seg:3400 Size:256 Owner:0x366a +Seg:3400 Size:256 Owner:0x367c 0 -Seg:3500 Size:256 Owner:0x366c +Seg:3500 Size:256 Owner:0x367e 0 -Seg:3600 Size:256 Owner:0x366e +Seg:3600 Size:256 Owner:0x3680 0 -Seg:3700 Size:256 Owner:0x3670 +Seg:3700 Size:256 Owner:0x3682 0 -Seg:3800 Size:256 Owner:0x3672 +Seg:3800 Size:256 Owner:0x3684 0 -Seg:3900 Size:256 Owner:0x3674 +Seg:3900 Size:256 Owner:0x3686 0 -Seg:3a00 Size:256 Owner:0x3676 +Seg:3a00 Size:256 Owner:0x3688 0 -Seg:3b00 Size:256 Owner:0x3678 +Seg:3b00 Size:256 Owner:0x368a 0 -Seg:3c00 Size:256 Owner:0x367a +Seg:3c00 Size:256 Owner:0x368c 0 -Seg:3d00 Size:256 Owner:0x367c +Seg:3d00 Size:256 Owner:0x368e 0 -Seg:3e00 Size:256 Owner:0x367e +Seg:3e00 Size:256 Owner:0x3690 0 -Seg:3f00 Size:256 Owner:0x3680 +Seg:3f00 Size:256 Owner:0x3692 0 -Seg:4000 Size:256 Owner:0x3682 +Seg:4000 Size:256 Owner:0x3694 0 -Seg:4100 Size:256 Owner:0x3684 +Seg:4100 Size:256 Owner:0x3696 0 -Seg:4200 Size:256 Owner:0x3686 +Seg:4200 Size:256 Owner:0x3698 0 -Seg:4300 Size:256 Owner:0x3688 +Seg:4300 Size:256 Owner:0x369a 0 -Seg:4400 Size:256 Owner:0x368a +Seg:4400 Size:256 Owner:0x369c 0 -Seg:4500 Size:256 Owner:0x368c +Seg:4500 Size:256 Owner:0x369e 0 -Seg:4600 Size:256 Owner:0x368e +Seg:4600 Size:256 Owner:0x36a0 0 -Seg:4700 Size:256 Owner:0x3690 +Seg:4700 Size:256 Owner:0x36a2 0 -Seg:4800 Size:256 Owner:0x3692 +Seg:4800 Size:256 Owner:0x36a4 0 -Seg:4900 Size:256 Owner:0x3694 +Seg:4900 Size:256 Owner:0x36a6 0 -Seg:4a00 Size:256 Owner:0x3696 +Seg:4a00 Size:256 Owner:0x36a8 0 -Seg:4b00 Size:256 Owner:0x3698 +Seg:4b00 Size:256 Owner:0x36aa 0 -Seg:4c00 Size:256 Owner:0x369a +Seg:4c00 Size:256 Owner:0x36ac 0 -Seg:4d00 Size:256 Owner:0x369c +Seg:4d00 Size:256 Owner:0x36ae 0 -Seg:4e00 Size:256 Owner:0x369e +Seg:4e00 Size:256 Owner:0x36b0 0 -Seg:4f00 Size:256 Owner:0x36a0 +Seg:4f00 Size:256 Owner:0x36b2 0 -Seg:5000 Size:256 Owner:0x36a2 +Seg:5000 Size:256 Owner:0x36b4 0 -Seg:5100 Size:256 Owner:0x36a4 +Seg:5100 Size:256 Owner:0x36b6 0 -Seg:5200 Size:256 Owner:0x36a6 +Seg:5200 Size:256 Owner:0x36b8 0 -Seg:5300 Size:256 Owner:0x36a8 +Seg:5300 Size:256 Owner:0x36ba 0 -Seg:5400 Size:256 Owner:0x36aa +Seg:5400 Size:256 Owner:0x36bc 0 -Seg:5500 Size:256 Owner:0x36ac +Seg:5500 Size:256 Owner:0x36be 0 -Seg:5600 Size:256 Owner:0x36ae +Seg:5600 Size:256 Owner:0x36c0 0 -Seg:5700 Size:256 Owner:0x36b0 +Seg:5700 Size:256 Owner:0x36c2 0 -Seg:5800 Size:256 Owner:0x36b2 +Seg:5800 Size:256 Owner:0x36c4 0 -Seg:5900 Size:256 Owner:0x36b4 +Seg:5900 Size:256 Owner:0x36c6 0 -Seg:5a00 Size:256 Owner:0x36b6 +Seg:5a00 Size:256 Owner:0x36c8 0 -Seg:5b00 Size:256 Owner:0x36b8 +Seg:5b00 Size:256 Owner:0x36ca 0 -Seg:5c00 Size:256 Owner:0x36ba +Seg:5c00 Size:256 Owner:0x36cc 0 -Seg:5d00 Size:256 Owner:0x36bc +Seg:5d00 Size:256 Owner:0x36ce 0 -Seg:5e00 Size:256 Owner:0x36be +Seg:5e00 Size:256 Owner:0x36d0 0 -Seg:5f00 Size:256 Owner:0x36c0 +Seg:5f00 Size:256 Owner:0x36d2 0 -Seg:6000 Size:256 Owner:0x36c2 +Seg:6000 Size:256 Owner:0x36d4 0 -Seg:6100 Size:256 Owner:0x36c4 +Seg:6100 Size:256 Owner:0x36d6 0 -Seg:6200 Size:256 Owner:0x36c6 +Seg:6200 Size:256 Owner:0x36d8 0 -Seg:6300 Size:256 Owner:0x36c8 +Seg:6300 Size:256 Owner:0x36da 0 -Seg:6400 Size:256 Owner:0x36ca +Seg:6400 Size:256 Owner:0x36dc 0 -Seg:6500 Size:256 Owner:0x36cc +Seg:6500 Size:256 Owner:0x36de 0 -Seg:6600 Size:256 Owner:0x36ce +Seg:6600 Size:256 Owner:0x36e0 0 -Seg:6700 Size:256 Owner:0x36d0 +Seg:6700 Size:256 Owner:0x36e2 0 -Seg:6800 Size:256 Owner:0x36d2 +Seg:6800 Size:256 Owner:0x36e4 0 -Seg:6900 Size:256 Owner:0x36d4 +Seg:6900 Size:256 Owner:0x36e6 0 -Seg:6a00 Size:256 Owner:0x36d6 +Seg:6a00 Size:256 Owner:0x36e8 0 -Seg:6b00 Size:256 Owner:0x36d8 +Seg:6b00 Size:256 Owner:0x36ea 0 -Seg:6c00 Size:256 Owner:0x36da +Seg:6c00 Size:256 Owner:0x36ec 0 -Seg:6d00 Size:256 Owner:0x36dc +Seg:6d00 Size:256 Owner:0x36ee 0 -Seg:6e00 Size:256 Owner:0x36de +Seg:6e00 Size:256 Owner:0x36f0 0 -Seg:6f00 Size:256 Owner:0x36e0 +Seg:6f00 Size:256 Owner:0x36f2 0 -Seg:7000 Size:256 Owner:0x36e2 +Seg:7000 Size:256 Owner:0x36f4 0 -Seg:7100 Size:256 Owner:0x36e4 +Seg:7100 Size:256 Owner:0x36f6 0 -Seg:7200 Size:256 Owner:0x36e6 +Seg:7200 Size:256 Owner:0x36f8 0 -Seg:7300 Size:256 Owner:0x36e8 +Seg:7300 Size:256 Owner:0x36fa 0 -Seg:7400 Size:256 Owner:0x36ea +Seg:7400 Size:256 Owner:0x36fc 0 -Seg:7500 Size:256 Owner:0x36ec +Seg:7500 Size:256 Owner:0x36fe 0 -Seg:7600 Size:256 Owner:0x36ee +Seg:7600 Size:256 Owner:0x3700 0 -Seg:7700 Size:256 Owner:0x36f0 +Seg:7700 Size:256 Owner:0x3702 0 -Seg:7800 Size:256 Owner:0x36f2 +Seg:7800 Size:256 Owner:0x3704 0 -Seg:7900 Size:256 Owner:0x36f4 +Seg:7900 Size:256 Owner:0x3706 0 -Seg:7a00 Size:256 Owner:0x36f6 +Seg:7a00 Size:256 Owner:0x3708 0 -Seg:7b00 Size:256 Owner:0x36f8 +Seg:7b00 Size:256 Owner:0x370a 0 -Seg:7c00 Size:256 Owner:0x36fa +Seg:7c00 Size:256 Owner:0x370c 0 -Seg:7d00 Size:273 Owner:0x7867 +Seg:7d00 Size:273 Owner:0x7879 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Seg:9ffe Size:24577 Owner:0x0  \ No newline at end of file diff --git a/DEBUG.16W b/DEBUG.16W index c36c8bb5..f0b0171c 100755 --- a/DEBUG.16W +++ b/DEBUG.16W @@ -1,209 +1,209 @@ -Seg:0 Size:8530 Owner:0x0 -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Seg:2152 Size:256 Owner:0x5ddc +Seg:0 Size:8533 Owner:0x0 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Seg:2155 Size:256 Owner:0x5ddc 0 -Seg:2282 Size:76 Owner:0x0 +Seg:2285 Size:76 Owner:0x0 0 -Seg:22ce Size:256 Owner:0x1c12 +Seg:22d1 Size:256 Owner:0x1c12 0 -Seg:23ce Size:256 Owner:0x1c14 +Seg:23d1 Size:256 Owner:0x1c14 0 -Seg:24ce Size:256 Owner:0x1c16 +Seg:24d1 Size:256 Owner:0x1c16 0 -Seg:25ce Size:256 Owner:0x1c18 +Seg:25d1 Size:256 Owner:0x1c18 0 -Seg:26ce Size:256 Owner:0x1c1a +Seg:26d1 Size:256 Owner:0x1c1a 0 -Seg:27ce Size:256 Owner:0x1c1c +Seg:27d1 Size:256 Owner:0x1c1c 0 -Seg:28ce Size:256 Owner:0x1c1e +Seg:28d1 Size:256 Owner:0x1c1e 0 -Seg:29ce Size:256 Owner:0x1c20 +Seg:29d1 Size:256 Owner:0x1c20 0 -Seg:2ace Size:256 Owner:0x1c22 +Seg:2ad1 Size:256 Owner:0x1c22 0 -Seg:2bce Size:256 Owner:0x1c24 +Seg:2bd1 Size:256 Owner:0x1c24 0 -Seg:2cce Size:256 Owner:0x1c26 +Seg:2cd1 Size:256 Owner:0x1c26 0 -Seg:2dce Size:256 Owner:0x1c28 +Seg:2dd1 Size:256 Owner:0x1c28 0 -Seg:2ece Size:256 Owner:0x1c2a +Seg:2ed1 Size:256 Owner:0x1c2a 0 -Seg:2fce Size:256 Owner:0x1c2c +Seg:2fd1 Size:256 Owner:0x1c2c 0 -Seg:30ce Size:256 Owner:0x1c2e +Seg:30d1 Size:256 Owner:0x1c2e 0 -Seg:31ce Size:256 Owner:0x1c30 +Seg:31d1 Size:256 Owner:0x1c30 0 -Seg:32ce Size:256 Owner:0x1c32 +Seg:32d1 Size:256 Owner:0x1c32 0 -Seg:33ce Size:256 Owner:0x1c34 +Seg:33d1 Size:256 Owner:0x1c34 0 -Seg:34ce Size:256 Owner:0x1c36 +Seg:34d1 Size:256 Owner:0x1c36 0 -Seg:35ce Size:256 Owner:0x1c38 +Seg:35d1 Size:256 Owner:0x1c38 0 -Seg:36ce Size:256 Owner:0x1c3a +Seg:36d1 Size:256 Owner:0x1c3a 0 -Seg:37ce Size:256 Owner:0x1c3c +Seg:37d1 Size:256 Owner:0x1c3c 0 -Seg:38ce Size:256 Owner:0x1c3e +Seg:38d1 Size:256 Owner:0x1c3e 0 -Seg:39ce Size:256 Owner:0x1c40 +Seg:39d1 Size:256 Owner:0x1c40 0 -Seg:3ace Size:256 Owner:0x1c42 +Seg:3ad1 Size:256 Owner:0x1c42 0 -Seg:3bce Size:256 Owner:0x1c44 +Seg:3bd1 Size:256 Owner:0x1c44 0 -Seg:3cce Size:256 Owner:0x1c46 +Seg:3cd1 Size:256 Owner:0x1c46 0 -Seg:3dce Size:256 Owner:0x1c48 +Seg:3dd1 Size:256 Owner:0x1c48 0 -Seg:3ece Size:256 Owner:0x1c4a +Seg:3ed1 Size:256 Owner:0x1c4a 0 -Seg:3fce Size:256 Owner:0x1c4c +Seg:3fd1 Size:256 Owner:0x1c4c 0 -Seg:40ce Size:256 Owner:0x1c4e +Seg:40d1 Size:256 Owner:0x1c4e 0 -Seg:41ce Size:256 Owner:0x1c50 +Seg:41d1 Size:256 Owner:0x1c50 0 -Seg:42ce Size:256 Owner:0x1c52 +Seg:42d1 Size:256 Owner:0x1c52 0 -Seg:43ce Size:256 Owner:0x1c54 +Seg:43d1 Size:256 Owner:0x1c54 0 -Seg:44ce Size:256 Owner:0x1c56 +Seg:44d1 Size:256 Owner:0x1c56 0 -Seg:45ce Size:256 Owner:0x1c58 +Seg:45d1 Size:256 Owner:0x1c58 0 -Seg:46ce Size:256 Owner:0x1c5a +Seg:46d1 Size:256 Owner:0x1c5a 0 -Seg:47ce Size:256 Owner:0x1c5c +Seg:47d1 Size:256 Owner:0x1c5c 0 -Seg:48ce Size:256 Owner:0x1c5e +Seg:48d1 Size:256 Owner:0x1c5e 0 -Seg:49ce Size:256 Owner:0x1c60 +Seg:49d1 Size:256 Owner:0x1c60 0 -Seg:4ace Size:256 Owner:0x1c62 +Seg:4ad1 Size:256 Owner:0x1c62 0 -Seg:4bce Size:256 Owner:0x1c64 +Seg:4bd1 Size:256 Owner:0x1c64 0 -Seg:4cce Size:256 Owner:0x1c66 +Seg:4cd1 Size:256 Owner:0x1c66 0 -Seg:4dce Size:256 Owner:0x1c68 +Seg:4dd1 Size:256 Owner:0x1c68 0 -Seg:4ece Size:256 Owner:0x1c6a +Seg:4ed1 Size:256 Owner:0x1c6a 0 -Seg:4fce Size:256 Owner:0x1c6c +Seg:4fd1 Size:256 Owner:0x1c6c 0 -Seg:50ce Size:256 Owner:0x1c6e +Seg:50d1 Size:256 Owner:0x1c6e 0 -Seg:51ce Size:256 Owner:0x1c70 +Seg:51d1 Size:256 Owner:0x1c70 0 -Seg:52ce Size:256 Owner:0x1c72 +Seg:52d1 Size:256 Owner:0x1c72 0 -Seg:53ce Size:256 Owner:0x1c74 +Seg:53d1 Size:256 Owner:0x1c74 0 -Seg:54ce Size:256 Owner:0x1c76 +Seg:54d1 Size:256 Owner:0x1c76 0 -Seg:55ce Size:256 Owner:0x1c78 +Seg:55d1 Size:256 Owner:0x1c78 0 -Seg:56ce Size:256 Owner:0x1c7a +Seg:56d1 Size:256 Owner:0x1c7a 0 -Seg:57ce Size:256 Owner:0x1c7c +Seg:57d1 Size:256 Owner:0x1c7c 0 -Seg:58ce Size:256 Owner:0x1c7e +Seg:58d1 Size:256 Owner:0x1c7e 0 -Seg:59ce Size:256 Owner:0x1c80 +Seg:59d1 Size:256 Owner:0x1c80 0 -Seg:5ace Size:256 Owner:0x1c82 +Seg:5ad1 Size:256 Owner:0x1c82 0 -Seg:5bce Size:256 Owner:0x1c84 +Seg:5bd1 Size:256 Owner:0x1c84 0 -Seg:5cce Size:256 Owner:0x1c86 +Seg:5cd1 Size:256 Owner:0x1c86 0 -Seg:5dce Size:256 Owner:0x1c88 +Seg:5dd1 Size:256 Owner:0x1c88 0 -Seg:5ece Size:256 Owner:0x1c8a +Seg:5ed1 Size:256 Owner:0x1c8a 0 -Seg:5fce Size:256 Owner:0x1c8c +Seg:5fd1 Size:256 Owner:0x1c8c 0 -Seg:60ce Size:256 Owner:0x1c8e +Seg:60d1 Size:256 Owner:0x1c8e 0 -Seg:61ce Size:256 Owner:0x1c90 +Seg:61d1 Size:256 Owner:0x1c90 0 -Seg:62ce Size:256 Owner:0x1c92 +Seg:62d1 Size:256 Owner:0x1c92 0 -Seg:63ce Size:256 Owner:0x1c94 +Seg:63d1 Size:256 Owner:0x1c94 0 -Seg:64ce Size:256 Owner:0x1c96 +Seg:64d1 Size:256 Owner:0x1c96 0 -Seg:65ce Size:256 Owner:0x1c98 +Seg:65d1 Size:256 Owner:0x1c98 0 -Seg:66ce Size:256 Owner:0x1c9a +Seg:66d1 Size:256 Owner:0x1c9a 0 -Seg:67ce Size:256 Owner:0x1c9c +Seg:67d1 Size:256 Owner:0x1c9c 0 -Seg:68ce Size:256 Owner:0x1c9e +Seg:68d1 Size:256 Owner:0x1c9e 0 -Seg:69ce Size:256 Owner:0x1ca0 +Seg:69d1 Size:256 Owner:0x1ca0 0 -Seg:6ace Size:256 Owner:0x1ca2 +Seg:6ad1 Size:256 Owner:0x1ca2 0 -Seg:6bce Size:256 Owner:0x1ca4 +Seg:6bd1 Size:256 Owner:0x1ca4 0 -Seg:6cce Size:256 Owner:0x1ca6 +Seg:6cd1 Size:256 Owner:0x1ca6 0 -Seg:6dce Size:256 Owner:0x1ca8 +Seg:6dd1 Size:256 Owner:0x1ca8 0 -Seg:6ece Size:256 Owner:0x1caa +Seg:6ed1 Size:256 Owner:0x1caa 0 -Seg:6fce Size:256 Owner:0x1cac +Seg:6fd1 Size:256 Owner:0x1cac 0 -Seg:70ce Size:256 Owner:0x1cae +Seg:70d1 Size:256 Owner:0x1cae 0 -Seg:71ce Size:256 Owner:0x1cb0 +Seg:71d1 Size:256 Owner:0x1cb0 0 -Seg:72ce Size:256 Owner:0x1cb2 +Seg:72d1 Size:256 Owner:0x1cb2 0 -Seg:73ce Size:256 Owner:0x1cb4 +Seg:73d1 Size:256 Owner:0x1cb4 0 -Seg:74ce Size:256 Owner:0x1cb6 +Seg:74d1 Size:256 Owner:0x1cb6 0 -Seg:75ce Size:256 Owner:0x1cb8 +Seg:75d1 Size:256 Owner:0x1cb8 0 -Seg:76ce Size:256 Owner:0x1cba +Seg:76d1 Size:256 Owner:0x1cba 0 -Seg:77ce Size:256 Owner:0x1cbc +Seg:77d1 Size:256 Owner:0x1cbc 0 -Seg:78ce Size:256 Owner:0x1cbe +Seg:78d1 Size:256 Owner:0x1cbe 0 -Seg:79ce Size:256 Owner:0x1cc0 +Seg:79d1 Size:256 Owner:0x1cc0 0 -Seg:7ace Size:256 Owner:0x1cc2 +Seg:7ad1 Size:256 Owner:0x1cc2 0 -Seg:7bce Size:256 Owner:0x1cc4 +Seg:7bd1 Size:256 Owner:0x1cc4 0 -Seg:7cce Size:256 Owner:0x1cc6 +Seg:7cd1 Size:256 Owner:0x1cc6 0 -Seg:7dce Size:256 Owner:0x1cc8 +Seg:7dd1 Size:256 Owner:0x1cc8 0 -Seg:7ece Size:256 Owner:0x1cca +Seg:7ed1 Size:256 Owner:0x1cca 0 -Seg:7fce Size:256 Owner:0x1ccc +Seg:7fd1 Size:256 Owner:0x1ccc 0 -Seg:80ce Size:256 Owner:0x1cce +Seg:80d1 Size:256 Owner:0x1cce 0 -Seg:81ce Size:256 Owner:0x1cd0 +Seg:81d1 Size:256 Owner:0x1cd0 0 -Seg:82ce Size:256 Owner:0x1cd2 +Seg:82d1 Size:256 Owner:0x1cd2 0 -Seg:83ce Size:256 Owner:0x1cd4 +Seg:83d1 Size:256 Owner:0x1cd4 0 -Seg:84ce Size:256 Owner:0x1cd6 +Seg:84d1 Size:256 Owner:0x1cd6 0 -Seg:85ce Size:256 Owner:0x1cd8 +Seg:85d1 Size:256 Owner:0x1cd8 0 -Seg:86ce Size:273 Owner:0x5ddc +Seg:86d1 Size:273 Owner:0x5ddc 00000000000000000000000000000000000000000000000000000000000000000000000000 -Seg:9eb9 Size:24902 Owner:0x0 +Seg:9ebc Size:24899 Owner:0x0  \ No newline at end of file diff --git a/HEAP.16B b/HEAP.16B index 1eb72026..fc151b19 100755 --- a/HEAP.16B +++ b/HEAP.16B @@ -1,14 +1,14 @@ == near == - FREE block at 170B:0004 of size 528 - FREE block at 172C:0004 of size 64 + FREE block at 170E:0004 of size 528 + FREE block at 172F:0004 of size 64 OK - end of heap == far == - FREE block at 170B:0004 of size 528 - FREE block at 172C:0004 of size 64 + FREE block at 170E:0004 of size 528 + FREE block at 172F:0004 of size 64 OK - end of heap Memory Type Total Used Free @@ -16,7 +16,7 @@ Memory Type Total Used Free Near 592 0 0 Far 592 0 0 ---------------- -------- -------- -------- -HC_coreleft = 35939 +HC_coreleft = 35891 HC_farcoreleft = 0 HC_GetNearFreeSize = 0 HC_GetFarFreeSize = 0 diff --git a/HEAP.16W b/HEAP.16W index d052c750..65ec0596 100755 --- a/HEAP.16W +++ b/HEAP.16W @@ -1,30 +1,30 @@ == near == - USED block at 12c3:e706 of size 12 - USED block at 12c3:e712 of size 322 - USED block at 12c3:e854 of size 52 - USED block at 12c3:e888 of size 20 - USED block at 12c3:e89c of size 20 - USED block at 12c3:e8b0 of size 20 - USED block at 12c3:e8c4 of size 20 - USED block at 12c3:e8d8 of size 20 - FREE block at 12c3:e8ec of size 5904 + 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 OK - end of heap == far == - USED block at 22c4:0016 of size 136 - FREE block at 22c4:009e of size 48840 - USED block at 22c4:bf66 of size 20 - FREE block at 22c4:bf7a of size 16514 - FREE block at 32c5:0016 of size 65510 - FREE block at 42c6:0016 of size 65510 - FREE block at 52c7:0016 of size 65510 - FREE block at 62c8:0016 of size 65510 - FREE block at 72c9:0016 of size 65510 - FREE block at 82ca:0016 of size 65510 - FREE block at 92cb:0016 of size 49174 + USED block at 22c7:0016 of size 136 + FREE block at 22c7:009e of size 48840 + USED block at 22c7:bf66 of size 20 + FREE block at 22c7:bf7a of size 16514 + FREE block at 32c8:0016 of size 65510 + FREE block at 42c9:0016 of size 65510 + FREE block at 52ca:0016 of size 65510 + FREE block at 62cb:0016 of size 65510 + FREE block at 72cc:0016 of size 65510 + FREE block at 82cd:0016 of size 65510 + FREE block at 92ce:0016 of size 49174 OK - end of heap Memory Type Total Used Free diff --git a/MMDUMP.16B b/MMDUMP.16B index 017a1013..2e37b343 100755 Binary files a/MMDUMP.16B and b/MMDUMP.16B differ diff --git a/bcexmm.exe b/bcexmm.exe index d7b599a7..f5d79712 100755 Binary files a/bcexmm.exe and b/bcexmm.exe differ diff --git a/src/exmmtest.c b/src/exmmtest.c index 056e24fa..acfc90e5 100755 --- a/src/exmmtest.c +++ b/src/exmmtest.c @@ -22,51 +22,7 @@ /* exmm test */ -#include "src/lib/16_head.h" -#include "src/lib/16_tail.h" -#include "src/lib/16_pm.h" -#include "src/lib/16_ca.h" -#include "src/lib/16_mm.h" -#include "src/lib/16_hc.h" -#include "src/lib/16_dbg.h" - -#pragma hdrstop - -#pragma warn -pro -#pragma warn -use - -//file load or read definition -#define FILEREADLOAD -#define FILEREAD -//#define EXMMVERBOSE -//#define BUFFDUMPPAUSE -//#define EXMMVERBOSE__ -// #define PRINTBBDUMP -#define BUFFDUMP - -#ifdef __BORLANDC__ -#define NOVID -#endif -#ifdef __WATCOMC__ -#define NOVID -//#define SCROLLLOAD -#endif - - -#define KEYP IN_Shutdown(&gvar); printf("\n\npress any key to continue!\n"); getch(); IN_Startup(&gvar); - -#define BBUFNAME gvar.mm.bufferseg//bigbuffer -//#define INITBBUF static memptr BBUFNAME; -#define BBUFPTR MEMPTRCONV BBUFNAME - -#ifdef __BORLANDC__ -#define BBUF (memptr *)BBUFPTR -#define BBUFSTRING (memptr *)BBUFNAME -#endif -#ifdef __WATCOMC__ -#define BBUF BBUFNAME -#define BBUFSTRING BBUF -#endif +#include "src/exmmtest.h" //////////////////////////////////////////////////////////////////////////// #ifdef NOVID @@ -104,23 +60,6 @@ void modexpdump(nibble pagenum, global_game_variables_t *gvar){} #endif #endif -//printf("* %Fp\t", *BBUF); -//printf("* %04x\t", *BBUF); -#define PRINTBB {\ - printf("-------------------------------------------------------------------------------\n");\ - printf("&main()= %Fp\n", argv[0]);\ - printf("buffer:\n");\ - printf(" %Fp\t", BBUF);\ - printf("&%Fp\n", BBUFPTR);\ - printf(" %04x\t", BBUF);\ - printf("& %04x\n", BBUFPTR);\ - printf("-------------------------------------------------------------------------------\n");\ -} - //printf("&main()= %Fp\n", *argv[0]); - //printf("bigbuffer= %Fp\n", bigbuffer); - //printf("&bigbuffer= %Fp\n", &bigbuffer); - //printf("bigbuffer= %04x\n", bigbuffer); - //printf("&bigbuffer= %04x\n", &bigbuffer); #ifdef __WATCOMC__ void segatesuto() { @@ -197,6 +136,7 @@ main(int argc, char *argv[]) printf("coreleft(): %u\n", coreleft()); printf("farcoreleft(): %ld\n", farcoreleft()); #endif + printf("stackavail()=%u\n", stackavail()); KEYP #ifndef NOVID diff --git a/src/exmmtest.h b/src/exmmtest.h new file mode 100755 index 00000000..3666dfd1 --- /dev/null +++ b/src/exmmtest.h @@ -0,0 +1,92 @@ +/* Project 16 Source Code~ + * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover + * + * This file is part of Project 16. + * + * Project 16 is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * Project 16 is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see , or + * write to the Free Software Foundation, Inc., 51 Franklin Street, + * Fifth Floor, Boston, MA 02110-1301 USA. + * + */ +/* + exmm test +*/ +#ifndef __EXMMTEST_H__ +#define __EXMMTEST_H__ + +#include "src/lib/16_head.h" +#include "src/lib/16_tail.h" +#include "src/lib/16_pm.h" +#include "src/lib/16_ca.h" +#include "src/lib/16_mm.h" +#include "src/lib/16_hc.h" +#include "src/lib/16_dbg.h" + +#pragma hdrstop + +#pragma warn -pro +#pragma warn -use + +//file load or read definition +#define FILEREADLOAD +#define FILEREAD +//#define EXMMVERBOSE +//#define BUFFDUMPPAUSE +//#define EXMMVERBOSE__ +// #define PRINTBBDUMP +#define BUFFDUMP + +#ifdef __BORLANDC__ +#define NOVID +#endif +#ifdef __WATCOMC__ +#define NOVID +//#define SCROLLLOAD +#endif + +#define KEYP IN_Shutdown(&gvar); printf("\n\npress any key to continue!\n"); getch(); IN_Startup(&gvar); + +#define BBUFNAME gvar.mm.bufferseg//bigbuffer +//#define INITBBUF static memptr BBUFNAME; +#define BBUFPTR MEMPTRCONV BBUFNAME + +#ifdef __BORLANDC__ +#define BBUF (memptr *)BBUFPTR +#define BBUFSTRING (memptr *)BBUFNAME +#endif +#ifdef __WATCOMC__ +#define BBUF BBUFNAME +#define BBUFSTRING BBUF +#endif + + +//printf("* %Fp\t", *BBUF); +//printf("* %04x\t", *BBUF); +#define PRINTBB {\ + printf("-------------------------------------------------------------------------------\n");\ + printf("&main()= %Fp\n", argv[0]);\ + printf("buffer:\n");\ + printf(" %Fp\t", BBUF);\ + printf("&%Fp\n", BBUFPTR);\ + printf(" %04x\t", BBUF);\ + printf("& %04x\n", BBUFPTR);\ + printf("-------------------------------------------------------------------------------\n");\ +} + //printf("&main()= %Fp\n", *argv[0]); + //printf("bigbuffer= %Fp\n", bigbuffer); + //printf("&bigbuffer= %Fp\n", &bigbuffer); + //printf("bigbuffer= %04x\n", bigbuffer); + //printf("&bigbuffer= %04x\n", &bigbuffer); + +#endif /*__EXMMTEST_H__*/ diff --git a/src/lib/16_ca.c b/src/lib/16_ca.c index c00d7c90..d48a46df 100755 --- a/src/lib/16_ca.c +++ b/src/lib/16_ca.c @@ -1,19 +1,23 @@ -/* Catacomb Apocalypse Source Code - * Copyright (C) 1993-2014 Flat Rock Software +/* Project 16 Source Code~ + * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover * - * This program is free software; you can redistribute it and/or modify + * This file is part of Project 16. + * + * Project 16 is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * Project 16 is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see , or + * write to the Free Software Foundation, Inc., 51 Franklin Street, + * Fifth Floor, Boston, MA 02110-1301 USA. + * */ // ID_CA.C diff --git a/src/lib/16_ca.h b/src/lib/16_ca.h index db9cba58..b69e96d4 100755 --- a/src/lib/16_ca.h +++ b/src/lib/16_ca.h @@ -1,19 +1,23 @@ -/* Catacomb Apocalypse Source Code - * Copyright (C) 1993-2014 Flat Rock Software +/* Project 16 Source Code~ + * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover * - * This program is free software; you can redistribute it and/or modify + * This file is part of Project 16. + * + * Project 16 is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, + * Project 16 is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * You should have received a copy of the GNU General Public License + * along with this program. If not, see , or + * write to the Free Software Foundation, Inc., 51 Franklin Street, + * Fifth Floor, Boston, MA 02110-1301 USA. + * */ // ID_CA.H diff --git a/src/lib/16_dbg.c b/src/lib/16_dbg.c index ff7d0a8e..5ab4c5dd 100755 --- a/src/lib/16_dbg.c +++ b/src/lib/16_dbg.c @@ -1,3 +1,25 @@ +/* Project 16 Source Code~ + * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover + * + * This file is part of Project 16. + * + * Project 16 is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * Project 16 is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see , or + * write to the Free Software Foundation, Inc., 51 Franklin Street, + * Fifth Floor, Boston, MA 02110-1301 USA. + * + */ + #include "src/lib/16_dbg.h" #ifdef __DEBUG__ diff --git a/src/lib/16_dbg.h b/src/lib/16_dbg.h index 3a2ce94c..6983524e 100755 --- a/src/lib/16_dbg.h +++ b/src/lib/16_dbg.h @@ -1,3 +1,24 @@ +/* Project 16 Source Code~ + * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover + * + * This file is part of Project 16. + * + * Project 16 is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * Project 16 is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see , or + * write to the Free Software Foundation, Inc., 51 Franklin Street, + * Fifth Floor, Boston, MA 02110-1301 USA. + * + */ #ifndef _SRC_LIB_16_DBG #define _SRC_LIB_16_DBG diff --git a/src/lib/16_dbg_1.c b/src/lib/16_dbg_1.c index 03c86f5e..4c72364b 100755 --- a/src/lib/16_dbg_1.c +++ b/src/lib/16_dbg_1.c @@ -1,3 +1,25 @@ +/* Project 16 Source Code~ + * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover + * + * This file is part of Project 16. + * + * Project 16 is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * Project 16 is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see , or + * write to the Free Software Foundation, Inc., 51 Franklin Street, + * Fifth Floor, Boston, MA 02110-1301 USA. + * + */ + #include "src/lib/16_dbg.h" // TODO: Could we also provide a build mode to emit debug to the "Bochs E9 hack?" diff --git a/src/lib/16_hc.c b/src/lib/16_hc.c index 6cc16f5f..2d747f67 100755 --- a/src/lib/16_hc.c +++ b/src/lib/16_hc.c @@ -20,7 +20,7 @@ * */ /* - heap test stuff + heap check */ #include "src/lib/16_hc.h" diff --git a/src/lib/doslib b/src/lib/doslib index 970fddf7..54228fcf 160000 --- a/src/lib/doslib +++ b/src/lib/doslib @@ -1 +1 @@ -Subproject commit 970fddf745e08149bf4625052c4ea1e6dc42909e +Subproject commit 54228fcf96270078d6bfb8c806922e48bbb3ad89