Mail Archives: djgpp/1997/12/04/02:19:26
Hi, all.
I'm writing a PCI device driver using gcc compiler (DJGPP V2).
In this driver, I allocate DOS memory by using
__dpmi_allocate_dos_memory()
function.
When executing this program under MD-DOS(CWSDPMI.EXE),
linear memory address(segment*16 + offset) is equal to
physical memory address.
But under DOS-BOX of Windows95, linear address is not
equal to physical address.
Does anyone know how to get physical memory address under
DOS-BOX(Windows95)?
Thanks in advance.
--------------------- Masayuki Satoh
- Raw text -