Subversion Repositories Kolibri OS

Rev

Rev 500 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 500 Rev 518
Line 153... Line 153...
153
	xor	ecx, ecx
153
	xor	ecx, ecx
154
@@:	mov	al, 0x0D
154
@@:	mov	al, 0x0D
155
	add	al, cl
155
	add	al, cl
156
	call	[IO_Read]
156
	call	[IO_Read]
Line -... Line 157...
-
 
157
	
-
 
158
	test	al, al
-
 
159
	jz	@f
-
 
160
	cmp	al, 0xff
-
 
161
	je	@f	
157
 
162
 
158
	movzx	ebx, al
163
	movzx	ebx, al
159
	push	ecx
164
	push	ecx
160
	mov	cl, [it87_fan_div + ecx]
165
	mov	cl, [it87_fan_div + ecx]
161
	shl	ebx, cl
166
	shl	ebx, cl
Line 165... Line 170...
165
	div	ebx
170
	div	ebx
166
	mov	[hwm_rpms + 4 * ecx], eax
171
	mov	[hwm_rpms + 4 * ecx], eax
167
	inc	ecx
172
	inc	ecx
168
	cmp	ecx, 3
173
	cmp	ecx, 3
169
	jb	@b
174
	jb	@b
170
 
175
@@:
171
	ret
176
	ret
172
;--------------------------------------------------------------------------
177
;--------------------------------------------------------------------------
173
;
178
;
174
; Presets for IT8712
179
; Presets for IT8712
175
;
180
;