[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.
->
This is likely due to the ~200 clock cycle over head of the ROM_CALL
routine built in to ZShell. Try checking the speed without a ROM_CALL routine.
Use a direct call to FIND_PIXEL and then compare it to your routine. You'll
probably find that that does make FIND_PIXEL a bit faster.
-> 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]
->