IEI Integration NOVA-PV-D4251_D5251 v1.01 User Manual

Page 175

Advertising
background image

NOVA-PV-D5251/D4251 5.25" SBC

Page 161

NOTE:

When exiting a program it is necessary to disable the Watchdog Timer,

otherwise the system resets.

Example program:

; INITIAL TIMER PERIOD COUNTER

;

W_LOOP:

MOV AX, 6F02H

;setting the time-out value

MOV BL, 30H

;time-out value is 48 seconds

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 ;

Advertising