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

  1. Path: nntp.teleport.com!sschaem
  2. From: sschaem@teleport.com (Stephan Schaem)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: TMapping again!
  5. Date: 13 Jan 1996 00:39:57 GMT
  6. Organization: Teleport - Portland's Public Access (503) 220-1016
  7. Message-ID: <4d6v0t$3dt@maureen.teleport.com>
  8. References: <4d0ou6$835@astfgl.idb.hist.no> <Z31Wx*zA0@mkmk.in-chemnitz.de> <4d42di$9e9@maureen.teleport.com> <4d5lvi$emc@brachio.zrz.TU-Berlin.DE>
  9. NNTP-Posting-Host: kelly.teleport.com
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Philipp Boerker (rawneiha@w352zrz.zrz.TU-Berlin.DE) wrote:
  13. : sschaem@teleport.com (Stephan Schaem) writes:
  14.  
  15. : >Andre Weissflog (floh@mkmk.in-chemnitz.de) wrote:
  16. : >: In article <4d0ou6$835@astfgl.idb.hist.no>, Lasse Staff Jensen writes:
  17.  
  18. : > I think he was mentiontioning this map code:
  19.  
  20. : >    REPEAT    32
  21. : >1)    move.b    (a0,d0.w),(a1)+
  22. : >2)    addx.l    d1,d0
  23. : >    ENDR
  24.  
  25. : >: > What do you guys do when the delta values are negative?
  26. : >: > Clearly an addx.l will not work
  27.  
  28. : > In the example above I dont think it will work with neg number.
  29. : > Because the msbit of X if neg will have an effect on Y.
  30.  
  31. : The example above doesn't work anyway. You always need fraction
  32. : bits for both x- and y-adder.
  33.  
  34.  AAAAAA..........BBBBBCCCCCCDDDDD
  35.  
  36.  A = x fraction
  37.  B = y integer
  38.  C = y fraction
  39.  D = x integer
  40.  . = zero or more precision for x
  41.  
  42.  Has you see the example above work...
  43.  
  44. : > people compare to quickly a tmap program on a 66mhz 486 and a
  45. : > a1200... to see x86 true code speed they should run it on a
  46. : > 12mhz 286.
  47.  
  48. : Yes, I agree. Sharon, one of the coders of matrix, is actually a
  49. : PC coder but his polygon engine on a 33 MHz 486 is slower than
  50. : our (Sharon, Grond, Skyphos all/matrix) engine on a 25 MHz 030!
  51. : And think of not having chunky screens, not having L2 cache,
  52. : not having 8kb L1 cache...
  53. : That's the power of a large register set!
  54.  
  55.  The x86 design is just crap... it would still be crap with more register :)
  56.  
  57. : Gee, how am I waiting for the 32 regs of the PPC... 8)
  58.  
  59.  Well, you are trading your nice addressing mode for this,
  60.  no more (offset,base,offset*scale) ;) You will probably need
  61.  an extra register and 3 instruction to emulate this on a ppc.
  62.  And not all 32 register are for you to play with ... dont know
  63.  the PPC so I wont go into details :)
  64.  
  65.  Stephan
  66.  
  67.  
  68.