/* 420C ram declarations */ extern int z; extern char func[]; /* function key definitions */ extern char chanmod[]; /* modulation mode */ extern char chanant[]; /* antenna name */ 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[]; extern char numb[],treegate[],treelev[],treenabl[],treecmd[]; extern char kernbuf[]; extern char *vobuf,*cmdlist[],*bitlist[],*metlist[],*servlist[],*calclist[]; extern GXHEADER vhptr; extern unsigned char ptbl1[],ptbl2[]; /* palette tables */ extern unsigned char utemp[]; /* temporary file */ extern unsigned char keyboard[],combuf1[]; /* keyboard buffers */ extern unsigned char remotbuf[],combuf2[]; /* COM2 buffers */ extern unsigned char sysbuf[],combuf3[]; /* COM3 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[],longav[],oldav[],movav[16][64]; /* A/D buffers */ extern int rmsmet[],minmet[],maxmet[]; extern int posit1[],drip[],drep[],paig[],pais1[],paip1[],drer[]; extern int posit2[],paip2[],rfep2[],paep2[],fpwr2[],rpwr[],antdisc[]; extern int posit3[],pais3[],rfep3[],paep3[],paip3[],fpwr3[],pridisc[],secdisc[]; extern int bump1[],bump2[],bump3[]; extern int hismet[]; /* history meter scroll */ extern int scale[]; /* A/D scaling multipliers */ extern int servposn[]; /* current servo positions */ extern int freqposn[]; /* frequency servo positions */ extern int chanposn[]; /* channel servo positions */ extern int fposdate[]; /* frequency servo posn store date */ extern int cposdate[]; /* channel servo posn store date */ extern int chanpow[]; /* channel power levels */ extern int powlock[]; /* lockout power level */ extern int ratio[]; /* PA loading resistance */ extern int prioff[]; /* primary discriminator offset */ extern int secoff[]; /* sec discrim offset */ extern int antoff[]; /* antenna discrim offset */ extern int cratio[]; /* chan PA loading resistance */ extern int cprioff[]; /* chan primary discriminator offset */ extern int csecoff[]; /* chan secondary discrim offset */ extern int cantoff[]; /* chan antenna discrim offset */ extern int lolim[],hilim[]; /* warning boundaries */ extern int loservo[],hiservo[]; /* servo end stops */ 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 music1[],music2[],music3[],music4[]; /* effects parameters */ extern int servo[]; /* servo positions from COM1 */ extern int discrim[]; /* discriminator values */ extern int remo,test; /* remote, test versions */ extern int rgb[],pal[]; /* palette intensities */ extern int nb; /* number of bytes in status log */ extern int step1[],step2[],step3[]; /* tune step (delta) sizes */ extern int step1d[],step2d[],step3d[]; /* default bump sizes */ extern unsigned int startime; /* start thousandths count */ extern long filstart; /* filament warm-up start time */ extern long elaptime; /* elapsed time counter */ extern long lolock[]; /* lower lockout frequencies */ extern long hilock[]; /* upper lockout frequencies */ extern long loshunt[]; /* lower shunt frequencies */ extern long hishunt[]; /* upper shunt frequencies */ extern long chanfreq[]; /* channel frequencies */ extern long pend[]; /* preset channel/frequency list */ extern long logpend[]; /* log and hist preset list */ extern long keystart; /* keyboard activity start time */ extern long calc[],olcalc[],longcalc[]; /* calculations */ extern double sqsum[],metersum[]; /* used in metering routine */ extern FILE *stream; /* used to talk to hard drive */