Intel MB820 Computer Hardware User Manual


 
INSTALLATIONS
MB820 Users Manual 25
; 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
;[]================================================
Unlock_Chip Proc Near
mov dx, 2Eh
mov al, 0AAh
out dx, al
ret
Unlock_Chip Endp
;[]================================================
; Name : Write_Reg
; IN : CL - register index
; AL - Value to write
; OUT : None
;[]================================================
Write_Reg Proc Near
push ax
mov dx, 2Eh
mov al,cl
out dx,al
pop ax
inc dx
out dx,al
ret
Write_Reg Endp
;[]================================================