The Socrates Gameboy Advance Development Engine
The SGADE is a development library for the Nintendo Gameboy
Advance. It's free for all uses and is distributed without guarantees.
For more information visit
the SGADE page.
#include "SoSystem.h"#include "SoDisplay.h"Go to the source code of this file.
Interrupt types | |
| #define | SO_INTERRUPT_TYPE_VBLANK |
| #define | SO_INTERRUPT_TYPE_HBLANK |
| #define | SO_INTERRUPT_TYPE_VTRIGGER |
| #define | SO_INTERRUPT_TYPE_TIMER_0 |
| #define | SO_INTERRUPT_TYPE_TIMER_1 |
| #define | SO_INTERRUPT_TYPE_TIMER_2 |
| #define | SO_INTERRUPT_TYPE_TIMER_3 |
| #define | SO_INTERRUPT_TYPE_SERIAL |
| #define | SO_INTERRUPT_TYPE_DMA_0 |
| #define | SO_INTERRUPT_TYPE_DMA_1 |
| #define | SO_INTERRUPT_TYPE_DMA_2 |
| #define | SO_INTERRUPT_TYPE_DMA_3 |
| #define | SO_INTERRUPT_TYPE_KEYPAD |
| #define | SO_INTERRUPT_TYPE_CART |
| #define | SO_NUM_INTERRUPT_TYPES |
Typedefs | |
| typedef void(* | SoInterruptHandler )(void) |
| Interrupt handler type definition;. | |
Functions | |
| void | SoIntManagerInitialize (void) |
| Initializes the interrupt manager. | |
| void | SoIntManagerSetInterruptHandler (u32 a_InterruptType, SoInterruptHandler a_IntHandler) |
| Sets an interrupt;. | |
| void | SoIntManagerEnableInterruptMaster (void) |
| Enables the master-enable setting for the interrupts. | |
| void | SoIntManagerDisableInterruptMaster (void) |
| Disables the master-enable setting for the interrupts. | |
| void | SoIntManagerEnableInterrupt (u32 a_InterruptType) |
| Enables a specific interrupt. | |
| void | SoIntManagerDisableInterrupt (u32 a_InterruptType) |
| Disables a specific interrupt. | |
| void | SoIntManagerInterruptHandler (void) |
| The interrupt handler. | |
Variables | |
| SoInterruptHandler | g_InterruptHandlers [SO_NUM_INTERRUPT_TYPES] |
| Declared here because we need in both the .C and the assembly. | |