home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / alt / sys / amiga / demos / 1728 < prev    next >
Encoding:
Text File  |  1992-11-18  |  2.1 KB  |  39 lines

  1. Newsgroups: alt.sys.amiga.demos
  2. Path: sparky!uunet!mcsun!news.funet.fi!funic!news.cs.hut.fi!news.cs.hut.fi!oahvenla
  3. From: oahvenla@snakemail.hut.fi (Osma Ahvenlampi)
  4. Subject: Re: Writing a StarField. Which method is best?
  5. In-Reply-To: lundman@kauri.vuw.ac.nz's message of Thu, 19 Nov 1992 03:03:13 GMT
  6. Message-ID: <OAHVENLA.92Nov19113731@lk-hp-3.hut.fi>
  7. Sender: usenet@cs.hut.fi (Uutis Ankka)
  8. Organization: Helsinki University of Technology, Finland
  9. References: <1992Nov7.104910.60476@cc.usu.edu> <1992Nov11.131803.1276@ifi.uio.no>
  10.     <1992Nov17.211753.11335@ntg.com>
  11.     <LUNDMAN.92Nov19150314@kauri.kauri.vuw.ac.nz>
  12. Date: Thu, 19 Nov 1992 09:37:31 GMT
  13. Lines: 24
  14.  
  15. In article <LUNDMAN.92Nov19150314@kauri.kauri.vuw.ac.nz> lundman@kauri.vuw.ac.nz (L Lundman) writes:
  16. >I agree to most of you said in your post about using already defined
  17. >constants rather than a numeric number, however, if you didn't turn off the
  18. >interrupt it would mean everytime you insert a disk, or press a few keys
  19. >or anything similar the star field would go jerky. I mean, if you want
  20. >smooth thats the way to go. I don't know any smooth, "real" games that 
  21. >doesn't turn off interrupts they don't like etc...
  22.  
  23. >Although I can understand you want multitasking as well, but presonally
  24. >if I write something I want it smooth and nice and if you want multitasking
  25. >don't run it :)
  26.  
  27. Well, there's a easy way of getting sure 50 (or 60) fps without turning off
  28. the interrupts. Use them yourself. Make them high priority ones, and nothing
  29. can stop you from having all the time you want, while the system is running
  30. (well, would be if there's time) in background. If you don't mess with the
  31. copperlists yourself, but use Views for that, you can even switch back and
  32. forth applications... Now all this is unnecessary on a A500, as all the time
  33. is probably used anyway, but what if you have a 25MHz 68030? A lot of time
  34. is left unused, and could be used your something else, provided you don't
  35. do the blitter waiting in busy loops... There are ways around that too.
  36. --
  37. Osma Ahvenlampi  -  oahvenla@snakemail.hut.fi   * Workstation power for micro-
  38. All my opinions are not necessarily really mine * computer price: Amiga := FUN
  39.