home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6034 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 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: Amiga doesn`t need Pl
  5. Date: 23 Mar 1996 05:28:20 GMT
  6. Organization: Technische Universitaet Muenchen, Germany
  7. Distribution: world
  8. Message-ID: <4j025k$s3p@sunsystem5.informatik.tu-muenchen.de>
  9. References: <john.hendrikx.4ku6@grafix.xs4all.nl> <38233062@kone.fipnet.fi>
  10. NNTP-Posting-Host: hphalle5.informatik.tu-muenchen.de
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Jyrki Saarinen (jsaarinen@kone.fipnet.fi) wrote:
  14.  
  15. : > No, not alignment, I said 64K/texture.  Some of the loops made use of
  16. : > that to gain 1 or 2 cycles.  What percentage of drawing a frame do you 
  17. at least 2 cycles on 020/030. but then you got less registers free
  18. and loose even more cycles in outer loops. or you waste 6 cycles for
  19. an and.l #$x,Dn. both is inaceptable.
  20. The advantages of an and would be: no need of 64k aligment, larger
  21. textures than 256x256, more efficient store of very different sized
  22. textures. The latter both are not fact in a clone (today) and the first
  23. one is no problem.
  24.  
  25. : > not worth wasting that much memory for to just get 1 or 2 extra cycles. 
  26.  
  27. : I still DONT understand how extra 64k is "wasting memory".
  28.  
  29. he probably didn't notice you can store multiple textures in one
  30. 256x256 memory area.
  31.  
  32. btw no extra 64k waste.
  33.  
  34. adr=allocmem(size+65536)
  35. if adr!=0
  36.       freemem(..)
  37.       allocabs( (adr+65536) AND $ffff0000,size) /* look up allocabs, this might
  38.                                              be rubbish */
  39. else
  40.       print("wanna doom then gimme mem :)")
  41.  
  42. : --                               _
  43. : a Stellar programmer          _ //
  44. : "Amiga - back for the future" \X/
  45. ------------------------------------------------------------------------
  46.    fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer)   =:)
  47.