Rev 341 | Rev 529 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 341 | Rev 485 | ||
---|---|---|---|
Line 16... | Line 16... | ||
16 | dd U_END+STACK_SIZE ; memory for app |
16 | dd U_END+STACK_SIZE ; memory for app |
17 | dd U_END+STACK_SIZE ; esp |
17 | dd U_END+STACK_SIZE ; esp |
18 | dd 0x0 , 0x0 ; I_Param , I_Icon |
18 | dd 0x0 , 0x0 ; I_Param , I_Icon |
Line 19... | Line 19... | ||
19 | 19 | ||
20 | include 'lang.inc' |
20 | include 'lang.inc' |
21 | include 'macros.inc' |
21 | include '..\..\..\macros.inc' |
22 | display_processes=32 ; number of processes to show |
22 | display_processes=32 ; number of processes to show |
23 | START: ; start of execution |
23 | START: ; start of execution |
24 | ; calculate window position |
24 | ; calculate window position |
25 | ; at the center of the screen |
25 | ; at the center of the screen |
Line 309... | Line 309... | ||
309 | mov ecx,dword [process_info_buffer.window_stack_position] |
309 | mov ecx,dword [process_info_buffer.window_stack_position] |
310 | add edx,60*65536 |
310 | add edx,60*65536 |
311 | int 0x40 |
311 | int 0x40 |
Line 312... | Line 312... | ||
312 | 312 | ||
313 | ;show window xy size |
313 | ;show window xy size |
314 | mov ecx,[process_info_buffer.x_size] |
314 | mov ecx,[process_info_buffer.box.left] |
315 | shl ecx,16 |
315 | shl ecx,16 |
316 | add ecx,[process_info_buffer.y_size] |
316 | add ecx,[process_info_buffer.box.top] |
317 | add edx,60*65536 |
317 | add edx,60*65536 |
Line 318... | Line 318... | ||
318 | int 0x40 |
318 | int 0x40 |
319 | 319 | ||
Line 478... | Line 478... | ||
478 | ; DRAW WINDOW |
478 | ; DRAW WINDOW |
479 | xor eax,eax ; function 0 : define and draw window |
479 | xor eax,eax ; function 0 : define and draw window |
480 | mov ebx,[winxpos] ; [x start] *65536 + [x size] |
480 | mov ebx,[winxpos] ; [x start] *65536 + [x size] |
481 | mov ecx,[winypos] ; [y start] *65536 + [y size] |
481 | mov ecx,[winypos] ; [y start] *65536 + [y size] |
482 | mov edx,0x13ddffdd ;ffffff ; color of work area RRGGBB,8->color |
482 | mov edx,0x13ddffdd ;ffffff ; color of work area RRGGBB,8->color |
483 | mov edi,header ; WINDOW CAPTION; |
483 | mov edi,title ; WINDOW CAPTION; |
484 | int 0x40 |
484 | int 0x40 |
Line 485... | Line 485... | ||
485 | 485 | ||
486 | 486 | ||
Line 592... | Line 592... | ||
592 | tbte: |
592 | tbte: |
593 | tbts_2 db '>' |
593 | tbts_2 db '>' |
594 | tbts_3 db 'START' |
594 | tbts_3 db 'START' |
595 | tbte_2: |
595 | tbte_2: |
Line 596... | Line 596... | ||
596 | 596 | ||
Line 597... | Line 597... | ||
597 | header db 'Prozesse - Ctrl/Alt/Del',0 |
597 | title db 'Prozesse - Ctrl/Alt/Del',0 |
598 | 598 | ||
599 | else if lang eq et |
599 | else if lang eq et |
600 | text: |
600 | text: |
Line 606... | Line 606... | ||
606 | tbte: |
606 | tbte: |
607 | tbts_2 db '>' |
607 | tbts_2 db '>' |
608 | tbts_3 db 'START' |
608 | tbts_3 db 'START' |
609 | tbte_2: |
609 | tbte_2: |
Line 610... | Line 610... | ||
610 | 610 | ||
Line 611... | Line 611... | ||
611 | header db 'Protsessid - Ctrl/Alt/Del',0 |
611 | title db 'Protsessid - Ctrl/Alt/Del',0 |
612 | 612 | ||
613 | else |
613 | else |
614 | text: |
614 | text: |
Line 620... | Line 620... | ||
620 | tbte: |
620 | tbte: |
621 | tbts_2 db '>' |
621 | tbts_2 db '>' |
622 | tbts_3 db 'RUN' |
622 | tbts_3 db 'RUN' |
623 | tbte_2: |
623 | tbte_2: |
Line 624... | Line 624... | ||
624 | 624 | ||
Line 625... | Line 625... | ||
625 | header db 'Processes - Ctrl/Alt/Del',0 |
625 | title db 'Processes - Ctrl/Alt/Del',0 |
Line 626... | Line 626... | ||
626 | 626 |