/* switch matrix ram declarations */ extern char func[]; /* function key definitions */ extern char dayt[],tyme[],oldayt[],oltyme[]; extern char dname[],dname1[],dname2[],dname3[],dname4[]; /* user defined inputs */ extern char cname[],cname1[],cname2[],cname3[]; /* user defined commands */ extern char numb[],treegate[],treelev[],treenabl[],treecmd[]; extern char password[],idents[]; extern char *cmdlist[],*bitlist[],*metlist[],*calclist[]; extern GXHEADER vhptr; extern unsigned char ptbl1[],ptbl2[]; /* palette tables */ extern unsigned char posn[4][7][6]; /* switch positions */ extern unsigned char keyboard[],combuf1[]; /* keyboard buffer */ extern unsigned char status[],oldstat[],statup[]; /* status buffers */ extern unsigned char control[]; /* control output bytes */ extern unsigned char sysbuf[],combuf[3]; /* COM3 buffers */ extern unsigned char remotbuf[],combuf2[]; /* COM2 buffers */ extern unsigned char parse[],localbuf[]; /* parsing buffer */ extern unsigned char prohibs[]; /* prohibited commands */ extern int oldscrn,screen; /* video screen number */ extern int refresh; /* status change flag */ extern int inlist; /* command parsing flag */ extern int logno; /* log sequence numbers */ extern int treebit[]; /* programmable controller signal bits */ extern int counter[]; /* misc timers & counters */ extern int inuse[]; /* connected loads */ extern int remo,test; /* software switches */ extern int rgb[],pal[]; /* palette intensities */ extern int nb; /* number of bytes in status log */ extern unsigned int startime; extern long keystart; /* keyboard activity start time */ extern long elaptime; extern FILE *stream; /* used to talk to hard drive */