6. Watch-Dog-Timer (WDT) Setting
34 SEH-9450-LAS
MOV DX,2EH
MOV AL,87H
OUT DX,AL
OUT DX,AL
;-----------------------------------
;Select logical device WDT(number 8)
;-----------------------------------
MOV DX,2EH
MOV AL,07H
OUT DX,AL
MOV DX,2FH
MOV AL,08H
OUT DX,AL
;-----------------------------------
;Stop count down of WDT
;-----------------------------------
MOV DX,2EH
MOV AL,F6H
OUT DX,AL
MOV DX,2FH
;-----------------------------------
;The data of 00H is stop WDT
MOV AL,00H
;-----------------------------------
OUT DX,AL
;-----------------------------------
;Exit the extended function mode
;-----------------------------------
MOV DX,2EH
MOV AL,AAH
OUT DX,AL
CAUTION
The timer’s intervals have a tolerance of ±2 seconds.