#include #include #include "tcclib.h" #define MAXKEYS 64 typedef struct { int Key; void (*Func)( void ); } GCommKeyType; GCommKeyType GCommKey[MAXKEYS]; void GCommKeyNoOp( void ); void GCommKeyNoOp() {} void (*GCommBackgroundFunc)( void ) = NULL; void GCommBackground( void (*funct)( void ) ) { GCommBackgroundFunc = funct; } void GCommLink ( int key, void (*funct)( void ) ) { register int i; for (i=0; i> 8 ) | 256; for (i=0; i