User’s Manual
106
ECM-3410/3410L/3410N User’s Manual
;;---------------------------------------------------
;;---------------------------------------------------
;; unlock W83977 register configuration mode
;;---------------------------------------------------
Unlock_977 proc
cli
push ax
push dx
mov al, UNLOCK_ID
mov dx, cs:W83977_IO_PORT
out dx, al
;; write Unlock_ID to w83977 twice
out dx, al
jmp $+2
jmp $+2
pop dx
pop ax
ret
Unlock_977 endp
;;---------------------------------------------------
;;---------------------------------------------------
;; lock w83977 register configuration mode
;;---------------------------------------------------
Lock_977 proc
push ax
push dx
mov dx, cs:W83977_IO_PORT
mov al, LOCK_ID
out dx, al
pop dx
pop ax
ret
Lock_977 endp
;;---------------------------------------------------