Subversion Repositories Kolibri OS

Rev

Rev 5950 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
223 Ghost 1
;
6353 nisargshah 2
; Ghost Monitor - утилита (стресс) тестирования и мониторинга системы
313 Ghost 3
; Copyright (C) 2005, 2006, 2007 Mihailov Ilia (ghost.nsk@mail.ru)
4
; All Right Reserved
5
 
223 Ghost 6
;
313 Ghost 7
;
6353 nisargshah 8
; Вкладка настроек
223 Ghost 9
;
10
 
6353 nisargshah 11
	; Время обновления
223 Ghost 12
	mov	eax, 8
13
	mov	ebx, 200 * 65536 + 15
14
	mov	ecx, 280 * 65536 + 15
15
	mov	edx, 11
16
	mov	esi, tcol
17
	int	0x40
18
 
19
	mov	ebx, 217 * 65536 + 15
20
	inc	edx
21
	int	0x40
22
 
23
	mov	eax, 4
24
	mov	ebx, 17 * 65536 + 285
25
	mov	edx, msg_cf_utime
5950 pathoswith 26
	xor	ecx, ecx
223 Ghost 27
	mov	esi, 11
28
	int	0x40
29
 
30
	mov	ebx, 205 * 65536 + 285
31
	mov	edx, msg_cf_pm
32
	xor	ecx, ecx
33
	mov	esi, 4
34
	int	0x40
35
 
36
	mov	ecx, [update_time]
37
	call	digit_len
38
	mov	edx, 160 * 65536 + 285
39
	xor	esi, esi
40
	mov	eax, 47
41
	int	0x40
42
 
6353 nisargshah 43
	; Расставляем двоеточия
223 Ghost 44
	mov	eax, 4
45
	mov	ebx, 152 * 65536 + 285
46
	mov	edx, dub_p
47
	mov	esi, 1
5950 pathoswith 48
	xor	ecx, ecx
223 Ghost 49
	int	0x40
50
 
6353 nisargshah 51
	jmp	redraw
223 Ghost 52
 
53
msg_cf_utime	db	'Update time'	; 11
54
msg_cf_pm	db	'+  -' ; 4