From: sparky4 Date: Sat, 16 May 2015 05:05:08 +0000 (-0500) Subject: XT acts funny.... wwww X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=76d44cdb61c2724109006f54083170d9b077a4a4;p=16.git XT acts funny.... wwww modified: src/lib/exmm/EMM.EXE modified: src/lib/exmm/emm.c --- diff --git a/src/lib/exmm/EMM.EXE b/src/lib/exmm/EMM.EXE index 8275b1d8..6cb3fa41 100644 Binary files a/src/lib/exmm/EMM.EXE and b/src/lib/exmm/EMM.EXE differ diff --git a/src/lib/exmm/emm.c b/src/lib/exmm/emm.c index 059e8ad6..fb9c6eca 100644 --- a/src/lib/exmm/emm.c +++ b/src/lib/exmm/emm.c @@ -71,7 +71,7 @@ int main(int argc, char *argv[]) MapEMM(hEData, 0, 4); // load 1st 4 pages into page frame: 0-3 //memset(pEmmData, 0x0e, 64000u); printf("(advi*EMMPAGESIZE)=%lu\n", advi); - memset(pEmmData, atoi(argv[1]), advi);//sizeof(atoi(argv[1])));//((EMMCoreLeft())*EMMPAGESIZE)); + memset(pEmmData, atoi(argv[1]), 65536u);//sizeof(atoi(argv[1])));//((EMMCoreLeft())*EMMPAGESIZE)); //---- UnmapEMM(hEData, 0, 4); // not absolutely necessary printf("*pEmmData=%c\n", *pEmmData);