| View previous topic :: View next topic |
| Author |
Message |
Raizor
Joined: 18 Jan 2004 Posts: 60 Location: out there
|
Posted: Fri Aug 27, 2004 11:59 pm Post subject: timing on the iop |
|
|
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 |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Sat Aug 28, 2004 12:03 am Post subject: |
|
|
| I think padman does its work one per vsync, so there's definately a way... |
|
| Back to top |
|
 |
Raizor
Joined: 18 Jan 2004 Posts: 60 Location: out there
|
Posted: Sat Aug 28, 2004 12:06 am Post subject: |
|
|
| interesting lead. thanks Oopo :) |
|
| Back to top |
|
 |
mrbrown
Joined: 17 Jan 2004 Posts: 1536
|
Posted: Sat Aug 28, 2004 2:42 am Post subject: |
|
|
Wouldn't iop/kernel/include/vblank.h be a better one? _________________ "He was warned..." |
|
| Back to top |
|
 |
Raizor
Joined: 18 Jan 2004 Posts: 60 Location: out there
|
Posted: Sat Aug 28, 2004 9:35 pm Post subject: |
|
|
| Yea, I found that yesterday ;) thanks |
|
| Back to top |
|
 |
|