To access specified physical memory address you have to map this physical address to a linear memory of the current process' address space. RapidIsa includes the function MapPhysToLinear, which performs the above task and returns the pointer to the above linear memory defined by it's physical address and size. When the pointer is not needed by application any more, this physical memory area can and must be unmapped with the function UnmapMemory.
The following is an example how to get a pointer to the ROM BIOS area:
| pBios = (char*)MapPhysToLinear(hIsa,0xF8000,256); //256 bytes, starting from 0xF8000
|
|