home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Compute! Gazette 1992 December
/
1992-12.d64
/
ham
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-09-20
|
5KB
|
171 lines
1 gosub2075:goto900
2 print"[147]":gosub2070:gosub4091
3 printtab(14)"<<-quad->>"
4 print:print:print:print:print:print
10 input"[153]center freq.de";f
20 w=1005/f
25 print"one wavelength de":gosub4092
30 x=w/4
40 gosub4094:gosub4093
45 gosub4095:gosub4096
75 input"center freq. ref.";f
85 w=1035/f
90 print"one wavelength ref.":gosub4092
100 x=w/4
110 gosub4094:gosub4093
120 gosub4095:gosub4096
200 input"center freq. dr#1";f
210 w=995/f
215 print"one wavelength dr#1":gosub4092
220 x=w/4
230 gosub4094:gosub4093
240 gosub4095:gosub4096
300 input"center freq.dr#2";f
310 w=895/f
315 print"one wavelength dr#2":gosub4092
320 x=w/4
330 gosub4094:gosub4093
340 gosub4095:gosub4096
364 input:print"[147]"
380 gosub4098:print"choose 1,2"
381 geta$:ifa$=""then381
382 q=val(a$):ifq<1orq>2then381
383 onqgoto2,900
386 ifq=2then onvgoto900
600 rem elm spacing
601 print"[147]":printtab(11)"<- ant. elm spacing ->"
602 print "1.yagi ref to de use .15 or .25":print "2.de-dr#1 use .1"
603 print "3.dr's 2,3,4, use .2":print "4.ea add dr's, use .4"
604 print "5.ea add dr's 1% less than preceeding director"
610 input"choice of spacing";a
620 input"design freq mhz.=";f
630 k=984
640 w=(k/f)*a
650 print w"feet":print w*12"inches"
655 fort=1to1000:next
660 gosub4097
665 input
670 gosub 4098
675 gosub4099
680 geta$:ifa$=""then680
685 x=val(a$)
690 onxgoto600,900
700 gosub 2010
705 print"[147]":gosub04091
710 printtab(11)"[129]<- yagi elements ->"
715 input"center freq ref:";f
720 w=510/f
725 print"length of ref elm:":printw"feet":printw*12"inches"
730 print"from center of boom:":printw"feet":printw*12/2"inches"
735 x=w
740 input"center freq de:";f
745 w=473/f
750 print"length of de:":printw"feet":printw*12"inches"
752 print"from center of boom:":printw/2"feet":printw*12/2"inches"
755 x=w
765 input"center freq dr#1:";f
770 w=445/f
771 print"length of dr#1:":printw"feet":printw*12"inches"
772 print"from center of boom:":printw"feet":printw*12/2"inches"
774 gosub4097
775 input
777 gosub4098:gosub4099
780 geta$:ifa$=""then780
785 x=val(a$)
790 onxgoto700,900
800 gosub2015:print"[147]":gosub4091
820 printtab(13)"<- dipole ->"
824 input"center freq mhz:";f
825 w=468/f
830 print"one half wave dipole:":gosub4092
835 print"1/4 wave ea side:":printw/2"feet":printw*12"inches"
840 x=w/2
845 gosub4097:input:print"[147]"
860 gosub4098:gosub4099
875 geta$:ifa$=""then875
880 x=val(a$)
885 onxgoto800,900
900 gosub 2050
905 print"[147]":printtab(12)"[144]< main menu > ":printtab(10)" antenna builder "
910 printtab(11)"program choices":printtab(5)"[155]1.quad":printtab(5)"2.yagi"
915 printtab(5)"3.spacing":printtab(5)"4.dipole":printtab(5)"5.folded dipole"
917 printtab(5)"6.long wire"
918 printtab(6)"a.# 1/2 waves in phase"
919 printtab(6)"b.length of 1/2 wave coax"
920 printtab(6)"use #3 for all ant"
921 printtab(6)"spacing calulations"
925 print"choose 1,2,3,4,5,6"
926 geta$:ifa$=""then926
927 x=val(a$):ifx<1orx>6then926
928 onxgoto2,700,600,800,3000,4000
930 ifx=1 goto 2 :rem quad
935 ifx=2 goto 700 :rem yagi
940 ifx=3 goto 600 :rem spacing
945 ifx=4 goto 800 :rem dipole
950 ifx=5 goto 3000:rem fold dipole
955 ifx=6 goto 4000:rem long wire
2010 poke 53281,peek(53281)and248 or 233:print"[144]":return
2015 poke 53281,peek(53281)or 7:print"[144]":return
2040 poke 53281,peek(53281)and 328 or 233:print"":return
2050 poke 53280,14:poke53281,14:print"[147]":return
2070 poke53280,peek(53281)and248or233:print"[153]":return
2075 poke 53281,peek(53281)and402 or 160:return
3000 gosub2040:gosub4091
3005 print"[147]":printtab(11)"<<<-wire antennas->>>"
3006 printtab(9)"<- folded dipole ->"
3009 input"center freq mhz:";f
3010 w=1005/f
3015 print"one wave length over all":gosub4092
3020 print"1/4 wave ea side:":printw/2"feet":printw/2*12"inches"
3021 x=w/2
3024 gosub 4097
3030 input:print"[147]"
3032 printtab(2)"1.wire ant work well at 30 ft. best at their resonant freq.
3033 [153][163]4)"1/2 wave above ground."
3034 [153][163]2)"2. multiband ant's 1/2 wave at lowest freq. open wire feed"
3036 [141]4097:[133]:[153]"load"
3040 [141]4098:[141]4099
3055 [161]a$:[139]a$[178]""[167]3055
3060 x[178][197](a$)
3065 [145]x[137]3000,900
4000 [141] 2075:[141]4091
4005 v[178]2:[153]"load":[153][163]10)" - wire antennas -"
4006 [153][163]11)" - long wire - "
4007 [153][163]7)" - harmonic antennas - "
4010 [153] "1.cut wire odd 1/2 waves at lowest freq you will work"
4013 [153] "2.have good earth gnd and a 4:1 balum in tuner"
4015 [153] "3.electrial length of harmonic antennas"
4020 [153]"1/2 wavelength coax"
4023 [153]"1.all band inverted vee's.":[153]"2.long wires, have very hi z."
4024 [153]"where z is in reference to impedance"
4025 [153]"the load gives to the feedline at a freq"
4027 [141]4097:[133]:[153]"load"
4028 [133]"opennumber of odd 1/2 wavelength= ";n
4029 [133]"lowest freq in mhz. ";f
4030 k[178]492
4035 w[178](k[173]f)[172]n[171].05
4037 [153]"syslength of long wire":[141]4092
4045 [153]"freq in mhz. " f
4047 k[178]984
4048 l[178]w
4049 x[178]f[172](l)[170].025
4050 [153]"forlength of wire in feet" w
4058 [153]x[173]936"number of wavelengths":[153]x[173]468"number of 1/2 wavelengths"
4059 [133]"printcoax velocity factor"; v
4060 [153]""492[173]f[172]v[173]12"cmdcmdcmdcmdcmdcmdcmdcmdcmdcmd=1/2 wave coax at design freq in feet"
4062 [141]4097:[133]:[153]"load"
4065 [141]4098:[141]4099
4080 [161]a$:[139]a$[178]""[167]4080
4085 v[178][197](a$)
4090 [145]v[137]4000,900:[128]
4091 [153]"load":[142]
4092 [153]w"feet":[153]w[172]12" inches":[142]
4093 [153]"1/4 wave ea side":[153] w[173]4"feet":[153] w[172]12[173]4"inches":[142]
4094 l[178][186]((x[172]x)[170](x[172]x)[173]x[172]x):[142]
4095 [153]"total width across spreaders":[153]l"feet":[153]l[172]12"inches":[142]
4096 [153]"drill hole frm cntr boom":[153]l[173]2"feet":[153]l[172]12[173]2"inches":[142]
4097 [153]" print press return ":[142]
4098 [153]"load":[153][163]8)"1.calc again?":[153][163]8)"2.main menu":[142]
4099 [153]"choose 1 or 2":[142]
5010 [128]