
NOTE:
The Watchdog Timer is activated through software. The software application that activates the Watchdog Timer must also deactivate it when closed. If the Watchdog Timer is not deactivated, the system will automatically restart after the Timer has finished its countdown.
EXAMPLE PROGRAM:
; INITIAL TIMER PERIOD COUNTER
;
W_LOOP:
;
MOV | AX, 6F02H | ;setting the |
MOV | BL, 30 | |
INT | 15H |
|
;
;ADD THE APPLICATION PROGRAM HERE
CMP | EXIT_AP, 1 | ;is the application over? |
JNE | W_LOOP | ;No, restart the application |
MOV | AX, 6F02H | ;disable Watchdog Timer |
MOV | BL, 0 | ; |
INT | 15H |
|
;
; EXIT ;
Page 148