🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #15992

Re: 68881 Installed?

#15992
From: huxham
Date: Thu, 07 May 1987 18:51
27 lines
1568 bytes
In article <gUbYEOy00UhTyME0mz@andrew.cmu.edu> rs4u#@ANDREW.CMU.EDU (Richard Siegel) writes:
>
>How can a program determine whether a math coprocessor is installed?
>I know that there's a lowmemory global, but CPUFlags only tells
>what kind of main processor is in, and not whether there's a 68881. Is
>there any way to tell, besides having the program crash with an F-Line exception?
>

In System 4.1 we've added a new function, SysEnvirons();

It fills in a Pascal record with the following information:

1.	Machine Type
2.	System Version
3.	Processor Type
4.	Whether you have an FPU or not
5.	Whether you have color QuickDraw or not
6.	Keyboard type
7.	Version of the AppleTalk drivers running
8.	The WDRefNum (or VRefNum) of the directory of the open System

It is described in a just-about-to-be released Technote.  The call
is expandable, so that in the future, when and if there are more
things an application needs to know about, it can return that information
as well.

Fred
Technical Details
Message-ID: <730@apple.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!sri-spam!mordor!lll-lcc!pyramid!voder!apple!huxham
References: <gUbYEOy00UhTyME0mz@andrew.cmu.edu>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!sri-spam!mordor!lll-lcc!pyramid!voder!apple!huxham
From: huxham@apple.UUCP
Newsgroups: comp.sys.mac
Subject: Re: 68881 Installed?
Message-ID: <730@apple.UUCP>
Date: Thu, 7-May-87 14:51:40 EDT
Article-I.D.: apple.730
Posted: Thu May  7 14:51:40 1987
Date-Received: Sat, 9-May-87 05:08:07 EDT
References: <gUbYEOy00UhTyME0mz@andrew.cmu.edu>
Reply-To: huxham@apple.UUCP (Fred Huxham)
Organization: Apple Computer Inc., Cupertino, USA
Lines: 27