home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 13016 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  1.5 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!psuvax1!rutgers!cbmvax!jesup
  2. From: jesup@cbmvax.commodore.com (Randell Jesup)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: ClearEOL and SetAPen
  5. Message-ID: <34853@cbmvax.commodore.com>
  6. Date: 2 Sep 92 20:42:11 GMT
  7. References: <paulk.1av8@terapin.com> <52752@dime.cs.umass.edu> <65079@cup.portal.com> <34841@cbmvax.commodore.com>
  8. Reply-To: jesup@cbmvax.commodore.com (Randell Jesup)
  9. Organization: Commodore, West Chester, PA
  10. Lines: 21
  11.  
  12. chrisg@cbmvax.commodore.com (Chris Green) writes:
  13. >In article <65079@cup.portal.com> Lee_Robert_Willis@cup.portal.com writes:
  14. >>Out of curiousity: _Why_ is SetAPen() slow?  What is involved in changing
  15. >>the pen color besides simply storing the new value?
  16. >>
  17. >    SetAPen figures out new minterms for the blitter, based on the DraMod
  18. >and BPen.
  19. >    Reports of its slowness are greatly exaggerated (at least under >2.0).
  20.  
  21.     For a comparison, in 1.3 SetAPen (et al) took roughly 1400 68000
  22. cycles to do.  In 2.0, if I remember correctly, they take ~200-700 cycles
  23. depending on drawmode/etc.  (I did the first cut at optimization of them
  24. back in the early 1.4 days, later redone by Bart for a few more cycles.)
  25.  
  26. -- 
  27. "Rev on the redline, you're on your own; seems like a lifetime, but soon it's
  28.  gone..."  Foreigner
  29. -
  30. Randell Jesup, Jack-of-quite-a-few-trades, Commodore Engineering.
  31. {uunet|rutgers}!cbmvax!jesup, jesup@cbmvax.cbm.commodore.com  BIX: rjesup  
  32. Disclaimer: Nothing I say is anything other than my personal opinion.
  33.