AAEON HSB-945P User Manual

Page 48

Advertising
background image

H a l f - s i z e S B C

H S B - 9 4 5 P

Appendix A Programming the Watchdog Timer

A-9

push ax

MOV DX,WORD PTR CS:[Cfg_Port+04h]

mov al,cl

out dx,al

pop ax

inc dx

out dx,al

ret

Superio_Set_Reg endp.Set_Logic_Device proc near

Set_Logic_Device proc near

push ax

push cx

xchg al,cl

mov cl,07h

call Superio_Set_Reg

pop cx

pop ax

ret

Set_Logic_Device endp

;Select 02Eh->Index Port, 02Fh->Data Port

Cfg_Port DB 087h,001h,055h,055h

DW 02Eh,02Fh

Advertising