#ifndef CLIB_LOWLEVEL_PROTOS_H #define CLIB_LOWLEVEL_PROTOS_H /* ** $VER: lowlevel_protos.h 40.1 (17.5.1996) ** ** C prototypes. For use with 32 bit integers only. ** ** Copyright © 2001 Amiga, Inc. ** All Rights Reserved */ #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #ifndef EXEC_TYPES_H #include #endif #ifndef EXEC_INTERRUPTS_H #include #endif #ifndef UTILITY_TAGITEM_H #include #endif #ifndef DEVICES_TIMER_H #include #endif #ifndef LIBRARIES_LOWLEVEL_H #include #endif /*--- functions in V40 or higher (Release 3.1) ---*/ /* CONTROLLER HANDLING */ ULONG ReadJoyPort( ULONG port ); /* LANGUAGE HANDLING */ UBYTE GetLanguageSelection( VOID ); /* KEYBOARD HANDLING */ ULONG GetKey( VOID ); VOID QueryKeys( struct KeyQuery *queryArray, ULONG arraySize ); APTR AddKBInt( CONST APTR intRoutine, CONST APTR intData ); VOID RemKBInt( APTR intHandle ); /* SYSTEM HANDLING */ ULONG SystemControlA( CONST struct TagItem *tagList ); ULONG SystemControl( Tag firstTag, ... ); /* TIMER HANDLING */ APTR AddTimerInt( CONST APTR intRoutine, CONST APTR intData ); VOID RemTimerInt( APTR intHandle ); VOID StopTimerInt( APTR intHandle ); VOID StartTimerInt( APTR intHandle, ULONG timeInterval, LONG continuous ); ULONG ElapsedTime( struct EClockVal *context ); /* VBLANK HANDLING */ APTR AddVBlankInt( CONST APTR intRoutine, CONST APTR intData ); VOID RemVBlankInt( APTR intHandle ); /* MORE CONTROLLER HANDLING */ BOOL SetJoyPortAttrsA( ULONG portNumber, CONST struct TagItem *tagList ); BOOL SetJoyPortAttrs( ULONG portNumber, Tag firstTag, ... ); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* CLIB_LOWLEVEL_PROTOS_H */