home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / cbm / nduk-v37.lha / V37 / include / libraries / mathresource.i < prev    next >
Text File  |  1991-11-27  |  2KB  |  56 lines

  1.     IFND    RESOURCES_MATHRESOURCE_I
  2. RESOURCES_MATHRESOURCE_I    SET    1
  3. **
  4. **    $Filename: libraries/mathresource.i $
  5. **    $Release: 2.04 Includes, V37.4 $
  6. **    $Revision: 36.3 $
  7. **    $Date: 90/07/13 $
  8. **
  9. **    Data structure returned by OpenResource of:
  10. **    "MathIEEE.resource"
  11. **
  12. **
  13. **    (C) Copyright 1987-1991 Commodore-Amiga, Inc.
  14. **        All Rights Reserved
  15. **
  16.  
  17.     IFND EXEC_NODES_I
  18.     include "exec/nodes.i"
  19.     ENDC
  20.  
  21. *
  22. *    The 'Init' entries are only used if the corresponding
  23. *    bit is set in the Flags field.
  24. *
  25. *    So if you are just a 68881, you do not need the Init stuff
  26. *    just make sure you have cleared the Flags field.
  27. *
  28. *    This should allow us to add Extended Precision later.
  29. *
  30. *    For Init users, if you need to be called whenever a task
  31. *    opens this library for use, you need to change the appropriate
  32. *    entries in MathIEEELibrary.
  33. *
  34.  
  35.     STRUCTURE MathIEEEResourceResource,0
  36.         STRUCT    MathIEEEResource_Node,LN_SIZE
  37.         USHORT    MathIEEEResource_Flags
  38.         APTR    MathIEEEResource_BaseAddr    * ptr to 881 if exists *
  39.         APTR    MathIEEEResource_DblBasInit
  40.         APTR    MathIEEEResource_DblTransInit
  41.         APTR    MathIEEEResource_SglBasInit
  42.         APTR    MathIEEEResource_SglTransInit
  43.         APTR    MathIEEEResource_ExtBasInit
  44.         APTR    MathIEEEResource_ExtTransInit
  45.     LABEL    MathIEEEResourceResource_SIZE
  46.  
  47. * definations for MathIEEERESOURCE_FLAGS *
  48.     BITDEF    MATHIEEERESOURCE,DBLBAS,0
  49.     BITDEF    MATHIEEERESOURCE,DBLTRANS,1
  50.     BITDEF    MATHIEEERESOURCE,SGLBAS,2
  51.     BITDEF    MATHIEEERESOURCE,SGLTRANS,3
  52.     BITDEF    MATHIEEERESOURCE,EXTBAS,4
  53.     BITDEF    MATHIEEERESOURCE,EXTTRANS,5
  54.  
  55.     ENDC    ; RESOURCES_MATHRESOURCE_I
  56.