]> 4ch.mooo.com Git - 16.git/commitdiff
cleanup~ emm is ..... WORKING!!! wwww i just gotta utilize it fully!
authorsparky4 <sparky4@cock.li>
Sat, 16 May 2015 01:52:28 +0000 (20:52 -0500)
committersparky4 <sparky4@cock.li>
Sat, 16 May 2015 01:52:28 +0000 (20:52 -0500)
modified:   src/lib/exmm/emm.c

src/lib/exmm/emm.c

index ea4c68d6e1dbbd3bfd2b3dc694cabc5e2885002b..88bb455d3bc50e6e0b130a76b04da8a96447ae95 100644 (file)
@@ -76,10 +76,6 @@ int main(int argc, char *argv[])
 //     memset(pEmmData, atoi(argv[0]), 32768u);
        printf("*pEmmData=%c\n", *pEmmData);
        printf(" pEmmData=%p\n", pEmmData);
-
-       /*MapEMM(hEData0, 0, 1);
-       memset(pEmmData0, (short)4, sizeof(short));
-       printf("*pEmmData0=%d\n", *pEmmData0);*/
 \r
    /*MapEMM(hEData, 0, 4);\r
    // do some stuff with the first 64K of file data.\r
@@ -92,7 +88,6 @@ int main(int argc, char *argv[])
        printf("*pEmmData=%lu\n", *pEmmData);*/
 \r
        UnmapEMM(hEData, 0, EMMCoreLeft(/*4*/));  // should unmap before freeing
-       //UnmapEMM(hEData0, 0, 1);  // should unmap before freeing\r
        //printf("after EMS     *pEmmData=%c\n", *pEmmData);
 \r
        printf("Close emm\n");\r