home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / atari / st / tech / 4766 < prev    next >
Encoding:
Text File  |  1992-09-14  |  1.6 KB  |  43 lines

  1. Newsgroups: comp.sys.atari.st.tech
  2. Path: sparky!uunet!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watmath!watcgl!electro.electro.com!george
  3. From: george@electro.electro.com (George Reimer)
  4. Subject: Re: "fast" sprites in C
  5. Message-ID: <1992Sep14.164515.25363@electro.electro.com>
  6. Organization: Electrohome Ltd., Kitchener, ON, Canada
  7. References: <61138@aurs01.UUCP> <UefNt=q00VorIjCEdL@andrew.cmu.edu>
  8. Date: Mon, 14 Sep 1992 16:45:15 GMT
  9. Lines: 32
  10.  
  11. In article <UefNt=q00VorIjCEdL@andrew.cmu.edu> sm86+@andrew.cmu.edu (Stefan Monnier) writes:
  12. >
  13. >But, sure this precise part of sprite display should be written in
  14. >assembler, as you sure can get a speed improvement of about 2 to
  15. >much more (depending on the compiler and on you).
  16. >
  17. >In general, high speed can be achieved with a little of assembler
  18. >on the critical points and a lot of C for the rest. Of course
  19. >all assembly can give you a bit mor speed (helpful to 
  20. >get the real 'video-game' feeling, I think)
  21. >
  22. >    Stefan Monnier
  23.  
  24. The speed improvement of 2 or more, are you comparing 
  25. assembler versus the C code equivalent?
  26.  
  27. How do the VDI calls compare? ( specfically the 
  28. raster operations ? ) Are they usefull only for 
  29. prototyping or can one implement a reasonable animation?
  30.  
  31. I am currently using the VDI calls to cut and paste
  32. Neochrome type images, and they seem reasonably fast
  33. but then again, I'm not making many repeated calls.
  34.  
  35. If these calls are poor performers, is there assembly source
  36. code avaiable to replace them?
  37.  
  38. -- 
  39.  
  40.      _______________________________________ 
  41.     |---|---|line--upon--line---|---|---|---|   watmath!watcgl!electro!george  
  42.   |---|--building the foundations-|---|---|---|     george@electro.com
  43.