From: sparky4 Date: Wed, 28 Sep 2016 18:42:41 +0000 (-0500) Subject: ====XMS MOSTLY translated but crashes EXMMTEST.EXE ==== X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=cf07aa1a41fba0c2a0013b83b9a70d8591eae4f1;p=16.git ====XMS MOSTLY translated but crashes EXMMTEST.EXE ==== --- diff --git a/bcexmm.exe b/bcexmm.exe index cd232978..ce9344aa 100755 Binary files a/bcexmm.exe and b/bcexmm.exe differ diff --git a/bcexmm.prj b/bcexmm.prj index 5e2688e8..e49efa5b 100755 Binary files a/bcexmm.prj and b/bcexmm.prj differ diff --git a/src/exmmtest.c b/src/exmmtest.c index 58b3e333..47a13ea4 100755 --- a/src/exmmtest.c +++ b/src/exmmtest.c @@ -100,7 +100,7 @@ main(int argc, char *argv[]) //printf("main()=%Fp start MM\n", *argv[0]); MM_Startup(&gvar); //printf("ok\n"); -#ifdef __WATCOMC__ +//#ifdef __WATCOMC__ if(dbg_debugpm>0) { PM_Startup(&gvar); @@ -108,7 +108,7 @@ main(int argc, char *argv[]) //PM_CheckMainMem(&gvar); PM_UnlockMainMem(&gvar); } -#endif +//#endif CA_Startup(&gvar); // printf(" done!\n"); //0000PRINTBB; @@ -156,10 +156,10 @@ for(w=0;w<2;w++) //printf("bakapee1=%s\n", bakapee1); //printf("bakapee2=%s\n", bakapee2); MM_FreePtr(&bigbuffer, &gvar); -#ifdef __WATCOMC__ +//#ifdef __WATCOMC__ if(dbg_debugpm>0) PM_Shutdown(&gvar); -#endif +//#endif CA_Shutdown(&gvar); MM_Shutdown(&gvar); free(bakapee1); free(bakapee2); diff --git a/src/lib/16_head.c b/src/lib/16_head.c index 30e4444f..6c6eaee6 100755 --- a/src/lib/16_head.c +++ b/src/lib/16_head.c @@ -131,7 +131,7 @@ void Quit (char *error) if (error && *error) { - movedata ((unsigned)screen,7,0xb800,0,7*160); + //movedata ((unsigned)screen,7,0xb800,0,7*160); //gotoxy (10,4); puts(error); //gotoxy (1,8);