![]() | |||||||||||||||||
lowlevel
AddTimerIntSynopsis
APTR AddTimerInt(
APTR intRoutine,
APTR intData );
AddVBlankIntSynopsis
APTR AddVBlankInt(
APTR intRoutine,
APTR intData );
Function
Add a callback function that should be executed every vertical blank.
If your program can exit without rebooting the machine, RemVBlankInt()
has to be called prior to exiting.
Only one interrupt routine may be added; always check the return
value of this function in case some other program already has used this
function.
InputsintRoutine -- the callback function to invoke each vertical blank intData -- data passed to the callback function ResultA handle used to manipulate the interrupt or NULL if the call failed. See alsoRemVBlankInt() ElapsedTimeSynopsis
ULONG ElapsedTime(
struct EClockVal * context );
GetLanguageSelectionSynopsisULONG GetLanguageSelection(); ReadJoyPortSynopsis
ULONG ReadJoyPort(
ULONG port );
RemTimerIntSynopsis
VOID RemTimerInt(
APTR intHandle );
RemVBlankIntSynopsis
VOID RemVBlankInt(
APTR intHandle );
FunctionRemove a vertical blank interrupt routine previously added by a call to AddVBlankInt(). Inputs
intHandle -- return value from AddVBlankInt(); may be NULL in which case
this function is a no-op.
See alsoAddVBlankInt() StartTimerIntSynopsis
VOID StartTimerInt(
APTR intHandle,
ULONG timeInterval,
BOOL continuous );
StopTimerIntSynopsis
VOID StopTimerInt(
APTR intHandle );
|
Copyright © 1995-2008, The AROS Development Team. All rights reserved. Amiga® is a trademark of Amiga Inc. All other trademarks belong to their respective owners. |