Specifications

©
2008 Advanced Micro Devices Inc.
Sample Programs
AMD SB600 BIOS Developer’s Guide (Public Version) Proprietary
Page 82
; Register 42h is for upper limit, register 43h is for lower limit
; If lower limit is 7Fh then it is comparator mode
mov dx,Sensor_Port ; The register is written through index at 22Dh
mov al,42h ; To set the upper limit
out dx,al
mov dx,Sensor_Port+1 ; The temperature value is written through 22Eh
mov al,ah ; Get the Temperature upper limit
out dx,al
mov dx,Sensor_Port ; The register is written through index at 22Dh
mov al,43h ; To set the lower limit
out dx,al
mov dx,Sensor_Port+1 ; The temperature value is written through 22Eh
mov al,7fh ; For comparator mode
out dx,al
; Set limit for 3rd Thermistor
; Register 44h is for upper limit, register 45h is for lower limit
; If lower limit is 7Fh then it is comparator mode
mov dx,Sensor_Port ; The register is written through index at 22Dh
mov al,44h ; To set the upper limit
out dx,al
mov dx,Sensor_Port+1 ; The temperature value is written through 22Eh
mov al,ah ; Get the temperature upper limit
out dx,al
mov dx,Sensor_Port ; The register is written through index at 22Dh
mov al,45h ; To set the lower limit
out dx,al
mov dx,Sensor_Port+1 ; The temperature value is written through 22Eh
mov al,7Fh ; For comparator mode
out dx,al
; Set Thermal out limit registers at 52h, 53h, 54h
mov dx,Sensor_Port ; The register is written through index at 22Dh
mov al,52h ; Thermal limit for diode 1
out dx,al
mov dx,Sensor_Port+1 ; The temperature value is written through 22Eh
mov al,ah ; Get temperature upper limit
out dx,al
mov dx,Sensor_Port ; The register is written through index at 22Dh
mov al,53h ; Thermal limit for diode 2