]> 4ch.mooo.com Git - 16.git/commitdiff
ems usage is how?
authorsparky4 <sparky4@cock.li>
Fri, 15 May 2015 23:38:13 +0000 (18:38 -0500)
committersparky4 <sparky4@cock.li>
Fri, 15 May 2015 23:38:13 +0000 (18:38 -0500)
modified:   src/lib/exmm/EMM.EXE
modified:   src/lib/exmm/emm.c

src/lib/exmm/EMM.EXE
src/lib/exmm/emm.c

index a2a6ff90cdcc4e7369bea45cff44d398e45a2112..a790dd752512f9a28398eb5f920d7dc2c109d5b2 100644 (file)
Binary files a/src/lib/exmm/EMM.EXE and b/src/lib/exmm/EMM.EXE differ
index 4345511e59282af6334f597cfc01188b0247a551..4fd6496db684b216584d1d719c441a637a23be0c 100644 (file)
@@ -66,7 +66,7 @@ int main(int argc, char *argv[])
        printf("Map 1st 4 pages\n");\r
        MapEMM(hEData, 0, EMMCoreLeft(/*4*/));   // load 1st 4 pages into page frame: 0-3\r
        //memset(pEmmData, 0x0e, 64000u);
-       memset(pEmmData, atoi(argv[1]), ((EMMCoreLeft())*EMMPAGESIZE));
+       memset(pEmmData, atoi(argv[1]), sizeof(atoi(argv[1])));//((EMMCoreLeft())*EMMPAGESIZE));
 //---- UnmapEMM(hEData, 0, 4);          // not absolutely necessary
        printf("*pEmmData=%c\n", *pEmmData);
 \r