6. Appendix
BX-956S User’s manual
73
;-------------------------------------------
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
;---------------------------------------------------
;Activate logical device WDT(number 8)
;---------------------------------------------------
MOV DX,2EH
MOV AL,30H
OUT DX,AL
MOV DX,2FH
MOV AL,03H
OUT DX,AL
;-----------------------------------
;Stop WDT
;-----------------------------------
MOV DX,2EH
MOV AL,F1H
OUT DX,AL
MOV DX,2FH
MOV AL,00H
OUT DX,AL
;------------------------------------------
;Exit the extended function mode
;------------------------------------------
MOV DX,2EH
MOV AL,AAH
OUT DX,AL
;================================
;<WDT START : counter set and a start >
;================================
;---------------------------------------------
;Enter the extended function mode
;---------------------------------------------
MOV DX,2EH
MOV AL,87H
OUT DX,AL
OUT DX,AL