Address conversion to phys.address under DOS 
Author Message
 Address conversion to phys.address under DOS

Hi folks, i need some help from DOS "wizards":

Problem:
I need to program a DMA controller with a physical address of
a buffer. This buffer is declared in my C program runnning under
DOS.

The conversion of a virtual address to the physical address is
really simple if the PC is runnning in real mode. But: Todays memory
managers like QEMM or 386MAX and others switch the cpu into the
virtual 86 mode running in an protected mode segment.

Therefor the questions:

1. Does anybody know how to convert an address in my C program to the
   real used physical address? Is there existing a system call under
   DOS and/or Windows which does this? and how to use it?

2. Is there anywhere existing a library or a TSR or whatever which can
   do the conversion?

3. Does the DPMI interface help by this task?

If you have any hint, please send me an email. I will post the results in
the newsgroup.

Thanks.....
Klaus

------------------------------------------------------------------------snip-

                                             (..!unido!atmkn!macher)
        _/_/    _/_/_/_/_/  _/_/  _/_/                                
      _/  _/       _/      _/  _/  _/         Voice: +49 7531/807-332      
    _/    _/      _/      _/  _/  _/          Fax:   +49 7531/807-280
  _/_/_/_/_/     _/      _/      _/                                  
_/        _/    _/      _/      _/            ATM Computer GmbH  
                                              Buecklestrasse 1 -5  
                                              78467  Konstanz, Germany
-----------------------------------------------------------------------------



Sat, 23 Mar 1996 22:33:40 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. How to get MAC address from IP Address

2. convert mac address to ip address

3. How can i get MAC Address by IP address in SCO UNIX C

4. PMode Address -> Segment:Offset Address

5. address of structure == address of first member? (long)

6. Incomplete import address table causes jump to invalid address

7. Determinig a machine's Physical Address (MAC Address)

8. Obtaining a PCI address vs a virtual address?

9. IP address and Mac Address help!!!

10. ftp server address to http address

11. address of address -how to cast to get

12. MAC ADDRESS ie Ethernet Card Address

 

 
Powered by phpBB® Forum Software