Subversion Repositories Kolibri OS

Rev

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

Rev 479 Rev 506
Line 1... Line 1...
1
$Revision: 479 $
1
$Revision: 506 $
2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3
;;                                                              ;;
3
;;                                                              ;;
4
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
4
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
5
;; Distributed under terms of the GNU General Public License    ;;
5
;; Distributed under terms of the GNU General Public License    ;;
6
;;                                                              ;;
6
;;                                                              ;;
Line 183... Line 183...
183
        mov    eax,[error_interrupt]
183
        mov    eax,[error_interrupt]
184
        call   writehex
184
        call   writehex
Line 185... Line 185...
185
 
185
 
186
        cmp    dword [esp+4+4], os_code ; CS
186
        cmp    dword [esp+4+4], os_code ; CS
187
        jnz    @f
187
        jnz    @f
188
        mov    esi,system_error
188
        ;mov    esi,system_error
-
 
189
        ;call   sys_msg_board_str
189
        call   sys_msg_board_str
190
        DEBUGF 1,"%s",system_error
190
      @@:
191
      @@:
Line 191... Line 192...
191
        mov    eax, [esp+4] ; EIP
192
        mov    eax, [esp+4] ; EIP
192
 
193
 
Line 193... Line 194...
193
        mov    [write_error_to],process_eip+43
194
        mov    [write_error_to],process_eip+43
194
        call   writehex
195
        call   writehex
-
 
196
 
195
 
197
        ;mov    esi,process_error
196
        mov    esi,process_error
198
        ;call   sys_msg_board_str
197
        call   sys_msg_board_str
199
        DEBUGF 1,"%s",process_error
-
 
200
 
198
 
201
        ;mov    esi,process_pid
199
        mov    esi,process_pid
202
        ;call   sys_msg_board_str
200
        call   sys_msg_board_str
203
        DEBUGF 1,"%s",process_pid
-
 
204
 
Line 201... Line 205...
201
 
205
        ;mov    esi,process_eip
Line 478... Line 482...
478
           cmp [SLOT_BASE+esi+APPDATA.dir_table], 0
482
           cmp [SLOT_BASE+esi+APPDATA.dir_table], 0
479
           jne @F
483
           jne @F
480
           add esp, 4
484
           add esp, 4
481
           ret
485
           ret
482
@@:
486
@@:
483
           mov    esi,process_terminating
487
           ;mov    esi,process_terminating
484
           call   sys_msg_board_str
488
           ;call   sys_msg_board_str
-
 
489
           DEBUGF 1,"%s",process_terminating
485
@@:
490
@@:
486
           cli
491
           cli
487
           cmp   [application_table_status],0
492
           cmp   [application_table_status],0
488
           je    term9
493
           je    term9
489
           sti
494
           sti
Line 503... Line 508...
503
           cmp eax, esi
508
           cmp eax, esi
504
           je @F
509
           je @F
Line 505... Line 510...
505
 
510
 
506
           push esi
511
           push esi
507
           call [eax+APPOBJ.destroy]
512
           call [eax+APPOBJ.destroy]
508
           mov  esi, msg_obj_destroy
513
           ;mov  esi, msg_obj_destroy
-
 
514
           ;call sys_msg_board_str
509
           call sys_msg_board_str
515
           DEBUGF 1,"%s",msg_obj_destroy
510
           pop esi
516
           pop esi
511
           jmp @B
517
           jmp @B
512
@@:
518
@@:
513
           mov eax, [.slot]
519
           mov eax, [.slot]
Line 805... Line 811...
805
 
811
 
806
    mov   [MOUSE_BACKGROUND],byte 0  ; no mouse background
812
    mov   [MOUSE_BACKGROUND],byte 0  ; no mouse background
Line 807... Line 813...
807
    mov   [DONT_DRAW_MOUSE],byte 0  ; draw mouse
813
    mov   [DONT_DRAW_MOUSE],byte 0  ; draw mouse
808
 
814
 
809
    mov   [application_table_status],0
815
    mov   [application_table_status],0
-
 
816
    ;mov   esi,process_terminated
810
    mov   esi,process_terminated
817
    ;call  sys_msg_board_str
811
    call  sys_msg_board_str
818
    DEBUGF 1,"%s",process_terminated
812
    add esp, 4
819
    add esp, 4
Line 813... Line 820...
813
    ret
820
    ret