Peak 555A User’s Guide
Watch Dog Timer A-5
b. Select WDT timer setting (use port F2)
MOV
AL, 06
; Setting WDT=1 sec.
MOV
DX, 0F2
OUT
DX, AL
c.
Select WDT for NMI or reset (select NMI)
MOV
DX, 70
MOV
AL, 7D
OUT
DX, AL
MOV
DX, 71
IN
AL, DX
OR
AL, 10
MOV
DX, 0F2
OUT
DX, AL
MOV
BL, AL
MOV
DX, 70
MOV
AL, 7D
OUT
DX, AL
MOV
DX, 71
MOV
AL, BL
OUT
DX, AL
d.
Enable WDT
MOV
DX, 70
MOV
AL, 7D
OUT
DX, AL
MOV
DX, 71
IN
AL, DX
OR
AL, 08
MOV
DX, 0F2
OUT
DX, AL
MOV
BL, AL
MOV
DX, 70
MOV
AL, 7D
OUT
DX, AL
MOV
DX, 71
MOV
AL, BL
OUT
DX, AL