forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Timer Interrupts

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
urchin



Joined: 02 Jun 2005
Posts: 121

PostPosted: Thu Nov 03, 2005 7:52 pm    Post subject: Timer Interrupts Reply with quote

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
View user's profile Send private message
Shazz



Joined: 31 Aug 2004
Posts: 244
Location: Somewhere over the rainbow

PostPosted: Fri Nov 25, 2005 7:53 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
urchin



Joined: 02 Jun 2005
Posts: 121

PostPosted: Thu Dec 01, 2005 11:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Fri Dec 02, 2005 4:29 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group