home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3310 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.4 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: need help on A1200/030 board programming
  5. Date: 12 Feb 1996 18:00:06 GMT
  6. Organization: Technische Universitaet Muenchen, Germany
  7. Distribution: inet
  8. Message-ID: <4fnv76$glf@sunsystem5.informatik.tu-muenchen.de>
  9. References: <4f4hiu$oum@ionews.io.org> <38232327@kone.fipnet.fi> <743.6612T966T1128@wr.com.au> <38232368@kone.fipnet.fi>
  10. NNTP-Posting-Host: hphalle5.informatik.tu-muenchen.de
  11. Originator: fischerj@hphalle5.informatik.tu-muenchen.de
  12.  
  13.  
  14. In article <38232368@kone.fipnet.fi>, "Jyrki Saarinen" <jsaarinen@kone.fipnet.fi> writes:
  15. |> 
  16. |> > It IS a big problem as far as compatibility with software written for
  17. |> > unaccelerated machines goes. Anything that makes maximum use of the 
  18. |> > unexpanded 1200's chip accessing per frame will fail dismally on such an
  19. |> > accelerator.  Of course, some data could be put in fastram, but that
  20. |> > isn't going to change any programs that have already been written.
  21. |> 
  22. |> I would call that very stupid programming. Putting some things
  23. |> to FAST-ram provides so large speedup, that I dont see how
  24. |> this situation would even be possible. 
  25. |> 
  26. |> The other thing is, why the hell the software should even
  27. |> be done that way, to assume something about the timings.
  28. |> 
  29. |> I always have the "movement code" in VERTB-interrupt, so
  30. |> that the program speed is always the same on chip-only
  31. |> A1200 or a A1200 with a 50MHz 68060.
  32.  
  33. not if you got lots of mosters so the moevement code needs
  34. more than a frame o vanilla A1200...
  35.  
  36. My sugestion: just have a timer, that will tell you how much 
  37. time has gone and then you can move the monsters.
  38.  
  39. well, if you do acellerated movement, you got to add a bit
  40. physiks stuff. as I love acelleration ;) I can tell :)
  41.  
  42. t: time gone since last caclulated picture
  43.  
  44. move monster:
  45. s=s+v*t+0.5*a*t*t  
  46.  
  47.   a=acelleration. gravitation on earth (or acellertation of 
  48.   a tuned porsche :) is 9.81m/(sec^2)
  49.  
  50.   s is the position, so the formula is to use for x,y or even z.
  51.  
  52. acellerate monster:
  53. v=v+a*t    
  54.   v=speed.
  55.  
  56.  
  57. |> 
  58. |> --                               _
  59. |> a Stellar programmer          _ //
  60. |> "Amiga - back for the future" \X/
  61. ------------------------------------------------------------------------
  62.    fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer)   =:)
  63.  
  64.