winlpchw.inc

来自「super io 监控程序」· INC 代码 · 共 38 行

INC
38
字号
WHWMSeneor1:
        mov     dx,HWMonitorTiltePosn+0109h
	call	SetCursor
	mov     ax,0027h
WHWMSensorRet:
        call    WinLPCCalcTemp
	ret
;---------------------------
WHWMSeneor2:
        mov     dx,HWMonitorTiltePosn+0209h
	call	SetCursor
	mov     ax,0150h
        jmp     short WHWMSensorRet
;---------------------------
WHWMSeneor3:
        mov     dx,HWMonitorTiltePosn+0309h
	call	SetCursor
	mov	ax,0250h
        jmp     short WHWMSensorRet
;---------------------------
;Input : AH=Bank AL=Reg
WinLPCCalcTemp:
	push	ax
	mov	al,ah
	or	al,80h
	mov	ah,4eh
        call    WriteWinHWM	; Change Bank
	pop	ax
	mov	ah,al
	call	ReadWinHWM	; al=Value
	cmp	al,160
	jae	WinNoTemp
	movzx	ax,al
	xor	dx,dx
        lea     si,HWMDisBuf
	call	conv_ax
        call    DisplayHWMBuffer
	mov	al,'

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?