Search found 5 matches

by C-Be
Wed Apr 21, 2004 6:00 pm
Forum: PS2 Development
Topic: Using sin and rand functions
Replies: 14
Views: 7511

Using printf() is a good idea. They will show up in the InLink log window i presume. I was going to commend out code until it started working, but i will try the printf() first. Unfortunally I am stuck to the emulator for a few days before i can test it on a real ps2. But when i narrowed it down but...
by C-Be
Wed Apr 21, 2004 6:07 am
Forum: PS2 Development
Topic: Using sin and rand functions
Replies: 14
Views: 7511

Hey, that worked, amazing: mrbrown, you the man! :) I have got one other small question. I tested the code i wrote on the ps2 emulator only (i don't have my ps2 at hand all the time :( ) and it worked just fine on it. But when i tried to upload it with InLink using Pukklink on my ps2 it gave the fol...
by C-Be
Wed Apr 21, 2004 12:30 am
Forum: PS2 Development
Topic: Using sin and rand functions
Replies: 14
Views: 7511

I had tried -lgcc already but it doesn't help.

I put it in front of the -lm and -lc, thats where it should be right?
by C-Be
Tue Apr 20, 2004 6:55 pm
Forum: PS2 Development
Topic: Using sin and rand functions
Replies: 14
Views: 7511

Thanks for the help. i actually am using another random function somewhat like mersenne twister, but i need a first really random number or else every time i run the program al randoms are the same for every run. So i want 1x rand() and then 8000x the other random(). I got the sinf() working with ne...
by C-Be
Tue Apr 20, 2004 7:15 am
Forum: PS2 Development
Topic: Using sin and rand functions
Replies: 14
Views: 7511

Using sin and rand functions

Hi, i have a probably very easy starter question, but i just can't figure it out on my own. I have installed the ps2 dev environment and have writen some code, that runs fine on the ps2 emulator (haven't gotten it to run on my ps2 for now) but now i want to use some functions such as sin and rand bu...