/* 723 s-band transmitter ram declarations */ extern char func[]; /* function key definitions */ extern char eventime[],evendate[],event[],evenable[]; /* clocked events */ extern char histime[]; /* history time scroll */ extern char dayt[],tyme[],oldayt[],oltyme[]; 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[],codec[4]; extern char numb[],treegate[],treelev[],treenabl[],treecmd[]; extern char kernbuf[]; extern char *cmdlist[],*bitlist[],*lolist[],*hilist[],*metlist[],*calclist[], *testlist[]; extern GXHEADER vhptr; extern unsigned char ptbl1[],ptbl2[]; /* palette tables */ extern unsigned char utemp[]; /* temporary file */ extern unsigned char sysbuf[],combuf3[]; /* COM3 buffers */ extern unsigned char keyboard[],combuf1[]; /* keyboard buffers */ extern unsigned char remotbuf[],combuf2[]; /* COM2 buffers */ extern unsigned char localbuf[],parse[]; extern unsigned char status[],oldstat[],statup[]; /* status buffers */ extern unsigned char temp1[],temp2[]; extern unsigned char prohibs[]; /* prohibited commands */ extern unsigned char histat[]; /* history status scroll */ extern unsigned char control[]; /* control output bytes */ extern int meter[],avmet[],logavg[],longav[],oldav[],movav[16][64]; /* A/D buffers */ extern int dac[],rmsmet[],minmet[],maxmet[]; extern int prepow[],prebeam[],predriv[],prebal[],prepha[],preoff[],pregain[]; extern int hismet[]; /* history meter scroll */ extern int scale[]; /* A/D scaling multipliers */ extern int hvfac; /* Beam V to dac conv factor*/ extern int olhvset,oldrvset; /* update registers */ extern int lolim[],hilim[]; extern int oldscrn,screen; /* video screen number */ extern int refresh; /* status change flag */ extern int inlist; /* command parsing flag */ extern int histflag; /* history storage flag */ extern int histno,logno; /* history, log sequence numbers */ extern int treebit[]; /* programmable controller signal bits */ extern int counter[]; /* misc timers & counters */ extern int remo,test; /* remote, test versions */ extern int rgb[],pal[]; /* palette intensities */ extern int nb; /* number of bytes in status log */ extern int histen; /* ram history enable */ extern int veriflag; /* flag for verification of cmds */ extern int rflag; /* flag for verification of cmds */ extern int anordig; /* flag for verfication 1=analog */ extern int comseq; /* flag for command sequences */ extern int trynum; /* number of times sequence will execute */ extern int statnum; /* byte number in status log to verify */ extern int statmask; /* mask used in digital compare */ extern int statnum2; /* byte number in status double verify */ extern int statmask2; /* mask used in double digital compare */ extern int statchk; /* desired status result */ extern int statchk2; /* desired double status result */ extern int metnum; /* meter number used for compare */ extern int updn; /* 1=up, used for compare */ extern int old47; /* old value of counter[47], used in refresh */ extern long oldval; /* meter value used for compare */ extern int chkcount; /* counter used for verify delay */ extern int filset; /* fil timer complete variable */ extern int filrcount; /* fil ramp timer */ extern int dogs; /* special fault sums */ extern int ind_delay; /* inductrol delay counter */ extern int pset; /* power set routine flag */ extern unsigned int startime; /* start thousandths count */ extern long elaptime; /* elapsed time counter */ extern long keystart; /* keyboard activity start time */ extern long scrstart; /* screen-saver start time */ extern long calc[],olcalc[],longcalc[],mincalc[],maxcalc[]; /* calculations */ extern long raw[]; /* un-scaled meter values */ extern double sqsum[],metersum[]; /* used in metering routine */ extern FILE *stream; /* used to talk to hard drive */ extern void (_interrupt _far *oldint09H)(void); extern void _interrupt _far newint09H(void); extern void (_interrupt _far *oldtick)(void); extern void _interrupt _far newtick(void);