AAEON AIS-Q454 User Manual

Page 50

Advertising
background image

Ad v a n c e d S y s t e m

C o n t r o l l e r

A I S - Q 4 5 4

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