| www.delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| Date: | Sun, 13 Aug 2006 23:05:26 -0400 |
| Message-Id: | <200608140305.k7E35Qiq023044@envy.delorie.com> |
| From: | DJ Delorie <dj AT delorie DOT com> |
| To: | OliverSzasz AT oncotherm DOT org |
| CC: | djgpp AT delorie DOT com |
| In-reply-to: | |
| <714817CA32ED3143B96B69D0D3574C5A311B64 AT server DOT oncotherm DOT oncotherm DOT org> | |
| (OliverSzasz AT oncotherm DOT org) | |
| Subject: | Re: copy from physical memory |
| References: | <714817CA32ED3143B96B69D0D3574C5A311B64 AT server DOT oncotherm DOT oncotherm DOT org> |
| Errors-To: | nobody AT delorie DOT com |
Most DPMI servers don't support the physical mapping calls. For DJGPP, there's two ways of doing it: 1. If the address is in DOS memory, use dosmemget() or dosmemput(). 2. Otherwise, the easiest way to do it is to use the "nearptr" routines (see <sys/nearptr.h> and related docs). This gives you essentially unlimited access to the physical address space, assuming your OS allows such things.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |