Home » CEEFAX disks » telesoftware16.adl » 10-06-89/Hertz\B

10-06-89/Hertz\B

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » CEEFAX disks » telesoftware16.adl
Filename: 10-06-89/Hertz\B
Read OK:
File size: 09EE bytes
Load address: FFFF1900
Exec address: FFFF8023
File contents
   10REM Frequency Meter,(C)1984 P.B.Helsdon,23/9/84
   20REM 10 to 250000 Hz.(+-10 in 1E6 +-1 LSD)
   30MODE7:VDU23,1,0;0;0;0;
   40ON ERROR GOTO 1160
   50*FX151,98,0
   60REM Data direction in
   70*FX151,110,32
   80REM T2 interrupt off 
   90*FX151,107,32
  100REM T2 count B6 in 
  110*FX151,104,255
  120REM Reset T2Low Byte
  130*FX151,105,255
  140REM Reset T2H & 0 flag   
  150OSWORD=&FFF1
  160OSBYTE=&FFF4
  170eventv=&220:REM Event vector
  180E%=0:REM E%=count store
  190DIM code 90
  200DIM gate 5:DIM count 2:DIM pass 1:DIM zero 1
  210FOR G%=0 TO 2 STEP 2
  220P%=code
  230[
  240OPT G%
  250LDX #&62         \Stop
  260LDY #&FF         \T2
  270LDA #&97
  280JSR OSBYTE
  290LDX #&6D         \Read T2
  300LDA #&96         \0 flag
  310JSR OSBYTE
  320TYA
  330AND #&20
  340STA zero
  350LDX #&68         \Read
  360LDA #&96         \T2L
  370JSR OSBYTE
  380TYA
  390EOR #&FF
  400STA count
  410LDY #&FF         \Reset
  420LDA #&97         \T2L
  430JSR OSBYTE
  440LDX #&69         \Read
  450LDA #&96         \T2H
  460JSR OSBYTE
  470TYA
  480EOR #&FF
  490STA count+1
  500LDY #&FF         \Reset
  510LDA #&97         \T2H & 0 flag
  520JSR OSBYTE
  530LDA #&1         \ event
  540STA pass        \flag set
  550LDX #gate AND &FF  \Set
  560LDY #gate DIV &100 \interval
  570LDA #4             \timer 1/10 or
  580JSR OSWORD         \1 Sec
  590LDX #&62
  600LDY #0               \Start
  610LDA #&97             \T2
  620JSR OSBYTE  
  630RTS
  640]
  650NEXT G%
  660*FX14,5
  670REM:Enable internal timer crossing zero event
  680?eventv=code AND &FF:REM   Puts start address
  690eventv?1=code DIV &100:REM in event vector
  700gate?4=&FF
  710PROCloop
  720END
  730DEF PROCloop
  740!gate=&FFFFFFF6:REM Gate=1/10 Sec.
  750CALL code
  760?pass=0
  770PRINTTAB(0,0)SPC(44)
  780PRINTTAB(10,2);CHR$(141);"FREQUENCY METER"
  790PRINTTAB(10,3);CHR$(141);"FREQUENCY METER"
  800PRINTTAB(7,5)"(To Exit Press ESCAPE)"
  810REPEAT:UNTIL ?pass=1
  820PROChi
  830ENDPROC
  840DEF PROChi
  850I%=0:J%=0:?pass=0
  860REPEAT:UNTIL ?pass=1
  870?pass=0
  880REPEAT
  890E%=256*count?1+?count
  900IF ?pass=1:I%=I%+1:J%=J%+E%:?pass=0:REM Sum 10 samples
  910IF I%=10:F%=INT(J%*1.005031515+.5):J%=0:PROCdisp
  920REM Hi range error correction 
  930IF I%=10:PRINTTAB(13,11)"Hi Range":I%=0
  940UNTIL E%>&61A8 OR E%<&1900
  950IF E%>&61A8 THEN PROCtoohi ELSE PROClow
  960ENDPROC
  970DEF PROClow
  980!gate=&FFFFFF9C:?pass=0:REM Gate=1 Sec
  990REPEAT:UNTIL ?pass=1:?pass=0
 1000REPEAT:UNTIL ?pass=1
 1010REPEAT
 1020E%=256*count?1+?count:F%=INT(E%*1.000075133+.5):PROCdisp
 1030REM Low range error correction
 1040PRINTTAB(13,11)"Lo Range"
 1050UNTIL ?zero=&20:CLS:PROCloop
 1060ENDPROC
 1070DEF PROCdisp
 1080IF ?zero=0:PRINTTAB(8,10)F%;" Hz"
 1090ENDPROC
 1100DEF PROCtoohi
 1110REPEAT
 1120PRINTTAB(11,10)"OVER-RANGE":VDU7
 1130CLS
 1140UNTIL 256*count?1+?count<&61A9:PROCloop
 1150ENDPROC
 1160IF ERR=17:*FX13,5
 1170REM:Disable internal timer crossing zero event
 1180IF ERR=17:VDU 23,1,1;0;0;0;:CLS:PRINTTAB(16,10)"END"
 1190IF ERR=17:PRINTTAB(11,20)"By P.B.Helsdon":END
 1200REPORT:PRINT" in line ";ERL:END

1� Frequency Meter,(C)1984 P.B.Helsdon,23/9/84
+� 10 to 250000 Hz.(+-10 in 1E6 +-1 LSD)
�7:�23,1,0;0;0;0;
(� � � �tHD
2*FX151,98,0
<� Data direction in
F*FX151,110,32
P� T2 interrupt off 
Z*FX151,107,32
d� T2 count B6 in 
n*FX151,104,255
x� Reset T2Low Byte
�*FX151,105,255
�� Reset T2H & 0 flag   
�OSWORD=&FFF1
�OSBYTE=&FFF4
�eventv=&220:� Event vector
�E%=0:� E%=count store
�
� code 90
�(� gate 5:� count 2:� pass 1:� zero 1
�� G%=0 � 2 � 2
�P%=code
�[
�
OPT G%
�LDX #&62         \Stop
LDY #&FF         \T2
LDA #&97
JSR OSBYTE
"LDX #&6D         \Read T2
,LDA #&96         \0 flag
6JSR OSBYTE
@TYA
J
� #&20
TSTA zero
^LDX #&68         \Read
hLDA #&96         \T2L
rJSR OSBYTE
|TYA
�
� #&FF
�
STA count
�LDY #&FF         \Reset
�LDA #&97         \T2L
�JSR OSBYTE
�LDX #&69         \Read
�LDA #&96         \T2H
�JSR OSBYTE
�TYA
�
� #&FF
�STA count+1
�LDY #&FF         \Reset
�"LDA #&97         \T2H & 0 flag
JSR OSBYTE
LDA #&1         \ event
STA pass        \flag set
&LDX #gate � &FF  \Set
0LDY #gate � &100 \interval
:%LDA #4             \timer 1/10 or
DJSR OSWORD         \1 Sec
NLDX #&62
XLDY #0               \Start
bLDA #&97             \T2
lJSR OSBYTE  
vRTS
�]
�� G%
�*FX14,5
�/�:Enable internal timer crossing zero event
�-?eventv=code � &FF:�   Puts start address
�*eventv?1=code � &100:� in event vector
�gate?4=&FF
�	�loop
��
�� �loop
�$!gate=&FFFFFFF6:� Gate=1/10 Sec.
�
� code
�?pass=0
�0,0)�(44)
$�10,2);�(141);"FREQUENCY METER"
$�10,3);�(141);"FREQUENCY METER"
 "�7,5)"(To Exit Press ESCAPE)"
*�:� ?pass=1
4�hi
>�
H	� �hi
RI%=0:J%=0:?pass=0
\�:� ?pass=1
f?pass=0
p�
zE%=256*count?1+?count
�7� ?pass=1:I%=I%+1:J%=J%+E%:?pass=0:� Sum 10 samples
�.� I%=10:F%=�(J%*1.005031515+.5):J%=0:�disp
� � Hi range error correction 
�#� I%=10:�13,11)"Hi Range":I%=0
�� E%>&61A8 � E%<&1900
�� E%>&61A8 � �toohi � �low
��
�
� �low
�(!gate=&FFFFFF9C:?pass=0:� Gate=1 Sec
��:� ?pass=1:?pass=0
��:� ?pass=1
��
�7E%=256*count?1+?count:F%=�(E%*1.000075133+.5):�disp
 � Low range error correction
�13,11)"Lo Range"
� ?zero=&20:�:�loop
$�
.� �disp
8� ?zero=0:�8,10)F%;" Hz"
B�
L� �toohi
V�
`�11,10)"OVER-RANGE":�7
j�
t$� 256*count?1+?count<&61A9:�loop
~�
�� �=17:*FX13,5
�0�:Disable internal timer crossing zero event
�*� �=17:� 23,1,1;0;0;0;:�:�16,10)"END"
�%� �=17:�11,20)"By P.B.Helsdon":�
��:�" in line ";�:�
�
00000000  0d 00 0a 31 f4 20 46 72  65 71 75 65 6e 63 79 20  |...1. Frequency |
00000010  4d 65 74 65 72 2c 28 43  29 31 39 38 34 20 50 2e  |Meter,(C)1984 P.|
00000020  42 2e 48 65 6c 73 64 6f  6e 2c 32 33 2f 39 2f 38  |B.Helsdon,23/9/8|
00000030  34 0d 00 14 2b f4 20 31  30 20 74 6f 20 32 35 30  |4...+. 10 to 250|
00000040  30 30 30 20 48 7a 2e 28  2b 2d 31 30 20 69 6e 20  |000 Hz.(+-10 in |
00000050  31 45 36 20 2b 2d 31 20  4c 53 44 29 0d 00 1e 15  |1E6 +-1 LSD)....|
00000060  eb 37 3a ef 32 33 2c 31  2c 30 3b 30 3b 30 3b 30  |.7:.23,1,0;0;0;0|
00000070  3b 0d 00 28 0e ee 20 85  20 e5 20 8d 74 48 44 0d  |;..(.. . . .tHD.|
00000080  00 32 0f 2a 46 58 31 35  31 2c 39 38 2c 30 0d 00  |.2.*FX151,98,0..|
00000090  3c 17 f4 20 44 61 74 61  20 64 69 72 65 63 74 69  |<.. Data directi|
000000a0  6f 6e 20 69 6e 0d 00 46  11 2a 46 58 31 35 31 2c  |on in..F.*FX151,|
000000b0  31 31 30 2c 33 32 0d 00  50 17 f4 20 54 32 20 69  |110,32..P.. T2 i|
000000c0  6e 74 65 72 72 75 70 74  20 6f 66 66 20 0d 00 5a  |nterrupt off ..Z|
000000d0  11 2a 46 58 31 35 31 2c  31 30 37 2c 33 32 0d 00  |.*FX151,107,32..|
000000e0  64 15 f4 20 54 32 20 63  6f 75 6e 74 20 42 36 20  |d.. T2 count B6 |
000000f0  69 6e 20 0d 00 6e 12 2a  46 58 31 35 31 2c 31 30  |in ..n.*FX151,10|
00000100  34 2c 32 35 35 0d 00 78  16 f4 20 52 65 73 65 74  |4,255..x.. Reset|
00000110  20 54 32 4c 6f 77 20 42  79 74 65 0d 00 82 12 2a  | T2Low Byte....*|
00000120  46 58 31 35 31 2c 31 30  35 2c 32 35 35 0d 00 8c  |FX151,105,255...|
00000130  1b f4 20 52 65 73 65 74  20 54 32 48 20 26 20 30  |.. Reset T2H & 0|
00000140  20 66 6c 61 67 20 20 20  0d 00 96 10 4f 53 57 4f  | flag   ....OSWO|
00000150  52 44 3d 26 46 46 46 31  0d 00 a0 10 4f 53 42 59  |RD=&FFF1....OSBY|
00000160  54 45 3d 26 46 46 46 34  0d 00 aa 1e 65 76 65 6e  |TE=&FFF4....even|
00000170  74 76 3d 26 32 32 30 3a  f4 20 45 76 65 6e 74 20  |tv=&220:. Event |
00000180  76 65 63 74 6f 72 0d 00  b4 19 45 25 3d 30 3a f4  |vector....E%=0:.|
00000190  20 45 25 3d 63 6f 75 6e  74 20 73 74 6f 72 65 0d  | E%=count store.|
000001a0  00 be 0d de 20 63 6f 64  65 20 39 30 0d 00 c8 28  |.... code 90...(|
000001b0  de 20 67 61 74 65 20 35  3a de 20 63 6f 75 6e 74  |. gate 5:. count|
000001c0  20 32 3a de 20 70 61 73  73 20 31 3a de 20 7a 65  | 2:. pass 1:. ze|
000001d0  72 6f 20 31 0d 00 d2 12  e3 20 47 25 3d 30 20 b8  |ro 1..... G%=0 .|
000001e0  20 32 20 88 20 32 0d 00  dc 0b 50 25 3d 63 6f 64  | 2 . 2....P%=cod|
000001f0  65 0d 00 e6 05 5b 0d 00  f0 0a 4f 50 54 20 47 25  |e....[....OPT G%|
00000200  0d 00 fa 1a 4c 44 58 20  23 26 36 32 20 20 20 20  |....LDX #&62    |
00000210  20 20 20 20 20 5c 53 74  6f 70 0d 01 04 18 4c 44  |     \Stop....LD|
00000220  59 20 23 26 46 46 20 20  20 20 20 20 20 20 20 5c  |Y #&FF         \|
00000230  54 32 0d 01 0e 0c 4c 44  41 20 23 26 39 37 0d 01  |T2....LDA #&97..|
00000240  18 0e 4a 53 52 20 4f 53  42 59 54 45 0d 01 22 1d  |..JSR OSBYTE..".|
00000250  4c 44 58 20 23 26 36 44  20 20 20 20 20 20 20 20  |LDX #&6D        |
00000260  20 5c 52 65 61 64 20 54  32 0d 01 2c 1c 4c 44 41  | \Read T2..,.LDA|
00000270  20 23 26 39 36 20 20 20  20 20 20 20 20 20 5c 30  | #&96         \0|
00000280  20 66 6c 61 67 0d 01 36  0e 4a 53 52 20 4f 53 42  | flag..6.JSR OSB|
00000290  59 54 45 0d 01 40 07 54  59 41 0d 01 4a 0a 80 20  |YTE..@.TYA..J.. |
000002a0  23 26 32 30 0d 01 54 0c  53 54 41 20 7a 65 72 6f  |#&20..T.STA zero|
000002b0  0d 01 5e 1a 4c 44 58 20  23 26 36 38 20 20 20 20  |..^.LDX #&68    |
000002c0  20 20 20 20 20 5c 52 65  61 64 0d 01 68 19 4c 44  |     \Read..h.LD|
000002d0  41 20 23 26 39 36 20 20  20 20 20 20 20 20 20 5c  |A #&96         \|
000002e0  54 32 4c 0d 01 72 0e 4a  53 52 20 4f 53 42 59 54  |T2L..r.JSR OSBYT|
000002f0  45 0d 01 7c 07 54 59 41  0d 01 86 0a 82 20 23 26  |E..|.TYA..... #&|
00000300  46 46 0d 01 90 0d 53 54  41 20 63 6f 75 6e 74 0d  |FF....STA count.|
00000310  01 9a 1b 4c 44 59 20 23  26 46 46 20 20 20 20 20  |...LDY #&FF     |
00000320  20 20 20 20 5c 52 65 73  65 74 0d 01 a4 19 4c 44  |    \Reset....LD|
00000330  41 20 23 26 39 37 20 20  20 20 20 20 20 20 20 5c  |A #&97         \|
00000340  54 32 4c 0d 01 ae 0e 4a  53 52 20 4f 53 42 59 54  |T2L....JSR OSBYT|
00000350  45 0d 01 b8 1a 4c 44 58  20 23 26 36 39 20 20 20  |E....LDX #&69   |
00000360  20 20 20 20 20 20 5c 52  65 61 64 0d 01 c2 19 4c  |      \Read....L|
00000370  44 41 20 23 26 39 36 20  20 20 20 20 20 20 20 20  |DA #&96         |
00000380  5c 54 32 48 0d 01 cc 0e  4a 53 52 20 4f 53 42 59  |\T2H....JSR OSBY|
00000390  54 45 0d 01 d6 07 54 59  41 0d 01 e0 0a 82 20 23  |TE....TYA..... #|
000003a0  26 46 46 0d 01 ea 0f 53  54 41 20 63 6f 75 6e 74  |&FF....STA count|
000003b0  2b 31 0d 01 f4 1b 4c 44  59 20 23 26 46 46 20 20  |+1....LDY #&FF  |
000003c0  20 20 20 20 20 20 20 5c  52 65 73 65 74 0d 01 fe  |       \Reset...|
000003d0  22 4c 44 41 20 23 26 39  37 20 20 20 20 20 20 20  |"LDA #&97       |
000003e0  20 20 5c 54 32 48 20 26  20 30 20 66 6c 61 67 0d  |  \T2H & 0 flag.|
000003f0  02 08 0e 4a 53 52 20 4f  53 42 59 54 45 0d 02 12  |...JSR OSBYTE...|
00000400  1b 4c 44 41 20 23 26 31  20 20 20 20 20 20 20 20  |.LDA #&1        |
00000410  20 5c 20 65 76 65 6e 74  0d 02 1c 1d 53 54 41 20  | \ event....STA |
00000420  70 61 73 73 20 20 20 20  20 20 20 20 5c 66 6c 61  |pass        \fla|
00000430  67 20 73 65 74 0d 02 26  19 4c 44 58 20 23 67 61  |g set..&.LDX #ga|
00000440  74 65 20 80 20 26 46 46  20 20 5c 53 65 74 0d 02  |te . &FF  \Set..|
00000450  30 1e 4c 44 59 20 23 67  61 74 65 20 81 20 26 31  |0.LDY #gate . &1|
00000460  30 30 20 5c 69 6e 74 65  72 76 61 6c 0d 02 3a 25  |00 \interval..:%|
00000470  4c 44 41 20 23 34 20 20  20 20 20 20 20 20 20 20  |LDA #4          |
00000480  20 20 20 5c 74 69 6d 65  72 20 31 2f 31 30 20 6f  |   \timer 1/10 o|
00000490  72 0d 02 44 1d 4a 53 52  20 4f 53 57 4f 52 44 20  |r..D.JSR OSWORD |
000004a0  20 20 20 20 20 20 20 20  5c 31 20 53 65 63 0d 02  |        \1 Sec..|
000004b0  4e 0c 4c 44 58 20 23 26  36 32 0d 02 58 1f 4c 44  |N.LDX #&62..X.LD|
000004c0  59 20 23 30 20 20 20 20  20 20 20 20 20 20 20 20  |Y #0            |
000004d0  20 20 20 5c 53 74 61 72  74 0d 02 62 1c 4c 44 41  |   \Start..b.LDA|
000004e0  20 23 26 39 37 20 20 20  20 20 20 20 20 20 20 20  | #&97           |
000004f0  20 20 5c 54 32 0d 02 6c  10 4a 53 52 20 4f 53 42  |  \T2..l.JSR OSB|
00000500  59 54 45 20 20 0d 02 76  07 52 54 53 0d 02 80 05  |YTE  ..v.RTS....|
00000510  5d 0d 02 8a 08 ed 20 47  25 0d 02 94 0b 2a 46 58  |]..... G%....*FX|
00000520  31 34 2c 35 0d 02 9e 2f  f4 3a 45 6e 61 62 6c 65  |14,5.../.:Enable|
00000530  20 69 6e 74 65 72 6e 61  6c 20 74 69 6d 65 72 20  | internal timer |
00000540  63 72 6f 73 73 69 6e 67  20 7a 65 72 6f 20 65 76  |crossing zero ev|
00000550  65 6e 74 0d 02 a8 2d 3f  65 76 65 6e 74 76 3d 63  |ent...-?eventv=c|
00000560  6f 64 65 20 80 20 26 46  46 3a f4 20 20 20 50 75  |ode . &FF:.   Pu|
00000570  74 73 20 73 74 61 72 74  20 61 64 64 72 65 73 73  |ts start address|
00000580  0d 02 b2 2a 65 76 65 6e  74 76 3f 31 3d 63 6f 64  |...*eventv?1=cod|
00000590  65 20 81 20 26 31 30 30  3a f4 20 69 6e 20 65 76  |e . &100:. in ev|
000005a0  65 6e 74 20 76 65 63 74  6f 72 0d 02 bc 0e 67 61  |ent vector....ga|
000005b0  74 65 3f 34 3d 26 46 46  0d 02 c6 09 f2 6c 6f 6f  |te?4=&FF.....loo|
000005c0  70 0d 02 d0 05 e0 0d 02  da 0b dd 20 f2 6c 6f 6f  |p.......... .loo|
000005d0  70 0d 02 e4 24 21 67 61  74 65 3d 26 46 46 46 46  |p...$!gate=&FFFF|
000005e0  46 46 46 36 3a f4 20 47  61 74 65 3d 31 2f 31 30  |FFF6:. Gate=1/10|
000005f0  20 53 65 63 2e 0d 02 ee  0a d6 20 63 6f 64 65 0d  | Sec...... code.|
00000600  02 f8 0b 3f 70 61 73 73  3d 30 0d 03 02 0f f1 8a  |...?pass=0......|
00000610  30 2c 30 29 89 28 34 34  29 0d 03 0c 24 f1 8a 31  |0,0).(44)...$..1|
00000620  30 2c 32 29 3b bd 28 31  34 31 29 3b 22 46 52 45  |0,2);.(141);"FRE|
00000630  51 55 45 4e 43 59 20 4d  45 54 45 52 22 0d 03 16  |QUENCY METER"...|
00000640  24 f1 8a 31 30 2c 33 29  3b bd 28 31 34 31 29 3b  |$..10,3);.(141);|
00000650  22 46 52 45 51 55 45 4e  43 59 20 4d 45 54 45 52  |"FREQUENCY METER|
00000660  22 0d 03 20 22 f1 8a 37  2c 35 29 22 28 54 6f 20  |".. "..7,5)"(To |
00000670  45 78 69 74 20 50 72 65  73 73 20 45 53 43 41 50  |Exit Press ESCAP|
00000680  45 29 22 0d 03 2a 0f f5  3a fd 20 3f 70 61 73 73  |E)"..*..:. ?pass|
00000690  3d 31 0d 03 34 07 f2 68  69 0d 03 3e 05 e1 0d 03  |=1..4..hi..>....|
000006a0  48 09 dd 20 f2 68 69 0d  03 52 15 49 25 3d 30 3a  |H.. .hi..R.I%=0:|
000006b0  4a 25 3d 30 3a 3f 70 61  73 73 3d 30 0d 03 5c 0f  |J%=0:?pass=0..\.|
000006c0  f5 3a fd 20 3f 70 61 73  73 3d 31 0d 03 66 0b 3f  |.:. ?pass=1..f.?|
000006d0  70 61 73 73 3d 30 0d 03  70 05 f5 0d 03 7a 19 45  |pass=0..p....z.E|
000006e0  25 3d 32 35 36 2a 63 6f  75 6e 74 3f 31 2b 3f 63  |%=256*count?1+?c|
000006f0  6f 75 6e 74 0d 03 84 37  e7 20 3f 70 61 73 73 3d  |ount...7. ?pass=|
00000700  31 3a 49 25 3d 49 25 2b  31 3a 4a 25 3d 4a 25 2b  |1:I%=I%+1:J%=J%+|
00000710  45 25 3a 3f 70 61 73 73  3d 30 3a f4 20 53 75 6d  |E%:?pass=0:. Sum|
00000720  20 31 30 20 73 61 6d 70  6c 65 73 0d 03 8e 2e e7  | 10 samples.....|
00000730  20 49 25 3d 31 30 3a 46  25 3d a8 28 4a 25 2a 31  | I%=10:F%=.(J%*1|
00000740  2e 30 30 35 30 33 31 35  31 35 2b 2e 35 29 3a 4a  |.005031515+.5):J|
00000750  25 3d 30 3a f2 64 69 73  70 0d 03 98 20 f4 20 48  |%=0:.disp... . H|
00000760  69 20 72 61 6e 67 65 20  65 72 72 6f 72 20 63 6f  |i range error co|
00000770  72 72 65 63 74 69 6f 6e  20 0d 03 a2 23 e7 20 49  |rrection ...#. I|
00000780  25 3d 31 30 3a f1 8a 31  33 2c 31 31 29 22 48 69  |%=10:..13,11)"Hi|
00000790  20 52 61 6e 67 65 22 3a  49 25 3d 30 0d 03 ac 19  | Range":I%=0....|
000007a0  fd 20 45 25 3e 26 36 31  41 38 20 84 20 45 25 3c  |. E%>&61A8 . E%<|
000007b0  26 31 39 30 30 0d 03 b6  1e e7 20 45 25 3e 26 36  |&1900..... E%>&6|
000007c0  31 41 38 20 8c 20 f2 74  6f 6f 68 69 20 8b 20 f2  |1A8 . .toohi . .|
000007d0  6c 6f 77 0d 03 c0 05 e1  0d 03 ca 0a dd 20 f2 6c  |low.......... .l|
000007e0  6f 77 0d 03 d4 28 21 67  61 74 65 3d 26 46 46 46  |ow...(!gate=&FFF|
000007f0  46 46 46 39 43 3a 3f 70  61 73 73 3d 30 3a f4 20  |FFF9C:?pass=0:. |
00000800  47 61 74 65 3d 31 20 53  65 63 0d 03 de 17 f5 3a  |Gate=1 Sec.....:|
00000810  fd 20 3f 70 61 73 73 3d  31 3a 3f 70 61 73 73 3d  |. ?pass=1:?pass=|
00000820  30 0d 03 e8 0f f5 3a fd  20 3f 70 61 73 73 3d 31  |0.....:. ?pass=1|
00000830  0d 03 f2 05 f5 0d 03 fc  37 45 25 3d 32 35 36 2a  |........7E%=256*|
00000840  63 6f 75 6e 74 3f 31 2b  3f 63 6f 75 6e 74 3a 46  |count?1+?count:F|
00000850  25 3d a8 28 45 25 2a 31  2e 30 30 30 30 37 35 31  |%=.(E%*1.0000751|
00000860  33 33 2b 2e 35 29 3a f2  64 69 73 70 0d 04 06 20  |33+.5):.disp... |
00000870  f4 20 4c 6f 77 20 72 61  6e 67 65 20 65 72 72 6f  |. Low range erro|
00000880  72 20 63 6f 72 72 65 63  74 69 6f 6e 0d 04 10 16  |r correction....|
00000890  f1 8a 31 33 2c 31 31 29  22 4c 6f 20 52 61 6e 67  |..13,11)"Lo Rang|
000008a0  65 22 0d 04 1a 17 fd 20  3f 7a 65 72 6f 3d 26 32  |e"..... ?zero=&2|
000008b0  30 3a db 3a f2 6c 6f 6f  70 0d 04 24 05 e1 0d 04  |0:.:.loop..$....|
000008c0  2e 0b dd 20 f2 64 69 73  70 0d 04 38 1d e7 20 3f  |... .disp..8.. ?|
000008d0  7a 65 72 6f 3d 30 3a f1  8a 38 2c 31 30 29 46 25  |zero=0:..8,10)F%|
000008e0  3b 22 20 48 7a 22 0d 04  42 05 e1 0d 04 4c 0c dd  |;" Hz"..B....L..|
000008f0  20 f2 74 6f 6f 68 69 0d  04 56 05 f5 0d 04 60 1b  | .toohi..V....`.|
00000900  f1 8a 31 31 2c 31 30 29  22 4f 56 45 52 2d 52 41  |..11,10)"OVER-RA|
00000910  4e 47 45 22 3a ef 37 0d  04 6a 05 db 0d 04 74 24  |NGE":.7..j....t$|
00000920  fd 20 32 35 36 2a 63 6f  75 6e 74 3f 31 2b 3f 63  |. 256*count?1+?c|
00000930  6f 75 6e 74 3c 26 36 31  41 39 3a f2 6c 6f 6f 70  |ount<&61A9:.loop|
00000940  0d 04 7e 05 e1 0d 04 88  12 e7 20 9f 3d 31 37 3a  |..~....... .=17:|
00000950  2a 46 58 31 33 2c 35 0d  04 92 30 f4 3a 44 69 73  |*FX13,5...0.:Dis|
00000960  61 62 6c 65 20 69 6e 74  65 72 6e 61 6c 20 74 69  |able internal ti|
00000970  6d 65 72 20 63 72 6f 73  73 69 6e 67 20 7a 65 72  |mer crossing zer|
00000980  6f 20 65 76 65 6e 74 0d  04 9c 2a e7 20 9f 3d 31  |o event...*. .=1|
00000990  37 3a ef 20 32 33 2c 31  2c 31 3b 30 3b 30 3b 30  |7:. 23,1,1;0;0;0|
000009a0  3b 3a db 3a f1 8a 31 36  2c 31 30 29 22 45 4e 44  |;:.:..16,10)"END|
000009b0  22 0d 04 a6 25 e7 20 9f  3d 31 37 3a f1 8a 31 31  |"...%. .=17:..11|
000009c0  2c 32 30 29 22 42 79 20  50 2e 42 2e 48 65 6c 73  |,20)"By P.B.Hels|
000009d0  64 6f 6e 22 3a e0 0d 04  b0 16 f6 3a f1 22 20 69  |don":......:." i|
000009e0  6e 20 6c 69 6e 65 20 22  3b 9e 3a e0 0d ff        |n line ";.:...|
000009ee
10-06-89/Hertz\B.m0
10-06-89/Hertz\B.m1
10-06-89/Hertz\B.m2
10-06-89/Hertz\B.m4
10-06-89/Hertz\B.m5