#1033 - Vortex - Mon Jan 13, 2003 8:58 pm
I am working on a small program trying to call the "Sleep" mode using some of the GBA BIOS functions.
My problem is I was not able to find any documentation how to implement a user interrupt handler for GBA. The only clue I have is from GBATEK:
The explanation sounds very obscure - for example I cannot figure out is [03007FFCh] just a pointer to a function or the function code itself starts there. Also are there any special requirements for the interrupt handling function (like saving registers, etc.)
Your help will be appreciated.
Thank you
My problem is I was not able to find any documentation how to implement a user interrupt handler for GBA. The only clue I have is from GBATEK:
Quote: |
As shown above, a pointer to the 32bit/ARM-code user handler must be setup in [03007FFCh]. By default, 160 bytes of memory are reserved for interrupt stack at 03007F00h-03007F9Fh |
The explanation sounds very obscure - for example I cannot figure out is [03007FFCh] just a pointer to a function or the function code itself starts there. Also are there any special requirements for the interrupt handling function (like saving registers, etc.)
Your help will be appreciated.
Thank you