head 1.1; branch 1.1.1; access ; symbols start:1.1.1.1 PAlibDoc:1.1.1; locks ; strict; comment @# @; 1.1 date 2005.11.02.08.30.35; author jandujar; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2005.11.02.08.30.35; author jandujar; state Exp; branches ; next ; desc @@ 1.1 log @Initial revision @ text @
Macros | |
#define | PA_InitVBL() PA_StartInt(INT_VBLANK, PA_vblFunc) |
Initialise une fonction VBL basique. Très pratique pour l'utilisateur non averti, car met à jour l'OAM (les sprites), les touches, et le stylet... On n'a donc plus besoin d'utiliser PA_UpdateOAM, PA_UpdatePad, PA_UpdateStylus, et PA_UpdateRTC dans ce cas ! | |
#define | PA_GetVcount() (REG_VCOUNT&511) |
Récupérer le numéro de ligne tracée | |
Fonctions | |
void | PA_ResetInterrupts (void) |
Remise à 0 du système d'interruption. Désactive toutes les interruptions | |
void | PA_StartInt (u8 inter, funcpointer interfunc) |
Initialise une interruption donnée | |
void | PA_StopInt (u8 inter) |
Initialise une interruption donnée | |
void | PA_vblFunc (void) |
Fonction standard du VBL PAlib... Ceci met à jour le pad, le stylet, le RTC... Utilisez cette fonction si vous faites votre propre VBL... |
|
Initialise une interruption donnée
|
|
Initialise une interruption donnée
|