From 6559b4112bb03d246cda3e3b1855b02495ab505c Mon Sep 17 00:00:00 2001 From: sparky4 Date: Fri, 22 May 2015 20:19:56 -0500 Subject: [PATCH] cleanings~ modified: src/lib/exmm/emm.c --- src/lib/exmm/emm.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/lib/exmm/emm.c b/src/lib/exmm/emm.c index 70d0679c..f50a91aa 100644 --- a/src/lib/exmm/emm.c +++ b/src/lib/exmm/emm.c @@ -77,17 +77,8 @@ int main(int argc, char *argv[]) memset(pEmmData, atoi(argv[1]), 0xffff);//sizeof(atoi(argv[1])));//((EMMCoreLeft())*EMMPAGESIZE)); //qqqq memset(pEmmData+0x10000, atoi(argv[1]), 0xffff);//sizeof(atoi(argv[1])));//((EMMCoreLeft())*EMMPAGESIZE)); //---- UnmapEMM(hEData, 0, 4); // not absolutely necessary -// printf("*pEmmData=%c\n", *pEmmData); printf("%p= %c %c %c %c %c %c %c %c\n", pEmmData, *pEmmData, *(pEmmData+1), *(pEmmData+2), *(pEmmData+3), *(pEmmData+4), *(pEmmData+5), *(pEmmData+6), *(pEmmData+7)); - /*memset(pEmmData, atoi(argv[1]), 0x40001U);//sizeof(atoi(argv[1])));//((EMMCoreLeft())*EMMPAGESIZE)); - printf("*pEmmData=%c\n", *pEmmData); - memset(pEmmData, atoi(argv[1]), 0x40001L);//sizeof(atoi(argv[1])));//((EMMCoreLeft())*EMMPAGESIZE)); - printf("*pEmmData=%c\n", *pEmmData); - memset(pEmmData, atoi(argv[1]), 0x40001UL);//sizeof(atoi(argv[1])));//((EMMCoreLeft())*EMMPAGESIZE)); - printf("*pEmmData=%c\n", *pEmmData); - memset(pEmmData, atoi(argv[1]), sizeof(byte)*4);//sizeof(atoi(argv[1])));//((EMMCoreLeft())*EMMPAGESIZE)); - printf("*pEmmData=%c\n", *pEmmData);*/ /*printf("Map next 2 pages\n"); MapEMM(hEData, 4, 2); // map last 2 pages: 4-5 -- 2.39.5