Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!agate!violet.berkeley.edu!denn From: denn@violet.berkeley.edu (Leonard Rosenthol) Newsgroups: comp.sys.mac.programmer Subject: Re: SysEnvirons Summary: More on Verson 2 Keywords: SysEnvirons, Version, 2 Message-ID: <16414@agate.BERKELEY.EDU> Date: 2 Nov 88 22:37:08 GMT References: <16244@agate.BERKELEY.EDU> <14333@dhw68k.cts.com> Sender: usenet@agate.BERKELEY.EDU Organization: University of California, Berkeley Lines: 24 In article <14333@dhw68k.cts.com> thecloud@dhw68k.cts.com (Ken McLeod) writes: > > [my comments about SysEnvirons 2] > > Does the version 2 SysEnvirons return the correct value for a 68882 >coprocessor on the IIx? Previous versions only checked for the 68881, and >returned FALSE in hasFPU if any other FPU (like the 68882) was installed. >I understand Excel had some problems with the IIx for this reason... > SysEnvirons (v1 and 2) in System 6.0.2 and later will return hasFPU TRUE if either a 881 or 882 is installed. This was not the reason that Excel fails, it is becuase Excel does not use SysEnvirons to test, it does its own testing for the 881 and that test fails for the 882 in the IIx. > Is there now, or will there be, an integer returned to determine the >*type* of coprocessor? (not just the existence of *a* coprocessor)... > Anything is possiblie, though currently I don't see why you would need to know whether it was an 881 or 882... /* ============================================================ */ /* Leonard Rosenthol | GEnie: MACgician */ /* President, Lazerware inc. | Delphi: MACgician */ /* | MacNet: MACgician */ /* denn@violet.berkeley.edu | AppleLink: D0025 */