beautypg.com

AAEON IMBI-QM57 User Manual

Page 47

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 M 5 7

Appendix A Programming the Watchdog Timer A-10

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

Note: Interrupt level mapping

0Fh-Dh: not valid

0Ch: IRQ12

.

.

03h: IRQ3

02h: not valid

01h: IRQ1

00h: no interrupt selected