X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Wed, 06 Sep 2006 15:02:59 -0700 From: Ivor Bowden User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: 64 bit access under DOS? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Lines: 27 Message-ID: <44ff387a$0$19628$88260bb3@free.teranews.com> NNTP-Posting-Date: 06 Sep 2006 21:07:06 GMT X-Complaints-To: abuse AT teranews DOT com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, I have written a useful hardware debugging utility using the djgpp compiler, available at http://www.cwcgraphics.com/software_peritool.html . It only runs under DOS, Linux and VxWorks - Not Windows 98SE or above. I would like the memory test to function in 64 bit mode on the PCI bus for hardware that supports it. Currently I am using the _farpeek and _farpoke routines, after mapping in the physical address, and can test byte, word and long accesses. I have test hardware that I know supports 64 bit accesses, because I can see them on the logic analyzer when running certain Windows operations. I could use something like _farpeekll / _farpokell (long long). I'm not sure what else I would need to do to set up the system for these kind of accesses. The other thought I had was to set up some assembly routines to use the AMD64 instructions. Any ideas or tips?? Thanks, Ivor Bowden -- Posted via a free Usenet account from http://www.teranews.com