2007-02-02 13:23:31 +03:00
|
|
|
;
|
2016-03-16 22:35:22 +03:00
|
|
|
; Ghost Monitor - утилита (стресс) тестирования и мониторинга системы
|
2007-02-02 13:23:31 +03:00
|
|
|
; Copyright (C) 2005, 2006, 2007 Mihailov Ilia (ghost.nsk@mail.ru)
|
|
|
|
; All Right Reserved
|
|
|
|
|
2006-11-02 17:18:23 +03:00
|
|
|
;
|
|
|
|
;
|
2016-03-16 22:35:22 +03:00
|
|
|
; Вкладка настроек
|
2006-11-02 17:18:23 +03:00
|
|
|
;
|
|
|
|
|
2016-03-16 22:35:22 +03:00
|
|
|
; Время обновления
|
2006-11-02 17:18:23 +03:00
|
|
|
mov eax, 8
|
|
|
|
mov ebx, 200 * 65536 + 15
|
2006-11-28 18:54:36 +03:00
|
|
|
mov ecx, 280 * 65536 + 15
|
2006-11-02 17:18:23 +03:00
|
|
|
mov edx, 11
|
|
|
|
mov esi, tcol
|
|
|
|
int 0x40
|
|
|
|
|
|
|
|
mov ebx, 217 * 65536 + 15
|
|
|
|
inc edx
|
|
|
|
int 0x40
|
|
|
|
|
|
|
|
mov eax, 4
|
2006-11-28 18:54:36 +03:00
|
|
|
mov ebx, 17 * 65536 + 285
|
2006-11-02 17:18:23 +03:00
|
|
|
mov edx, msg_cf_utime
|
2015-12-09 00:56:29 +03:00
|
|
|
xor ecx, ecx
|
2006-11-02 17:18:23 +03:00
|
|
|
mov esi, 11
|
|
|
|
int 0x40
|
|
|
|
|
2006-11-28 18:54:36 +03:00
|
|
|
mov ebx, 205 * 65536 + 285
|
2006-11-02 17:18:23 +03:00
|
|
|
mov edx, msg_cf_pm
|
|
|
|
xor ecx, ecx
|
|
|
|
mov esi, 4
|
|
|
|
int 0x40
|
|
|
|
|
|
|
|
mov ecx, [update_time]
|
|
|
|
call digit_len
|
2006-11-28 18:54:36 +03:00
|
|
|
mov edx, 160 * 65536 + 285
|
2006-11-02 17:18:23 +03:00
|
|
|
xor esi, esi
|
|
|
|
mov eax, 47
|
|
|
|
int 0x40
|
|
|
|
|
2016-03-16 22:35:22 +03:00
|
|
|
; Расставляем двоеточия
|
2006-11-02 17:18:23 +03:00
|
|
|
mov eax, 4
|
2006-11-28 18:54:36 +03:00
|
|
|
mov ebx, 152 * 65536 + 285
|
2006-11-02 17:18:23 +03:00
|
|
|
mov edx, dub_p
|
|
|
|
mov esi, 1
|
2015-12-09 00:56:29 +03:00
|
|
|
xor ecx, ecx
|
2006-11-02 17:18:23 +03:00
|
|
|
int 0x40
|
|
|
|
|
2016-03-16 22:35:22 +03:00
|
|
|
jmp redraw
|
2006-11-02 17:18:23 +03:00
|
|
|
|
|
|
|
msg_cf_utime db 'Update time' ; 11
|
|
|
|
msg_cf_pm db '+ -' ; 4
|