IBM All-in-One FC/Socket 370 Celeron, PCM-6890B manual EnterConfig endp

Models: All-in-One FC/Socket 370 Celeron PCM-6890B

1 122
Download 122 pages 49.26 Kb
Page 115
Image 115
al,0aah ;; Specific value to exit Config ;; Mode
dx,cs:CONFIG_PORT dx,al
dx ax
Appendix A Programming the Watchdog Timer

;;Enter to I/O Chip Program Configuration Register Mode Enterv Config proc

push

ax

 

push

dx

 

mov

al,87h

;; Specific value to enter Config

 

 

;; Mode

mov

dx,cs:CONFIG_PORT

out

dx,al

;; Write to Config Port twice!

out

dx,al

 

jmp

$+2

;; Delay

jmp

$+2

;;

pop

dx

 

pop

ax

 

ret

 

 

EnterConfig endp

;;Exit to I/O Chip Program Configuration Register Mode ExitConfig proc

push ax push dx

mov

mov out pop pop ret

105

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