AAEON IMBI-Q45 User Manual

Page 43

Advertising
background image

I n d u s t r i a l M o t h e r b o a r d

I M B I - Q 4 5

Appendix A Programming the Watchdog Timer

A-9

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

END Main

Advertising