Intel AR-B1760 User Manual page 31

Socket 479 pentium m intel 855gme 5.25” sbc
Table of Contents

Advertisement

Enable_And_Set_Watchdog
;[]===============================================
; Name
: Disable_Watchdog
; IN : None
; OUT
: None
;[]===============================================
Disable_Watchdog
Proc Near
call Unlock_Chip
mov cl, 07h
mov al, 08h
call Write_Reg
xor al, al
mov cl, 0F6h
call Write_Reg
xor al, al
mov cl, 30h
call Write_Reg
call Lock_Chip
ret
Disable_Watchdog
Endp
;[]===============================================
; Name
: Unlock_Chip
; IN : None
; OUT
: None
;[]===============================================
Unlock_Chip
Proc Near
Mov dx, 4Eh
mov al, 87h
out dx, al
out dx, al
ret
Unlock_Chip
Endp
;[]================================================
; Name
: Lock_Chip
; IN : None
; OUT
: None
;[]================================================
Unlock_Chip
Proc Near
mov dx, 4Eh
mov al, 0AAh
out dx, al
ret
Unlock_Chip
Endp
;[]================================================
; Name
: Write_Reg
; IN : CL - register index
;
AL - Value to write
AR-B1760 User's Manual
INSTALLATIONS
Endp
;switch to LD8
;clear watchdog timer
;watchdog disabled
27

Advertisement

Table of Contents
loading

Table of Contents