Article View: rec.games.programmer
Article #431Re: Perspective Mapper and Scaler Code...
From: GMM
Date: Wed, 05 Aug 1992 20:19
Date: Wed, 05 Aug 1992 20:19
18 lines
1488 bytes
1488 bytes
>Besides, Mike, you're an Amiga programmer, right? C on the Amiga is >much more highly optimized than typical C compilers on the IBM. The only >compilers that I've been told that do global optimizing (and have for >years) on the IBM is Watcom C and Zortech C...but I can't afford either. Actually, Borland C++ version 3.1 does global optimizing, but I don't think it does it well enough to do what you are talking about. I've been working on some perspective mapping stuff as well. Assuming that the screen is half filled with mapped images at any given moment, I started off with only 4 frames per second using nothing but pure C with all optimizations. After a little inline assembly, it's now up to 23 frames per second and still rising. I guess I'm somewhere between the extremes of those that don't want to see the assembly code produced by the compiler and those that find it a sin to not write everything in assembly, even if part of the code doesn't even show up on a profile at all. -Gary McTaggart
Technical Details
Message-ID:
<36686@uflorida.cis.ufl.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!caen!uflorida!reef.cis.ufl.edu!gmtReferences:
<mykes.0b6t@amiga0.SF-Bay.ORG> <1992Aug1.122114.57757@cc.usu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!caen!uflorida!reef.cis.ufl.edu!gmt From: gmt@reef.cis.ufl.edu (GMM) Newsgroups: rec.games.programmer Subject: Re: Perspective Mapper and Scaler Code... Message-ID: <36686@uflorida.cis.ufl.edu> Date: 5 Aug 92 20:19:27 GMT References: <mykes.0b6t@amiga0.SF-Bay.ORG> <1992Aug1.122114.57757@cc.usu.edu> Sender: news@uflorida.cis.ufl.edu Organization: Univ. of Florida CIS Dept. Lines: 21 Nntp-Posting-Host: reef.cis.ufl.edu