twixn
Still Fresh
Hey all
Just got my GP2X in the mail yesterday And i've spent quite
a while today serching the forums for some answers without success
(although i probably missed something) so i thought id just ask.
I've been having troubles getting floating point math working. I know
the ARM920T has no FPU, but since i got it so recently shouldn't
the dev kit be compiled with -msoft-float to at least emulate it?
I have also compiled all of my code with -msoft-float, but the same thing
always happends.
Eg, this code compiles fine, but when its executed the GP2X just
hangs:
If i cant get it working, is there anywhere i can get fixed point libraries
for cos, sin, tan and sqrt?
Im attempting to make a 3D rasterizer for a game on the GP2X, i have a simple
rasterizer going but i need to use these functions to calculate the proj and
view matricies, as well as some vector math (like normalization).
Can anyone help?
-Twixn-
Just got my GP2X in the mail yesterday And i've spent quite
a while today serching the forums for some answers without success
(although i probably missed something) so i thought id just ask.
I've been having troubles getting floating point math working. I know
the ARM920T has no FPU, but since i got it so recently shouldn't
the dev kit be compiled with -msoft-float to at least emulate it?
I have also compiled all of my code with -msoft-float, but the same thing
always happends.
Eg, this code compiles fine, but when its executed the GP2X just
hangs:
Code:
int running=100;
float test;
test=2.0f*2.0f;
running=(int)(test)*running;
If i cant get it working, is there anywhere i can get fixed point libraries
for cos, sin, tan and sqrt?
Im attempting to make a 3D rasterizer for a game on the GP2X, i have a simple
rasterizer going but i need to use these functions to calculate the proj and
view matricies, as well as some vector math (like normalization).
Can anyone help?
-Twixn-