From a8929a8d5299422ad98dddbb8451e1434a128b0c Mon Sep 17 00:00:00 2001 From: sparky4 Date: Sat, 12 Nov 2022 21:00:45 -0600 Subject: [PATCH] fixed a bug xD i need help .... --- PCXTEST.LOG | 13 ++++++++----- src/lib/16_pm.c | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/PCXTEST.LOG b/PCXTEST.LOG index 1f2aad03..0fc14dba 100755 --- a/PCXTEST.LOG +++ b/PCXTEST.LOG @@ -1,5 +1,8 @@ -36241412 -11264 -11264 -LONG_MAX : 2147483647 -Could not allocate memory for bitmap data. \ No newline at end of file +bakapee1[data\maryai.pcx] +bakapee2[data/test.map] +stackavail()=32569 + + +press any key to continue! +======================================load===================================== +okay diff --git a/src/lib/16_pm.c b/src/lib/16_pm.c index 506833f8..95a23297 100755 --- a/src/lib/16_pm.c +++ b/src/lib/16_pm.c @@ -393,7 +393,7 @@ End1: #ifdef __DEBUG_PM__ printf("XMSVer=%02X ", XMSVer); printf("XMSAvail=%u\n", XMSAvail); - getch(); +// getch(); #endif XMSAvail &= ~(PMPageSizeKB - 1); // Round off to nearest page size if (XMSAvail < (PMPageSizeKB * 2)) // Need at least 2 pages -- 2.39.5