
User’s Manual
WIN Enterprises, Inc.
May, 2009
62
Program 3:
Disable the Watchdog Timer
MOV DX,2EH
MOV AL,87H
OUT DX,AL
OUT DX,AL
O 2E 87
O 2E 87
MOV DX,2EH ;Set timer interval value to 0 seconds
MOV AL,F6H
OUT DX,AL
MOV DX,2FH
MOV AL,00H ; Timer interval 00H,(= disable)
OUT DX,AL
MOV DX,2EH
MOV AL,AAH
OUT DX,AL
O 2E F6
O 2F 00
O 2E AA
Note: This XX value range is from 01H to FFH, and the related Watchdog Timer
interval is 1 sec. to 255 sec. (as in the previous description)
.
Using the Demo Program
Update the System BIOS as follows:
1.
Run Program 1
2.
Run Program 2 (load the timer interval of 1EH, 30 seconds)
3.
Run your Application Program #1 (
Be sure your Application Program will
finish within 30 seconds)
4.
Run Program 3 (Load the timer interval of 00H, and disable the Watchdog Timer
function)