Subversion Repositories Kolibri OS

Rev

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

Rev 135 Rev 205
Line 101... Line 101...
101
    jmp  still_end
101
    jmp  still_end
Line 102... Line 102...
102
    
102
    
103
;buttons handlers    
103
;buttons handlers    
104
  pgdn:
104
  pgdn:
105
    sub  [list_start],display_processes
105
    sub  [list_start],display_processes
106
    cmp  [list_start],0
106
;    cmp  [list_start],0
107
    jge  still_end  
107
    jge  still_end  
108
    mov  [list_start],0
108
    mov  [list_start],0
Line 109... Line 109...
109
    jmp  still_end  
109
    jmp  still_end  
110
 
110
 
111
  pgup:
111
  pgup:
112
    mov  eax,[list_add]  ;maximal displayed process slot
112
    mov  eax,[list_add]  ;maximal displayed process slot
Line 113... Line 113...
113
    mov  [list_start],eax
113
    mov  [list_start],eax
114
    jmp  still_end  
114
    jmp  still_end  
115
    
115
    
116
  program_start:    
116
  program_start:    
117
    mov  eax,58
117
    mov  eax,70
Line 118... Line 118...
118
    mov  ebx,file_start
118
    mov  ebx,file_start
Line 493... Line 493...
493
    int  0x40
493
    int  0x40
Line 494... Line 494...
494
 
494
 
495
    mov  ebx,22*65536+35           ; draw info text with function 4
495
    mov  ebx,22*65536+35           ; draw info text with function 4
496
    xor  ecx,ecx
496
    xor  ecx,ecx
497
    mov  edx,text
497
    mov  edx,text
498
    mov  esi,79
498
    mov  esi,text_len
499
    mov  eax,4
499
    mov  eax,4
Line 500... Line 500...
500
    int  0x40
500
    int  0x40
501
 
501
 
Line 581... Line 581...
581
 
581
 
582
 
582
 
Line 583... Line 583...
583
; DATA AREA
583
; DATA AREA
584
list_start  dd 0
584
list_start  dd 0
Line 585... Line 585...
585
 
585
 
586
file_start: dd 16
586
file_start: dd 7
Line 587... Line 587...
587
            dd 0,0,0,run_process_buffer
587
            dd 0,0,0,0
588
 
588
 
589
start_application: db '/RD/1/LAUNCHER',0
589
start_application: db '/RD/1/LAUNCHER',0
590
                   times 60 db 32
590
                   times 60 db 32
-
 
591
 
Line 591... Line 592...
591
 
592
if lang eq en
592
if lang eq en
593
text:
593
text:
594
  db ' NAME/TERMINATE     PID     CPU-USAGE  %   '
594
  db ' NAME/TERMINATE     PID     CPU-USAGE  %   '
595
  db 'MEMORY START/USAGE  W-STACK   W-SIZE'
Line 605... Line 606...
605
labellen:
606
labellen:
606
else
607
else
607
text:
608
text:
608
  db ' NAME/BEENDEN       PID     CPU-LAST   %   '
609
  db ' NAME/BEENDEN       PID     CPU-LAST   % '
609
  db 'SPEICHER START/NUTZUNG  W-STACK   W-SIZE'  
610
  db 'SPEICHER START/NUTZUNG  W-STACK  W-SIZE'
-
 
611
text_len = $-text
Line 610... Line 612...
610
 
612
 
611
tbts:   db  'SEITE ZURUECK       SEITE VOR                      REBOOT SYSTEM'
613
tbts:   db  'SEITE ZURUECK       SEITE VOR                      REBOOT SYSTEM'
612
tbte:
614
tbte:
613
tbts_2  db  '>'
615
tbts_2  db  '>'
Line 628... Line 630...
628
tcolor      rd 1
630
tcolor      rd 1
629
list_add    rd 1
631
list_add    rd 1
630
curposy     rd 1
632
curposy     rd 1
631
index       rd 1
633
index       rd 1
632
tasklist    rd display_processes
634
tasklist    rd display_processes
633
run_process_buffer:
-
 
634
process_info_buffer process_information
635
process_info_buffer process_information
635
rb 4096-($-run_process_buffer) ;rest of run_process_buffer
-
 
636
U_END:
636
U_END: