Welcome! Log In Create A New Profile


Newbie Question - IRQ Descriptions

Posted by phoenixx 
Newbie Question - IRQ Descriptions
February 28, 2009 03:34AM

I'm trying to find a nice way to prevent an app from permanently hanging and one idea I had was to use an ISR based on an internal timer to regularly break out of the app and check to see if some event (eg. user pressed a 'break' button on the Wiimote) occured and, if so, display some debug info then gracefully return to the loader.

So, my question is: is there an IRQ on the Wii which I could use for this purpose (it doesn't need to be a timer, just as long as it fires when the app is hung)? I've looked at the YAGCD and I don't really know what to make of the IRQ descriptions. Is there a better resource for these?

Thanks in advance.
Re: Newbie Question - IRQ Descriptions
February 28, 2009 11:13AM
Start a thread with a way high priority, it will be run thanks to some timer irq.
Just remember to not do a busy loop, that would stall the rest of the program.
Sorry, only registered users may post in this forum.

Click here to login