[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]

	IFND	RESOURCES_MATHRESOURCE_I
RESOURCES_MATHRESOURCE_I	SET	1
**
**	$Filename: libraries/mathresource.i $
**	$Release: 2.04 Includes, V37.4 $
**	$Revision: 36.3 $
**	$Date: 90/07/13 $
**
**	Data structure returned by OpenResource of:
**	"MathIEEE.resource"
**
**
**	(C) Copyright 1987-1999 Amiga, Inc.
**	    All Rights Reserved
**

	IFND EXEC_NODES_I
	include "exec/nodes.i"
	ENDC

*
*	The 'Init' entries are only used if the corresponding
*	bit is set in the Flags field.
*
*	So if you are just a 68881, you do not need the Init stuff
*	just make sure you have cleared the Flags field.
*
*	This should allow us to add Extended Precision later.
*
*	For Init users, if you need to be called whenever a task
*	opens this library for use, you need to change the appropriate
*	entries in MathIEEELibrary.
*

	STRUCTURE MathIEEEResourceResource,0
		STRUCT	MathIEEEResource_Node,LN_SIZE
		USHORT	MathIEEEResource_Flags
		APTR	MathIEEEResource_BaseAddr	* ptr to 881 if exists *
		APTR	MathIEEEResource_DblBasInit
		APTR	MathIEEEResource_DblTransInit
		APTR	MathIEEEResource_SglBasInit
		APTR	MathIEEEResource_SglTransInit
		APTR	MathIEEEResource_ExtBasInit
		APTR	MathIEEEResource_ExtTransInit
	LABEL	MathIEEEResourceResource_SIZE

* definations for MathIEEERESOURCE_FLAGS *
	BITDEF	MATHIEEERESOURCE,DBLBAS,0
	BITDEF	MATHIEEERESOURCE,DBLTRANS,1
	BITDEF	MATHIEEERESOURCE,SGLBAS,2
	BITDEF	MATHIEEERESOURCE,SGLTRANS,3
	BITDEF	MATHIEEERESOURCE,EXTBAS,4
	BITDEF	MATHIEEERESOURCE,EXTTRANS,5

	ENDC	; RESOURCES_MATHRESOURCE_I