home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / programm / 16132 < prev    next >
Encoding:
Internet Message Format  |  1992-11-20  |  2.4 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!rutgers!cbmvax!chrisg
  2. From: chrisg@cbmvax.commodore.com (Chris Green)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: New hardware reference guide?
  5. Message-ID: <37162@cbmvax.commodore.com>
  6. Date: 20 Nov 92 13:56:15 GMT
  7. References: <1992Nov12.215020.20036@ultb.isc.rit.edu> <1992Nov16.134153.6356@ifi.uio.no> <37091@cbmvax.commodore.com> <1992Nov18.161755.8884@mnemosyne.cs.du.edu>
  8. Reply-To: chrisg@cbmvax.commodore.com (Chris Green)
  9. Organization: Commodore, West Chester, PA
  10. Lines: 32
  11.  
  12. In article <1992Nov18.161755.8884@mnemosyne.cs.du.edu> eeklund@nyx.cs.du.edu (Eivind Eklund) writes:
  13. >In article <37091@cbmvax.commodore.com> chrisg@cbmvax.commodore.com (Chris Green) writes:
  14. >>    So your problem was rendering speed. Use OwnBlitter and bang the blitter
  15. >>yourself (or simply use the CPU to render your polygon. 32 bit chip ram
  16. >>on 1200's and 4000's will help here). Problem solved. Open an NTSC/PAL
  17. >
  18. >Is this OwnBlitter/DisOwnBlitter solution guaranteed to keep working?  In
  19. >that case approx 1/2 my problem is solved...  But I would think this would
  20. >end up stopping DIG/RTG?
  21.  
  22.     The OwnBlitter/DisownBlitter solution will work in any future amiga system
  23. that has (a) planar bitmaps stored in blitter-accessible ram and (b) A
  24. blitter that has an ECS compatible mode in it. This is likely to be
  25. true for many more generations of Amiga.
  26.     Yes, using the blitter directly on display memory is not RTG/DIG compatible.
  27. A simple work-around is to allocate a separate normal planar bitmap
  28. do the OwnBlitter stuff on that bitmap, and then BltBitMap it to the bitmap
  29. of the RTG device. You can check if this is necessary by querying the display
  30. database for the DIPF_IS_FOREIGN bit flag for the screen you want to blit
  31. to:
  32.  
  33. #define DIPF_IS_FOREIGN        0x80000000    /* this mode is not native to the Amiga */
  34.  
  35.     And mind your BytesPerRow when rendering!
  36. -- 
  37. *-------------------------------------------*---------------------------*
  38. |Chris Green - Graphics Software Engineer   - chrisg@commodore.COM      f
  39. |                  Commodore-Amiga          - uunet!cbmvax!chrisg       n
  40. |My opinions are my own, and do not         - icantforgettheimpression  o
  41. |necessarily represent those of my employer.- youmadeyouleftaholeinthe  r
  42. |"A screaming comes across the sky..."      - backofmyhead              d
  43. *-------------------------------------------*---------------------------*
  44.