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

  1. Path: ifi.uio.no!usenet
  2. From: ludvigp@ifi.uio.no (Ludvig Pedersen)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: doubling pixels horizontally
  5. Date: 24 Feb 1996 13:59:20 GMT
  6. Organization: Dept. of Informatics, University of Oslo, Norway
  7. Message-ID: <1118.6628T725T1224@ifi.uio.no>
  8. References: <4f4ibc$gl9@news.cs.tu-berlin.de> <591.6610T1165T2102@login.eunet.no><1045.6611T753T2256@vip.cybercity.dk><4faoe1$47@sunsystem5.informatik.tu-muenchen.de><2991.6612T1034T625@vip.cybercity.dk><576.6613T1070T1730@login.eunet.no><1257.6614T57T922 <4gkknd$b1v@brachio.zrz.TU-Berlin.DE>
  9. NNTP-Posting-Host: gymir.ifi.uio.no
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  11.  
  12.  
  13. >>Your are not using the CPU and the BLITTER at the same time in chipram are
  14. >>you??? Because that is very foolish! :) (read: SLOW!)
  15. >No, I don't. I even toggle blitternasty-bit at the importent places...
  16. But you are using a blitter-interrupt (or QBlit)?
  17.  
  18. >>Anyway, to make sure I timed it.
  19. >>Using a PAL lowres screen with 256 colors, all interrupts off.
  20. >>c2p:  Used 74 rasterlines on a 160x128 screen
  21. >>Copy: Used 73 rasterlines.
  22. >>I consider that as pretty equal.
  23. >Inside the error-delta for timings, I'd say.
  24. I use a small macro to store the raster postion before and after the
  25. routine, so it should be pretty accurate.
  26.  
  27. Accutally, I think my routine must be 1 rasterlines slower than plain copy,
  28. because I optimised c2p8.s (1x1 c2p by Peter McGavin) quiet a bit yesterday.
  29. And I managed to sqeeze it down to 73 rasterlines (on the same amount of
  30. data, 20480 chunky bytes).
  31.  
  32. So maybe I counted the cycles wrong in my 2x2 routine and have lost 2
  33. cycles/loop or someting!
  34.  
  35. It won't matter much, but I'll fix it! :-)
  36.  
  37.  
  38. <sb>Ludde - Amiga Demo Coder
  39. <sb>Virtual Reality & Official Be developer
  40. <sb>ludvigp@ifi.uio.no
  41.  
  42.