Date: Sun, 17 Nov 1996 10:31:00 +0200 (IST) From: Eli Zaretskii To: Bill Currie Cc: grendel AT ananke DOT amu DOT edu DOT pl, DJGPP Workers mailing list Subject: Re: djverify and cpu detection In-Reply-To: <328F2D2E.69BC@blackmagic.tait.co.nz> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 17 Nov 1996, Bill Currie wrote: > 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, There were two consecutive DDJ issues with an installment about CPU detection. The second one had a working program and comparison with Intel-recommended method. Why not lift the code from there?