home *** CD-ROM | disk | FTP | other *** search
/ Graphics 16,000 / graphics-16000.iso / amiga / demos / vivdcmpr.rdm < prev    next >
Text File  |  1993-12-08  |  3KB  |  65 lines

  1. Short: Compare your Amiga to a Vivid 24!
  2. Uploader: RTillery@crash.cts.com
  3. Author: RTillery@crash.cts.com
  4.  
  5.  
  6. /************************************************************************/
  7. /*                                                                      */
  8. /*  Vivid 24 to Amiga speed comparison - ⌐1993 Digital Micronics, Inc.  */
  9. /*                                                                      */
  10. /************************************************************************/
  11.  
  12. The accompanying executable will allow you to compare the speed of your
  13. Commodore Amiga computer to that of our Vivid 24 rendering engine when
  14. rendering a Mandelbrot.
  15.  
  16. If you do not own a Vivid 24, you can still run the program to check the
  17. speed of your Amiga and the program will compare it's speed to the three
  18. co-processor-equipped versions of the Vivid 24.
  19.  
  20. To use the program with your Vivid 24, you must put the file "EXTSRAM.RLM"
  21. into "SAGE:Exec", place "extSRAM.library" into "SAGE:Libs".  Then put the
  22. "Mandel.xxxx" files along with the "MANDEL.ABS" file in a directory some-
  23. where together.  You can then run any of the "Mandel.xxxx" files to see
  24. a comparison of your Amiga to your Vivid.
  25.  
  26. To use the program without a Vivid 24, simply run any of the "Mandel.xxxx"
  27. programs to see a comparison of your Amiga to the Vivid 24.
  28.  
  29. All test results used in the non-Vivid comparison are based on a 40Mhz
  30. Vivid 24.
  31.  
  32. For those of you who are interested (and those who think this may be all
  33. smoke and mirrors) I've included the actual source code used to generate
  34. the Mandelbrots.
  35.      The file called "AmigaMandel.c" contains the main routines used to
  36. set up the Vivid if it's there, time a rendering, set up and render on the
  37. Amiga and time it's rendering.  You will note by looking at the "MakeFile"
  38. that the code was optimized for speed and each version was customized for
  39. the 68882, IEEE, or FFP as denoted by its file extension.  All
  40. executables were compiled with SAS/C 6.3.
  41.      The file "VividMANDEL.C" is the source for the TMS34082 math
  42. coprocessors.  Each of the available coprocessors is loaded with this
  43. code.  Additional code on the TMS34020 graphics processor is used to
  44. control these coprocessors.  Each processor is given one line at a time
  45. to render.  When finished, the coprocessor signals the 34020 and the data
  46. is copied from the 34082 memory (SRAM) to the screen.  Then the 34082 is
  47. given another line to do if any remain.  The 34020 then waits for a signal
  48. from another coprocessor.  This technique is the simplest that will allow
  49. the same code to run on one, two or four math coprocessors.
  50.  
  51. For a fair comparison, you'll notice the two source files are nearly
  52. identical.  Although this is not the fastest algorithm for generating
  53. Mandelbrots, it does allow a RELATIVE comparison of speeds.
  54.  
  55. As one last (marketing hype:) comment, remember that a speed of 30 times
  56. your Amiga means that one Vivid can replace 30 Amigas!  One Amiga 4000
  57. costs about $2500.  30 would cost $75,000.  One Amiga and a Vivid 24
  58. stocked with 4 coprocessors would cost you about $8000 or nearly one
  59. tenth the cost for the same rendering power.
  60.  
  61. For more information on the Vivid 24, please contact Digital Micronics
  62. at (619) 931-8554.
  63.  
  64. Rick Tillery
  65. (Digital Micronics, Inc.)