Date: Sat, 12 Jul 1997 16:03:50 -0600 From: ismail AT acm DOT org Subject: Want physical address from linear Newsgroups: comp.os.msdos.djgpp Message-ID: <868740382.3721@dejanews.com> Reply-To: ismail AT acm DOT org Organization: Deja News Usenet Posting Service Lines: 22 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I want to find out the physical address of a block of memory allocated with dpmi services under DJGPP201. I expect that I might need to play with the LDT using assembly language - has anybody got any hints/code lying around? This is my sequence of calls ... __dpmi_allocate_memory then ... allocate descriptor, set_base, set_limit __dpmi_lock_linear_region ..... and I want to get the physical address of the block here via the selector and/or the linear address. The block is *not* DOS memory - always above 1MB. I am using DJGPP 2.01 and CWSDPMI. Thanks for any help. Paul Ismail -------------------==== Posted via Deja News ====----------------------- http://www.dejanews.com/ Search, Read, Post to Usenet