Intel MB865 user manual Installations

Models: MB865

1 64
Download 64 pages 45.72 Kb
Page 29
Image 29
Manual background

INSTALLATIONS

mov al, 01h

 

mov cl, 30h

 

call Write_Reg

;watchdog enabled

call Lock_Chip ret

Enable_And_Set_Watchdog Endp ;[]=============================================== ; Name : Disable_Watchdog

;IN : None

;OUT : None ;[]=============================================== Disable_Watchdog Proc Near

call Unlock_Chip

mov cl, 07h

 

mov al, 08h

 

call

Write_Reg

;switch to LD8

xor

al, al

 

mov cl, 0F6h

 

call

Write_Reg

;clear watchdog timer

xor

al, al

 

mov cl, 30h

 

call

Write_Reg

;watchdog disabled

call Lock_Chip ret

Disable_Watchdog Endp ;[]===============================================

;Name : Unlock_Chip

;IN : None

;OUT : None ;[]=============================================== Unlock_Chip Proc Near

mov dx, 2Eh mov al, 87h out dx, al out dx, al ret

Unlock_Chip Endp ;[]================================================

;Name : Lock_Chip

;IN : None

;OUT : None

MB865 User’s Manual

25

Page 29
Image 29
Intel MB865 user manual Installations