]> 4ch.mooo.com Git - 16.git/commitdiff
pointer address added~
authorsparky4 <sparky4@cock.li>
Sat, 16 May 2015 01:47:12 +0000 (20:47 -0500)
committersparky4 <sparky4@cock.li>
Sat, 16 May 2015 01:47:12 +0000 (20:47 -0500)
modified:   src/lib/exmm/EMM.EXE
modified:   src/lib/exmm/emm.c

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

index dade277b70493c065875c9f90384df17ea0455af..bcf781609e1870e0c038405f0ecfa17f42731701 100644 (file)
Binary files a/src/lib/exmm/EMM.EXE and b/src/lib/exmm/EMM.EXE differ
index 7a3ebc8def770b1b08283688c861208792923180..ea4c68d6e1dbbd3bfd2b3dc694cabc5e2885002b 100644 (file)
@@ -49,7 +49,7 @@ int main(int argc, char *argv[])
                        //printf("EMM Hardware Information %lu\n", EMInfo());
                }\r
 
-       printf("b4 EMS          *pEmmData=%x\n", *pEmmData);
+       printf("b4 EMS          pEmmData=%p\n", pEmmData);
        //printf("b4 EMS        *pEmmData=%s\n", *pEmmData);
 
        pEmmData = (byte *)EMMalloc(&hEData, EMMCoreLeft());  // get 6 * 16K bytes - 96K
@@ -75,7 +75,7 @@ int main(int argc, char *argv[])
        memset(pEmmData, 0x04, 32768u);
 //     memset(pEmmData, atoi(argv[0]), 32768u);
        printf("*pEmmData=%c\n", *pEmmData);
-//     printf("*pEmmData++=%c\n", *(pEmmData++));
+       printf(" pEmmData=%p\n", pEmmData);
 
        /*MapEMM(hEData0, 0, 1);
        memset(pEmmData0, (short)4, sizeof(short));
@@ -98,7 +98,7 @@ int main(int argc, char *argv[])
        printf("Close emm\n");\r
        EMMFree(hEData);     // finished with the file data\r
        CloseEMM();
-       printf("after EMS       *pEmmData=%x\n", *pEmmData);
+       printf("after EMS       pEmmData=%p\n", pEmmData);
        printf("EMS pages available are %lu\n", EMMCoreLeft());
        //printf("EMMPAGESIZE=%d\n", EMMPAGESIZE);
        return 0;