home *** CD-ROM | disk | FTP | other *** search
- Organization: Junior, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA
- Path: sparky!uunet!cis.ohio-state.edu!news.sei.cmu.edu!fs7.ece.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!sm86+
- Newsgroups: comp.sys.atari.st.tech
- Message-ID: <0ehHs8S00awR45_Fwp@andrew.cmu.edu>
- Date: Mon, 14 Sep 1992 21:36:08 -0400
- From: Stefan Monnier <sm86+@andrew.cmu.edu>
- Subject: Re: "fast" sprites in C
- In-Reply-To: <1992Sep14.164515.25363@electro.electro.com>
- References: <61138@aurs01.UUCP> <UefNt=q00VorIjCEdL@andrew.cmu.edu>
- <1992Sep14.164515.25363@electro.electro.com>
- Lines: 53
-
- Excerpts from netnews.comp.sys.atari.st.tech: 14-Sep-92 Re: "fast"
- sprites in C George Reimer@electro.el (1238)
- > The speed improvement of 2 or more, are you comparing
- > assembler versus the C code equivalent?
-
- > How do the VDI calls compare? ( specfically the
- > raster operations ? ) Are they usefull only for
- > prototyping or can one implement a reasonable animation?
-
- > I am currently using the VDI calls to cut and paste
- > Neochrome type images, and they seem reasonably fast
- > but then again, I'm not making many repeated calls.
-
- > If these calls are poor performers, is there assembly source
- > code avaiable to replace them?
-
- > --
-
- > _______________________________________
- > |---|---|line--upon--line---|---|---|---| watmath!watcgl!electro!george
- > |---|--building the foundations-|---|---|---| george@electro.com
-
-
- I'm not exactly a 'demo-wizard', so I may be wrong (well
- I hope not completely)
-
- VDI raster operations should be 'device-independent'
- and of generic functionality (it is possible to copy
- from one screen format to another, for example)
- This means it can't be fully optimized for 1 particular
- application. So it sure is slower than direct screen access
- The less processing is needed, the bigger the speed difference:
- with sprites, the difference is BIG !
-
- If you wish to do animations with VDI, you'll need
- NVDI (cause VDI is not assembler-optimized but compiled
- C) and maybe a processor a bit more powerful than 68000 8Mhz !
-
- For source assembly code, I don't know: check at a.a
- (default answer :-))
-
- Can anyone a bit (at least) more involved in demos help ?
-
- Stefan Monnier
-
- -----------------------------------------------------
- -- On the average, people seem to be acting normal --
- -----------------------------------------------------
-
-
-
-
-
-