(C) Igor Pichugin
There is a procedure that allows the absence of instruments
with sufficient precision to determine the signal duration INT
microprocessor. It is convenient to use when setting up
computer.
ORG30000
ENT
LDHL, # 8000
LDDE, # 8001
LDA, D
LDI, A
INCA
LD (HL), A
LDBC, 260
LDIR
LDHL, # 0CFB
LD (# 8181), HL
LDA, # C9
LD (# 8183), A
LDBC, # 10E0
DI
IM2
EI
L1HALT
DJNZL1
DI
LDA, C
CALL11560
LDA, 2
CALL # 1601
CALL11747
LDA, # 3F
LDI, A
IM1
EI
RET
The verification result is displayed on the screen. If the
value calculated by the program is zero, there is no reason for
anxiety. If it is greater than zero, it is necessary to choose
capacitance of the RC-circuit.