http://www.aros.orgAROS-ExecTeam AROSAROS-Exec Archives

Home

English

Deutsch

Ελληυικά

Français

Italiano

Nederlands

Polski

Português

Русский

Español

Suomi

Svenska

Česky


News

Archive

Introduction

Status
Screenshots
Ports
License

Download


Documentation

Users
Installation
Using
Shell commands
Applications
FAQ
Developers
Contribute
Roadmap
Bug Tracker
Working with Subversion
Compiling
Application Development Manual
Zune Application Development Manual
System Development Manual
Debugging Manual
Reference
Specifications
UI Style Guide
Documenting
Porting
Translating
Summaries
Links

Contact

Mailing lists
IRC channels

Credits

Acknowledgements


Pictures

Developers
Developers en Masse

Sponsors

Linking

Links

SourceForge Logo

lowlevel

Index


AddKBInt AddTimerInt AddVBlankInt ElapsedTime
GetKey GetLanguageSelection QueryKeys ReadJoyPort
RemKBInt RemTimerInt RemVBlankInt StartTimerInt
StopTimerInt      

AddKBInt

Synopsis

APTR AddKBInt(
         APTR intRoutine,
         APTR intData );

AddTimerInt

Synopsis

APTR AddTimerInt(
         APTR intRoutine,
         APTR intData );

AddVBlankInt

Synopsis

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.

Inputs

intRoutine  --  the callback function to invoke each vertical blank
intData     --  data passed to the callback function

Result

A handle used to manipulate the interrupt or NULL if the call failed.

See also

RemVBlankInt()

ElapsedTime

Synopsis

ULONG ElapsedTime(
         struct EClockVal * context );

GetKey

Synopsis

ULONG GetKey();

GetLanguageSelection

Synopsis

ULONG GetLanguageSelection();

QueryKeys

Synopsis

VOID QueryKeys(
         struct KeyQuery * queryArray,
         UBYTE arraySize );

ReadJoyPort

Synopsis

ULONG ReadJoyPort(
         ULONG port );

RemKBInt

Synopsis

VOID RemKBInt(
         APTR intHandle );

RemTimerInt

Synopsis

VOID RemTimerInt(
         APTR intHandle );

RemVBlankInt

Synopsis

VOID RemVBlankInt(
         APTR intHandle );

Function

Remove 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 also

AddVBlankInt()

StartTimerInt

Synopsis

VOID StartTimerInt(
         APTR intHandle,
         ULONG timeInterval,
         BOOL continuous );

StopTimerInt

Synopsis

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.