/* WEWN ram declarations */ extern char sked[]; /* active schedule number */ extern char func[]; /* function key definitions */ extern char startyme[4][480],endtyme[4][480]; /* clocked events */ extern char evenable[4][80],txnum[4][80],modulate[4][320]; extern char dayt[],tyme[],oldayt[],oltyme1[],oltyme2[]; extern char dname[],dname1[],dname2[],dname3[],dname4[]; /* user defined inputs */ extern char aname[],aname1[],aname2[]; /* user defined meters */ extern char cname[],cname1[],cname2[],cname3[]; /* user defined commands */ extern char password[],idents[],kwit[]; extern char numb[],treegate[],treelev[],treenabl[],treecmd[]; extern char *song[],*cmdlist[],*bitlist[],*metlist[],*calclist[]; extern GXHEADER vhptr; extern unsigned char ptbl1[],ptbl2[]; /* palette tables */ extern unsigned char utemp[]; /* temporary */ extern unsigned char keyboard[]; /* keyboard buffer */ extern unsigned char status[],oldstat[],statup[]; /* status buffers */ extern unsigned char temp1[],temp2[]; /* temporary */ extern unsigned char prohibs[]; /* prohibited commands */ extern unsigned char control[],olcont[]; /* control output bytes */ extern unsigned char clockbuf[],combuf3[]; /* com3 buffers */ extern unsigned char remotbuf[],combuf2[]; /* com2 buffer */ extern unsigned char localbuf[]; /* com1 buffer */ extern unsigned char parse[]; /* parsing buffer */ extern int meter[],oldav[],avmet[]; /* A/D buffers */ extern int rmsmet[],minmet[],maxmet[]; extern int power[4][80],bearing[4][80]; /* scheduled events */ extern int scale[]; /* A/D scaling multipliers */ extern int chan[4][80]; /* scheduled channel */ extern split[4][80]; /* scheduled splitter A4 bearing */ extern int powlock[]; /* lockout power level */ extern int lolim[],hilim[]; /* warning boundaries */ extern int oldscrn1,oldscrn2,screen1,screen2; /* video screen number */ extern int oldmont,mont; /* active monitor 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 fp[]; /* rs422 file handles */ extern int gpibuf[]; /* gpib data buffer */ extern int remo,test; /* remote, test emulation flags */ extern int rgb[],pal[]; /* color palette intensities */ extern int nb; /* number of bytes in status log */ extern int ant1[],ant2[],ant3[],ant4[],ant5[]; /* legal antenna bearings */ extern unsigned int startime; /* start thousandths count */ extern long elaptime; /* elapsed thousandths */ extern long freq[4][80]; /* scheduled frequency */ extern long lolock[]; /* lower lockout frequencies */ extern long hilock[]; /* upper lockout frequencies */ extern long keystart; /* keyboard activity start time */ extern long calc[],olcalc[]; /* calculations */ extern long skedfreq[]; /* desired freqs */ extern long measfreq[],olmeas[]; /* measured freqs */ extern double sqsum[],metersum[]; /* used in metering routine */ extern FILE *stream; /* used to talk to hard drive */