X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Rod Pemberton" Newsgroups: comp.os.msdos.djgpp Subject: Re: 64 bit access under DOS? Date: Wed, 13 Sep 2006 05:21:54 -0400 Organization: Corriga.net news service Lines: 31 Message-ID: References: <44ff387a$0$19628$88260bb3 AT free DOT teranews DOT com> <4506ff21$0$486$cc7c7865 AT news DOT luth DOT se> NNTP-Posting-Host: c-68-60-59-250.hsd1.mi.comcast.net X-Trace: main.corriga.net 1158139479 23849 68.60.59.250 (13 Sep 2006 09:24:39 GMT) X-Complaints-To: postmaster AT corriga DOT net NNTP-Posting-Date: Wed, 13 Sep 2006 09:24:39 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Martin Str|mberg" wrote in message news:4506ff21$0$486$cc7c7865 AT news DOT luth DOT se... > Ivor Bowden wrote: > > 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. > > I'm not sure if there are any 64-bit wide x86 instructions but the > cmpxchg8. > > > The other thought I had was to set up some assembly routines to use the > > AMD64 instructions. > > Unfortunately AMD64 instructions are only available in long 64-bit > (non-compatibility) mode and in long mode vm86 mode isn't supported, > so this won't happen. > Ah, good, someone who is familiar with 64-bit mode. What you're saying it that there are no override prefixes to access the 64-bit instructions in 32-bit mode. Correct? Is there a method to switch into and out of 64-bit mode safely while running under 32-bit protected mode (DPMI or Windows)? Rod Pemberton