Rev 819 | Rev 1072 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 819 | Rev 1038 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 819 $ |
8 | $Revision: 1038 $ |
Line 9... | Line 9... | ||
9 | 9 | ||
Line 138... | Line 138... | ||
138 | test eax, eax |
138 | test eax, eax |
139 | jz .err_hdr |
139 | jz .err_hdr |
Line 140... | Line 140... | ||
140 | 140 | ||
141 | ;mov esi, new_process_loading |
141 | ;mov esi, new_process_loading |
142 | ;call sys_msg_board_str ; write message to message board |
- | |
Line 143... | Line 142... | ||
143 | DEBUGF 1,"%s",new_process_loading |
142 | ;call sys_msg_board_str ; write message to message board |
144 | 143 | ||
145 | .wait_lock: |
144 | .wait_lock: |
146 | cmp [application_table_status],0 |
145 | cmp [application_table_status],0 |
Line 848... | Line 847... | ||
848 | mov [app_eip], ebx |
847 | mov [app_eip], ebx |
849 | mov [app_esp], ecx |
848 | mov [app_esp], ecx |
Line 850... | Line 849... | ||
850 | 849 | ||
851 | ;mov esi,new_process_loading |
850 | ;mov esi,new_process_loading |
852 | ;call sys_msg_board_str |
- | |
853 | DEBUGF 1,"%s",new_process_loading |
851 | ;call sys_msg_board_str |
854 | .wait_lock: |
852 | .wait_lock: |
855 | cmp [application_table_status],0 |
853 | cmp [application_table_status],0 |
856 | je .get_lock |
854 | je .get_lock |
857 | call change_task |
855 | call change_task |
Line 903... | Line 901... | ||
903 | stdcall set_app_params ,[slot],eax,dword 0,\ |
901 | stdcall set_app_params ,[slot],eax,dword 0,\ |
904 | dword 0,dword 0 |
902 | dword 0,dword 0 |
Line 905... | Line 903... | ||
905 | 903 | ||
906 | ;mov esi,new_process_running |
904 | ;mov esi,new_process_running |
907 | ;call sys_msg_board_str ;output information about succefull startup |
- | |
Line 908... | Line 905... | ||
908 | DEBUGF 1,"%s",new_process_running |
905 | ;call sys_msg_board_str ;output information about succefull startup |
909 | 906 | ||
910 | mov [application_table_status],0 ;unlock application_table_status mutex |
907 | mov [application_table_status],0 ;unlock application_table_status mutex |
911 | mov eax,[process_number] ;set result |
908 | mov eax,[process_number] ;set result |
Line 1102... | Line 1099... | ||
1102 | mov [SLOT_BASE+ebx*8+APPDATA.debugger_slot],eax |
1099 | mov [SLOT_BASE+ebx*8+APPDATA.debugger_slot],eax |
1103 | .no_debug: |
1100 | .no_debug: |
1104 | mov [CURRENT_TASK+ebx+TASKDATA.state], cl |
1101 | mov [CURRENT_TASK+ebx+TASKDATA.state], cl |
1105 | ;mov esi,new_process_running |
1102 | ;mov esi,new_process_running |
1106 | ;call sys_msg_board_str ;output information about succefull startup |
1103 | ;call sys_msg_board_str ;output information about succefull startup |
1107 | DEBUGF 1,"%s",new_process_running |
- | |
1108 | ret |
1104 | ret |
1109 | endp |
1105 | endp |
Line 1110... | Line 1106... | ||
1110 | 1106 |