Page 1 of 1

timing on the iop

Posted: Fri Aug 27, 2004 11:59 pm
by Raizor
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

Posted: Sat Aug 28, 2004 12:03 am
by ooPo
I think padman does its work one per vsync, so there's definately a way...

Posted: Sat Aug 28, 2004 12:06 am
by Raizor
interesting lead. thanks Oopo :)

Posted: Sat Aug 28, 2004 2:42 am
by mrbrown
Wouldn't iop/kernel/include/vblank.h be a better one?

Posted: Sat Aug 28, 2004 9:35 pm
by Raizor
Yea, I found that yesterday ;) thanks