| View previous topic :: View next topic |
| Author |
Message |
urchin
Joined: 02 Jun 2005 Posts: 121
|
Posted: Thu Nov 03, 2005 7:52 pm Post subject: Timer Interrupts |
|
|
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. |
|
| Back to top |
|
 |
Shazz

Joined: 31 Aug 2004 Posts: 244 Location: Somewhere over the rainbow
|
Posted: Fri Nov 25, 2005 7:53 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
urchin
Joined: 02 Jun 2005 Posts: 121
|
Posted: Thu Dec 01, 2005 11:58 pm Post subject: |
|
|
| 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? |
|
| Back to top |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Fri Dec 02, 2005 4:29 am Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
|