#ifndef CLIB_CARDRES_PROTOS_H #define CLIB_CARDRES_PROTOS_H /* ** $VER: cardres_protos.h 47.1 (30.11.2021) ** ** 'C' prototypes. For use with 32 bit integers only. ** ** Copyright (C) 2019-2022 Hyperion Entertainment CVBA. ** Developed under license. */ #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #ifndef EXEC_LIBRARIES_H #include #endif #ifndef EXEC_RESIDENT_H #include #endif #ifndef RESOURCES_CARD_H #include #endif struct CardHandle *OwnCard( struct CardHandle *handle ); VOID ReleaseCard( struct CardHandle *handle, ULONG flags ); struct CardMemoryMap *GetCardMap( VOID ); BOOL BeginCardAccess( struct CardHandle *handle ); BOOL EndCardAccess( struct CardHandle *handle ); UBYTE ReadCardStatus( VOID ); BOOL CardResetRemove( struct CardHandle *handle, ULONG flag ); UBYTE CardMiscControl( struct CardHandle *handle, ULONG control_bits ); ULONG CardAccessSpeed( struct CardHandle *handle, ULONG nanoseconds ); LONG CardProgramVoltage( struct CardHandle *handle, ULONG voltage ); BOOL CardResetCard( struct CardHandle *handle ); BOOL CopyTuple( struct CardHandle *handle, UBYTE *buffer, ULONG tuplecode, ULONG size ); ULONG DeviceTuple( CONST UBYTE *tuple_data, struct DeviceTData *storage ); struct Resident *IfAmigaXIP( struct CardHandle *handle ); BOOL CardForceChange( VOID ); ULONG CardChangeCount( VOID ); ULONG CardInterface( VOID ); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* CLIB_CARDRES_PROTOS_H */