home *** CD-ROM | disk | FTP | other *** search
- Path: informatik.tu-muenchen.de!fischerj
- From: fischerj@informatik.tu-muenchen.de (Juergen "Rally" Fischer)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: need help on A1200/030 board programming
- Date: 12 Feb 1996 18:00:06 GMT
- Organization: Technische Universitaet Muenchen, Germany
- Distribution: inet
- Message-ID: <4fnv76$glf@sunsystem5.informatik.tu-muenchen.de>
- References: <4f4hiu$oum@ionews.io.org> <38232327@kone.fipnet.fi> <743.6612T966T1128@wr.com.au> <38232368@kone.fipnet.fi>
- NNTP-Posting-Host: hphalle5.informatik.tu-muenchen.de
- Originator: fischerj@hphalle5.informatik.tu-muenchen.de
-
-
- In article <38232368@kone.fipnet.fi>, "Jyrki Saarinen" <jsaarinen@kone.fipnet.fi> writes:
- |>
- |> > It IS a big problem as far as compatibility with software written for
- |> > unaccelerated machines goes. Anything that makes maximum use of the
- |> > unexpanded 1200's chip accessing per frame will fail dismally on such an
- |> > accelerator. Of course, some data could be put in fastram, but that
- |> > isn't going to change any programs that have already been written.
- |>
- |> I would call that very stupid programming. Putting some things
- |> to FAST-ram provides so large speedup, that I dont see how
- |> this situation would even be possible.
- |>
- |> The other thing is, why the hell the software should even
- |> be done that way, to assume something about the timings.
- |>
- |> I always have the "movement code" in VERTB-interrupt, so
- |> that the program speed is always the same on chip-only
- |> A1200 or a A1200 with a 50MHz 68060.
-
- not if you got lots of mosters so the moevement code needs
- more than a frame o vanilla A1200...
-
- My sugestion: just have a timer, that will tell you how much
- time has gone and then you can move the monsters.
-
- well, if you do acellerated movement, you got to add a bit
- physiks stuff. as I love acelleration ;) I can tell :)
-
- t: time gone since last caclulated picture
-
- move monster:
- s=s+v*t+0.5*a*t*t
-
- a=acelleration. gravitation on earth (or acellertation of
- a tuned porsche :) is 9.81m/(sec^2)
-
- s is the position, so the formula is to use for x,y or even z.
-
- acellerate monster:
- v=v+a*t
- v=speed.
-
-
- |>
- |> -- _
- |> a Stellar programmer _ //
- |> "Amiga - back for the future" \X/
- ------------------------------------------------------------------------
- fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer) =:)
-
-