Timer Interrupts

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
urchin
Posts: 121
Joined: Thu Jun 02, 2005 5:41 pm

Timer Interrupts

Post by urchin »

I noticed that PSP_SYSTIMER0_INT and a few others have been added to the interrupt manager header file. Can these be used to interrupt at user defined intervals?

I have already got PSP_VBLANK_INT working nicely in my code.
User avatar
Shazz
Posts: 244
Joined: Tue Aug 31, 2004 11:42 pm
Location: Somewhere over the rainbow
Contact:

Post by Shazz »

what a good question :D

I wonder if the timers are configurable as they were on the PS2 (bus clock, HBL, VBL,...), the resolution (16b ? 32b ?) and so on...
- TiTAN Art Division -
http://www.titandemo.org
urchin
Posts: 121
Joined: Thu Jun 02, 2005 5:41 pm

Post by urchin »

I tried substituting PSP_SYSTIMER0_INT (1, 2, 3 etc.) for PSP_VBLANK_INT but my callback was never called. Can anyone shed more light on this?
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

I would probably guess that these are used by the kernels systimer module and are not for use by user level applications. If you could get rid of the kernel, or work out the interface to systimer.prx you might be able to indirectly use them in your own code. However in likelyhood the best you are going to get is by using things like sceKernelSetAlarm
Post Reply