Search found 9 matches

by DeRieux
Tue Aug 12, 2008 8:20 am
Forum: PS2 Development
Topic: SDL and thread support
Replies: 6
Views: 7381

iRotateThreadReadyQueue (kernel.h)

Just create your threads having the same priority and use 'iRotateThreadQueue' system call with that priority as argument in some kind of "timer interrupt handler". I searched the whole ps2sdk for the iRotateThreadQueue but I didn't succeeded to find it... I believe this is referenced in ...
by DeRieux
Fri Jul 14, 2006 3:53 am
Forum: PS2 Development
Topic: How do I configure Dev-C++ to programming for playstation2?
Replies: 4
Views: 3812

I've tried doing it by myself and I get this error message: Compiler: PS2 Executing C:\PS2Dev\ee\ee\bin\gcc.exe... C:\PS2Dev\ee\ee\bin\gcc.exe "C:\Cygwin\tutorials\ps2tut_01\demo1.c" -o "C:\Cygwin\tutorials\ps2tut_01\demo1.exe" -I"C&a...
by DeRieux
Wed Jul 12, 2006 4:31 pm
Forum: PS2 Development
Topic: ps2client 3.0.0 not recognize subdir's
Replies: 15
Views: 6376

Yeah, I see your point...I am not very familiar with the PPC archetecure.

And finding the source code is easier said than done.

Maybe you should just use ps2client or the fix that evil posted.

I guess that's all I can suggest, for now.

William
by DeRieux
Wed Jul 12, 2006 3:24 am
Forum: PS2 Development
Topic: How do I configure Dev-C++ to programming for playstation2?
Replies: 4
Views: 3812

RE: Setup DEV-CPP for use with PS2SDK

Hey, C#er: I have gotten DEV-CPP to work with PS2SDK, I will try to put a tutorial together. Right now, I have it setup like JorDy has suggested by using makefiles, DEV-CPP supports MakeFile on a per-project basis (but not by default) I will try to get a tutorial rolled-up (after a figure out how to...
by DeRieux
Sun Jul 09, 2006 12:46 am
Forum: PS2 Development
Topic: EE timers
Replies: 6
Views: 53572

Re: Functions that implement (seconds, minutes, & hours

Shawn_t you can consider adding or looking over this code addition it adds functions to you source code, that directly makes it become a timer function that everyone (including my self) has been looking for.... Better than using the u32 cpu_ticks(void) function *note with these exten...
by DeRieux
Sat Jul 08, 2006 11:39 am
Forum: PS2 Development
Topic: ps2client 3.0.0 not recognize subdir's
Replies: 15
Views: 6376

RE: RadhostClient

No, Husky99 I do not have PPC, nor have I used the linux version of RadHostClient. I currently use the windows version, becuase I am in Windows more often. I am currently downloading the file, will unpack it and see what it's all about. I will then post another message/or edit this message after tha...
by DeRieux
Fri Jul 07, 2006 6:48 pm
Forum: PS2 Development
Topic: ps2client 3.0.0 not recognize subdir's
Replies: 15
Views: 6376

.....ppc Not a supported architecture, I assume... Guess I'm out of luck with RadHostClient unless I can find the source code and compile it. oh well, for now I have ps2client working, I guess that will have to do. You need to the linux version of Rad Host Client: http://www.freewebtown.com/radsoft...
by DeRieux
Thu Jul 06, 2006 10:25 am
Forum: PS2 Development
Topic: uclock(), usleep(), localtime() and readdir() equivalents
Replies: 3
Views: 2643

Followup:

I'd like to know, how to get the following functionality from C: A clock with 1ms resolution or better. A sleep function with 1ms resolution or better (or should I spin in a loop using the above clock?) Realtime clock (year, month, day of month, day of week, hour, minute, second) Read memory card's...
by DeRieux
Thu Jul 06, 2006 10:16 am
Forum: PS2 Development
Topic: uclock(), usleep(), localtime() and readdir() equivalents
Replies: 3
Views: 2643

Re: usleep()

You can try the following code: #include <stdio.h> #include <stdlib.h> #include <tamtypes.h> #include <sifcmd.h> #include <kernel.h> #include <sifrpc.h> #include <string.h> #include <sys/stat.h> #include <debug.h> #include <timer.h> #define clearscreen&#40;&#41; scr_clear&#40;&#41; /...