home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2272 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: informatik.tu-muenchen.de!fischerj
  2. From: fischerj@informatik.tu-muenchen.de (Juergen "Rally" Fischer)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: C2P
  5. Date: 29 Jan 1996 17:00:27 GMT
  6. Organization: Technische Universitaet Muenchen, Germany
  7. Distribution: world
  8. Message-ID: <4eiufb$ech@sunsystem5.informatik.tu-muenchen.de>
  9. References: <john.hendrikx.48y9@grafix.xs4all.nl>
  10. NNTP-Posting-Host: hphalle5.informatik.tu-muenchen.de
  11. Originator: fischerj@hphalle5.informatik.tu-muenchen.de
  12.  
  13.  
  14. In article <john.hendrikx.48y9@grafix.xs4all.nl>, john.hendrikx@grafix.xs4all.nl (John Hendrikx) writes:
  15. |> In a message of 19 Jan 96 Jorge Acereda Macia wrote to All:
  16. |> 
  17. |>  >> after having counted the scanlines the effect needs, (by measuring the
  18. |>  >> hight of it on the TV! :D) you calculate 
  19. |> 
  20. |>  >> time= (measured_height/height_of_wbscreen)*(256/312.5)*20ms
  21. |> 
  22. |>  JAM> Why don't you use ReadEClock()? 
  23. |> 
  24. |> Works great, in fact, when used properly (and when you time sufficient loops
  25. |> and take some other stuff into account) you can create a routine which is
  26. |> accurate enough to tell you that instructions like 'Move.l d0,d0' take 2.00
  27. |> cycles on a 68030 (so it is accurate to about 1/100th of a CPU cycle -- I guess
  28. |> that beats counting rasterlines)
  29.  
  30. hehe and what about estimating the ratio outer vs inner loop of a
  31. polyengine ? I let outer loop appear yellow and inner red.
  32.  
  33. Then I could see how ratios change change when polywidth 
  34. (a horiz line of it) increases. Outer loop same, but incresed 
  35. storage time, so the disply became more red at bottom.
  36.  
  37. Show me one clock that can perform this without making the 
  38. outer loop 2 times slower ;) I bet it won't include realtime 
  39. visualisation of the timings ;)
  40.  
  41. |> 
  42. |> Grtz John
  43. |> 
  44. |> -----------------------------------------------------------------------
  45. |>  John.Hendrikx@grafix.xs4all.nl   TextDemo/FastView/Etc... development
  46. |> -----------------------------------------------------------------------
  47. |> -- Via Xenolink 1.985B3, XenolinkUUCP 1.1
  48.  
  49. ------------------------------------------------------------------------
  50.    fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer)   =:)
  51.  
  52.