[Prev][Next][Index][Thread]
Re: A85: Why do anything and another question.
The ROM square root would be helpful but I'd like one as optimized as
possible and the one in ROM definitely is not.
A 32-bit floating point can't be really fast but an optimized ASM version
could be fastER than the default one on the calc. Simple things like
plotting a point have even been proven to be faster with optimized asm in
something such as ZShell.
Theoretically the compiler could compile for any calculator including the
92. It's not really a matter of clicking a different button as changing
a radio button or something to change the default libraries to that of a
different calculator. Maybe no buttons at all just change the directory
of an included file:
#include "ti85\zshell\stdlib.h"
#include "ti85\usgard\stdlib.h"
#include "ti92\stdlib.h"
etc...
The way I have the compiler worked out it should be quite easy to compile
for different calcs. I am concerned with things such as screen size for
grafx functions and inline assembly. I'm still working out the details
of this part.
You're right about the ray-casting. But to draw a circle you would need
a square root function or to find the distance between two points. I
just used these as examples as to when you would need a square root
function. In my game the square root was very helpful for weighing
circumstances.
Mordant
egillespie@juno.com
erik_gillespie_1096@gwgate.kvcc.edu
"Just because you're paranoid don't mean they're not after you." -Kurt
Cobain
_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]
Follow-Ups:
References: