X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Wed, 14 Mar 2012 18:52:09 -0400 Message-Id: <201203142252.q2EMq930020661@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <76288ff4-436b-4409-a22b-381f3bd0f3fa AT y17g2000yqg DOT googlegroups DOT com> (message from gerotica on Wed, 14 Mar 2012 15:27:11 -0700 (PDT)) Subject: Re: Dump extended memory References: <76288ff4-436b-4409-a22b-381f3bd0f3fa AT y17g2000yqg DOT googlegroups DOT com> Errors-To: nobody AT delorie DOT com > how to use djgpp to dump the whole ram memory? What I need to know is > how can I access every memory addresses continuously, as in real mode > if I make a read from 00000h to FFFFFh... There are some helper functions: * dosmem*() functions access the first 1MB of ram http://www.delorie.com/djgpp/doc/libc/libc_190.html * _far*() functions access all of memory using selector-offset pairs http://www.delorie.com/djgpp/doc/libc/libc_304.html * gives you access to a segment that effectively spans all physical memory. http://www.delorie.com/djgpp/doc/libc/libc_141.html