home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / atari / st / 13609 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  3.6 KB

  1. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!fhg!igd!kremser
  2. From: kremser@igd.fhg.de (Steffen Kremser)
  3. Newsgroups: comp.sys.atari.st
  4. Subject: Re: Use of the Falcon's DSP
  5. Message-ID: <1500@igd.fhg.de>
  6. Date: 11 Sep 92 10:00:38 GMT
  7. References: <1992Sep10.192157.1578@microware.com>
  8. Sender: news@igd.fhg.de
  9. Reply-To: user@machine.domain
  10. Organization: Haus der Graphischen Datenverarbeitung, 6100 Darmstadt
  11. Lines: 82
  12.  
  13. In article <1992Sep10.192157.1578@microware.com>, erik@microware.com (Erik Johnson) writes:
  14. |> I have written an animation program that rotates images (ie. every pixel).
  15. |> If the DSP could be used as an image rotation engine, then I imagine that
  16. |> realtime animations could be created (now animations are compiled).  By the
  17. |> way, the current code uses all integer math (of course), so writing DSP
  18. |> code should not be too tough.
  19. |> 
  20. |> For this to work, the DSP would have to have full speed access to main
  21. |> memory; anyone know if this is so?
  22. |> 
  23. |> Erik Johnson    erik@microware.com
  24.  
  25. No, it hasn't, for good (physical) reasons :
  26.  
  27.  - DSP adresses 64k Words (of 24 Bits), within
  28.    3 (possibly) distinct Adress spaces X,Y,PGM
  29.  
  30.  - "full speed access" means no_waitstates, no_shared_memory
  31.    that's why the DSP has it's own FAST static RAM.
  32.  
  33. You would need rather a lot of GLUE logic to make '030 and DSP share a common bus.
  34. i.e. Adress translation, Format conversion, bus arbitration,....
  35. And what for? the main bus is already crammed with the CPU, the Video System
  36. (incl. DRAM-refresh), optional '386 board, DMA access for HD,SCSI,Sound... 
  37.  
  38. But then, how IS the DSP linked to the rest of the system ?
  39.  
  40.  - the HOST interface : 8-Bit wide, with Handshake bits
  41.    XBIOS calls provide interrupt driven block read (and/or) write
  42.    operations, with or without blocking the calling process.
  43.  
  44.  - the SSI (synchronous serial interface) channeled through the sound system, 
  45.    whose DMA facilities should work for pixel data as well as for sounds. 
  46.  
  47. That way, DSP usage for Graphics should be similar to "normal" DSP usage :
  48.  
  49.                 +-------------------------------+
  50.                 | DSP Program in harware loop   |
  51.                 +-------------------------------+
  52.    DATA IN ---->| arbitrary transformations     |----> DATA OUT
  53.         +-------------------------------+
  54.                 | DSP data (coefficients)       |
  55.         +-------------------------------+
  56.  
  57. Data is fed through the DSP, which performs repeated online transformations.
  58.  
  59. For example :
  60.  
  61.  - Viewing transformation : 
  62.    DSP setup : viewing matrix, viewing direction
  63.    DATA in   : 3D-Vectors (Object Coordinates)
  64.    DATA out  : 3D-Vectors (World Coo.)
  65.                perhaps with flags for backfacing vectors.
  66.  
  67.  - Line by line Shading
  68.    DSP setup : lighting model, lamps, material properties...
  69.    DATA in   : pre-sorted surfaces (triangles, meshes, perhaps NURBS)
  70.    DATA out  : pixel values 
  71.  
  72.  - Ray tracing
  73.  - Simulation (particle simulation ... flight simulation)
  74.  
  75.  
  76. And now for something completely different :
  77.  
  78. The external SSI connection would allow a pipeline of !external! DSP boards.
  79. There are special chips for audio filtering used like this. (no complete DSP
  80. but just dedicated filtering stages).
  81.  
  82. I'm not sure such an external pipeline would be worth its cost, but 
  83.  
  84.  - the 56001 supports such small systems (internal RAM, bootstrap modes etc.) 
  85.  
  86.  - While DSP's and fast SRAM aren't right now sold in sixpacks, with the growing
  87.    DSP usage in telecommunications and consumer electronics, who knows ? 
  88.  
  89.    
  90. --------------------------------------------------------------------------------- 
  91.   ////    ----> Steffen Kremser <---------
  92.   c-OO    ----> kremser@igd.fhg.de <------        
  93.   | -~   
  94.  
  95.