home *** CD-ROM | disk | FTP | other *** search
/ Vectronix 2 / VECTRONIX2.iso / FILES_01 / XENOMORF.LZH / CYBRTRCE / README!.TXT < prev   
Text File  |  1993-07-20  |  2KB  |  61 lines

  1.  
  2. MC68881 Test Utilities
  3.  
  4. (c) 1991 Quidnunc Software. All Rights Reserved.
  5.  
  6. YOU MAY USE, COPY, AND FREELY DISTRIBUTE THESE PROGRAMS.  JUST KEEP
  7. ALL THREE FILES TOGETHER AND DON'T CHARGE ANYTHING FOR THEM.
  8.  
  9. These two programs perform a simple test to determine if a MC68881
  10. FPU (Math Coprocessor) chip exists, and if so, if it is working.
  11.  
  12. These programs have only been tested on the MC68881 mapped into 
  13. memory as a peripheral device (e.g. installed on the ICD AdSpeedST
  14. board or on the Atari SFP004 Floating Point Coprocessor board).
  15.  
  16. To use the utilities:
  17.  
  18. Both programs perform floating point calculations for ten seconds
  19. and then display a "speed factor" which is proportional to the number
  20. of calculations performed.
  21.  
  22. First, run FPU_SOFT.PRG.  This program does NOT use the MC68881
  23. regardless of whether it's installed or not.  Make a note of the
  24. reported speed factor.
  25.  
  26. Now, run FPU_HARD.PRG.  This program WILL use the MC68881 if it is
  27. installed.  Compare the resulting speed factor to that obtained for
  28. FPU_SOFT.PRG:
  29.  
  30. *  If the two numbers are about the same, you either do not have the
  31.    FPU installed or it is not being recognized.
  32.  
  33. *  If the "Hard" number is significantly larger than the "Soft" 
  34.    number, the FPU is installed and recognized.
  35.  
  36. The ratio of the two numbers is an indicator of the speed "benefit."  This
  37. ratio should NOT be used as an overall indicator of the FPU benefit, since
  38. the actual benefit will depend on the efficiency of the software floating
  39. point operations being replaced by the FPU hardware operations and the
  40. actual operations themselves (FYI, these utilities use the sine trigonometric
  41. function).
  42.  
  43. For your reference, the values we obtained for various configurations
  44. were:
  45.  
  46. System: 1040STe 4MB with ICD ADSpeed STe.
  47.         MC68881 FPU with 16 MHz oscillator.
  48.  
  49.                     Speed Factor
  50.                    --------------
  51.         CPU Speed   Soft    Hard
  52.         ---------  ------  ------
  53.           8 MHz      100     646
  54.          16 MHz      186    1053
  55.  
  56. The hard and soft values obtained for a 520ST/1MB with no ADSpeedST
  57. board installed (and no FPU) were both about 100 (as you would expect).
  58.  
  59. We'd be curious to know what the results are for a MC68881 FPU with
  60. an 8 MHz oscillator...
  61.