home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / cbm / os-include.lha / os-include / libraries / mathresource.i < prev    next >
Text File  |  1993-10-15  |  1KB  |  54 lines

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