#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 __stdargs ReadJoyPort( ULONG port ); /* LANGUAGE HANDLING */ UBYTE __stdargs GetLanguageSelection( VOID ); /* KEYBOARD HANDLING */ ULONG __stdargs GetKey( VOID ); VOID __stdargs QueryKeys( struct KeyQuery *queryArray, ULONG arraySize ); APTR __stdargs AddKBInt( CONST APTR intRoutine, CONST APTR intData ); VOID __stdargs RemKBInt( APTR intHandle ); /* SYSTEM HANDLING */ ULONG __stdargs SystemControlA( CONST struct TagItem *tagList ); ULONG __stdargs SystemControl( Tag firstTag, ... ); /* TIMER HANDLING */ APTR __stdargs AddTimerInt( CONST APTR intRoutine, CONST APTR intData ); VOID __stdargs RemTimerInt( APTR intHandle ); VOID __stdargs StopTimerInt( APTR intHandle ); VOID __stdargs StartTimerInt( APTR intHandle, ULONG timeInterval, LONG continuous ); ULONG __stdargs ElapsedTime( struct EClockVal *context ); /* VBLANK HANDLING */ APTR __stdargs AddVBlankInt( CONST APTR intRoutine, CONST APTR intData ); VOID __stdargs RemVBlankInt( APTR intHandle ); /* MORE CONTROLLER HANDLING */ BOOL __stdargs SetJoyPortAttrsA( ULONG portNumber, CONST struct TagItem *tagList ); BOOL __stdargs SetJoyPortAttrs( ULONG portNumber, Tag firstTag, ... ); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* CLIB_LOWLEVEL_PROTOS_H */