hi~
We have a ODM x86 PC board which has a on-board NVRAM. (NVRAM can store data even power-off)
The NVRAM is designed as a ISA device. and map to memory address 0xF00000~0xF80000 (For ISA device)
We have test the hardware in MS-windows using utility "rw-everything" (some kind of debug tool)
Now, I want write a C program to do some NVRAM R/W test and run the program in DOS
But as I known, a program cannot access memory address 0xF00000~0xF80000 directly
for example. the following code cannot work.
int *pAddr = (int *)(0xF00000);
printf( "memory: %d", *pAddr );
do anyone know how to do? or has some kind library can access special system memory?
Thanks.
We have a ODM x86 PC board which has a on-board NVRAM. (NVRAM can store data even power-off)
The NVRAM is designed as a ISA device. and map to memory address 0xF00000~0xF80000 (For ISA device)
We have test the hardware in MS-windows using utility "rw-everything" (some kind of debug tool)
Now, I want write a C program to do some NVRAM R/W test and run the program in DOS
But as I known, a program cannot access memory address 0xF00000~0xF80000 directly
for example. the following code cannot work.
int *pAddr = (int *)(0xF00000);
printf( "memory: %d", *pAddr );
do anyone know how to do? or has some kind library can access special system memory?
Thanks.