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 

timing on the iop

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



Joined: 18 Jan 2004
Posts: 60
Location: out there

PostPosted: Fri Aug 27, 2004 11:59 pm    Post subject: timing on the iop Reply with quote

Is there anyway to time an event to happen 50/60 times a second on the iop? Kinda like using vsync on the EE. I'm writing a sound player and I need to buffer roughly each vsync...

I've noticed AmigaMod.irx must do something like this for timing of the modplayer, I just have no idea how vzzrzzn did it :)

Any thoughts or suggestions would be most welcome....

thanks,

raizor
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Sat Aug 28, 2004 12:03 am    Post subject: Reply with quote

I think padman does its work one per vsync, so there's definately a way...
Back to top
View user's profile Send private message Visit poster's website
Raizor



Joined: 18 Jan 2004
Posts: 60
Location: out there

PostPosted: Sat Aug 28, 2004 12:06 am    Post subject: Reply with quote

interesting lead. thanks Oopo :)
Back to top
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Sat Aug 28, 2004 2:42 am    Post subject: Reply with quote

Wouldn't iop/kernel/include/vblank.h be a better one?
_________________
"He was warned..."
Back to top
View user's profile Send private message
Raizor



Joined: 18 Jan 2004
Posts: 60
Location: out there

PostPosted: Sat Aug 28, 2004 9:35 pm    Post subject: Reply with quote

Yea, I found that yesterday ;) thanks
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 -> PS2 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