At 22:08 08/11/2003 +0000, you wrote:
>Fun question: Anyone try switching the GBA over to fast interrupts
>such that you don't have to manually save all your registers upon
>interrupt? It'd be fun to write a handler to do that instead of the
>standard one that works off of normal interrupts. Getting to
>interrupts wouldn't carry near the overhead they currently do (I'm
>spoiled as I'm used to the GBC where it only took a couple cycles to
>get into the interrupts.)
GBA interrupts are IRQ by nature, not FIQ. You can still switch ARM
to fast interrupt mode manually using msr, but anyway, real interrupts
will never be FIQ on GBA.
In other words, save the registers or do not use them :)
--
Tek
void main () { printf ("Free the World !\n"); } /* copyleft at
www.freedevelopers.net */