User manual

IPPC-8151S User Manual 34
;----------------------------
; select WDT configuration
;----------------------------
mov dx, bx
add dx, 67h
in al, dx
or al, 04h ; reset upon mouse interrupt
out dx, al
4. Enable watchdog timer to be reset upon keyboard interrupt
(Note: WDT timeout value must be set before this function can work)
;----------------------------
; enter configuration state
;----------------------------
mov dx, 2Eh
mov al, 55h
out dx, al
;----------------------------
; select watchdog registers
;----------------------------
mov al, 7
mov dx, 2Eh
out dx, al
mov dx, 2Fh
mov al, 0ah
out dx, al
;----------------------------
; get base address