Subversion Repositories Kolibri OS

Rev

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

Rev 485 Rev 494
Line 91... Line 91...
91
     jmp   begin_1.ret
91
     jmp   begin_1.ret
Line 92... Line 92...
92
 
92
 
93
   kill_active_application:
93
   kill_active_application:
94
     mcall  18, 7
94
     mcall  18, 7
-
 
95
     mov    ecx,eax
-
 
96
     
-
 
97
     ;//{SPraid.simba do not kill panel and icon
95
     mov    ecx,eax
98
     push eax
-
 
99
     mov eax,9
-
 
100
     mov ebx, process_info_buffer
-
 
101
     int 0x40
-
 
102
     mov eax,process_info_buffer
96
;     mcall  9, area9
103
     add eax,10
-
 
104
     mov ebx,[eax]
-
 
105
     cmp ebx,'ICON'
-
 
106
     je  no_kill
-
 
107
     cmp ebx,'@PAN'
-
 
108
     jne  kill_app
97
;     mov    eax,area9
109
     add eax,4
-
 
110
     mov ebx,[eax]
-
 
111
     and ebx,0x0000FFFF
-
 
112
     cmp ebx,'EL'
-
 
113
     je  no_kill
-
 
114
   kill_app:  
98
;     mov    ecx,[eax+4]
115
     pop ecx
-
 
116
     mcall  18, 2
-
 
117
     jmp if_kill
-
 
118
   no_kill:
-
 
119
     pop eax
-
 
120
   if_kill:
-
 
121
     ;// }SPraid.simba
99
     mcall  18, 2
122
     
Line 100... Line 123...
100
     jmp    begin_1.ret
123
     jmp    begin_1.ret
101
 
124
 
102
   start_menu_application:
125
   start_menu_application:
Line 2077... Line 2100...
2077
 
2100
 
2078
screen_size:
2101
screen_size:
2079
  .height dw ?
2102
  .height dw ?
Line 2080... Line -...
2080
  .width  dw ?
-
 
2081
 
2103
  .width  dw ?
2082
area9 rb 100
2104
 
2083
system_colours rd 10
2105
system_colours rd 10
2084
app_list rd 50
2106
app_list rd 50
-
 
2107
alt_tab_list    rd      256*2
2085
alt_tab_list    rd      256*2
2108
alt_tab_list_size dd    ?
2086
alt_tab_list_size dd    ?
2109
process_info_buffer  rb 1024
2087
tictable:
2110
tictable: