ExitConfig endp

;;Select The I/O Chip Program Configuration Register Logical Device

;;Input : bl = logical device number

SelectDevice proc

 

 

push

ax

 

 

push

dx

 

 

mov

al,07h

;; Select control register 7

mov

dx,cs:CONFIG_PORT

 

out

dx,al

;; Write to Config Port

jmp

$+2

 

 

mov

al,bl

;; Write logical device number

mov

dx,cs:DATA_PORT

;; to Data Port

out

dx,al

 

 

pop

dx

 

 

pop

ax

 

 

ret

 

 

 

SelectDevice endp

;;Setting I/O Chip Program Configuration Register Value

;;Input : al = register number

;;ah = setting value

106 PCM-6890B User Manual

Page 116
Image 116
IBM PCM-6890B, All-in-One FC/Socket 370 Celeron manual ExitConfig endp