delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/11/17/03:44:19

Date: Sun, 17 Nov 1996 10:31:00 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Bill Currie <billc AT blackmagic DOT tait DOT co DOT nz>
Cc: grendel AT ananke DOT amu DOT edu DOT pl,
DJGPP Workers mailing list <djgpp-workers AT delorie DOT com>
Subject: Re: djverify and cpu detection
In-Reply-To: <328F2D2E.69BC@blackmagic.tait.co.nz>
Message-Id: <Pine.SUN.3.91.961117102952.12547h-100000@is>
Mime-Version: 1.0

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?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019