Date: Sun, 17 Nov 1996 15:20:14 +0000 From: Bill Currie Subject: Re: djverify and cpu detection To: grendel AT ananke DOT amu DOT edu DOT pl Cc: DJGPP Workers mailing list Reply-to: billc AT blackmagic DOT tait DOT co DOT nz Message-id: <328F2D2E.69BC@blackmagic.tait.co.nz> Organization: Tait Electronics NZ MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit References: <328E6D0D DOT 168E AT ananke DOT amu DOT edu DOT pl> Mark Habersack wrote: > Hmm... That's correct, but the method is recommended by Intel and I > assume that they recommend a technique which is reliable enough to use > it in serious software. It's possible to disable interrupts before > flipping and checking the AC bit. If the code will run in V86 mode and > the DPMI server will virtualize the interrupt flag properly - nothing > wrong should happen. You should read the September(?) issue of DDJ (Undocumented corner) about that, Rober Colins has a lot to say, slamming (?) Intel for providing buggy code. Bill -- Leave others their otherness.