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

  1. Path: Norway.EU.net!usenet
  2. From: patrick.hanevold@login.eunet.no (Patrick Hanevold)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: doubling pixels horizontally
  5. Date: 18 Feb 1996 23:06:46 GMT
  6. Organization: EUnet Norway
  7. Message-ID: <1597.6622T1436T2294@login.eunet.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@vip.cybercity.dk><1225.6615T1229T800@login.eunet.no><1140.6616T51T1538@vip.cybercity.dk><1982.6617T1096T103@ifi.uio.no>
  9.     <2175.6620T1429T2950@vip.cybercity.dk> <3764.6622T781T478@ifi.uio.no>
  10. NNTP-Posting-Host: pc9.asker-pm2-1.eunet.no
  11. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  12.  
  13. [...]
  14. >I mean a non-scrambled chunky buffer ofcourse.
  15.  
  16. >BTW: I use 4 blits.
  17. What do John and me use then? :)
  18.  
  19. >>> This routine was released here at "comp.sys.amiga.programmer"
  20. >>I was not around at the time. So please if somebody e-mail it to me or tell
  21. >>me where to get it.
  22. >Kind of hard, because I don't have that old source anymore. :(
  23.  
  24. >But if you just wait a little I'll release the new version.
  25. >Maybe I'll write a short doc today!
  26. YESS!! About time. :) We should not release it quite yet. Think *** should
  27. have it first. :)
  28.  
  29. >>Then you can't do a hole blitter pass. Are you using the blitter???
  30. >Maybe it was a little unclear? The CPU-2-passes code is now 40% faster than
  31. >in the first version. So there is much *more* time for *rendering*.
  32. >(I don't care much about how much time the blitter uses as long as it
  33. >finishes it work in less than a frame!)
  34.  
  35. >Mine current routine is using 48 cycles on 2 passes.
  36.  
  37. >        move.l  #160*128/8-1,d7
  38.  
  39. >Loop:
  40. >        move.l  (a0)+,d0               ;Linear Chunky buffer
  41. >        move.l  (a0)+,d1
  42.  
  43. >        <2 passes = 48 cycles>
  44.  
  45. >        move.l  d0,(a1)+               ;chipram
  46. >        move.l  d2,(a1)+
  47.  
  48. >        dbra    d7,Loop
  49.  
  50. What the heck is this??? I didnt wrote this!! I certantly wouldnt do a read
  51. right after a chip write. Bad boy! Bad boy Ludvig. :)
  52.  
  53. >As you probably have noticed the example is not optimised for memory-access,
  54. >but the purpose was just to show what I meant by 48 cycles.
  55. Hmm.. OK then..
  56.  
  57. [...]
  58.  
  59. <sb>Patrick Hanevold - Virtual Reality developer
  60. <sb>patrick.hanevold@login.eunet.no
  61. <sb>Amiga and official Be developer
  62.  
  63.