Subversion Repositories Kolibri OS

Rev

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

Rev 8052 Rev 8866
Line 1... Line 1...
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;                                                              ;;
2
;;                                                              ;;
3
;; Copyright (C) KolibriOS team 2007-2015. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2007-2021. 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: 8052 $
8
$Revision: 8866 $
9
 
9
 
Line 10... Line 10...
10
; Virtual-8086 mode manager
10
; Virtual-8086 mode manager
Line 838... Line 838...
838
        add     al, 60h
838
        add     al, 60h
839
@@:
839
@@:
840
        jmp     v86_exc_c.simulate_int
840
        jmp     v86_exc_c.simulate_int
841
.notcurrent:
841
.notcurrent:
842
        mov     ebx, SLOT_BASE + 0x100
842
        mov     ebx, SLOT_BASE + 0x100
843
        mov     ecx, [TASK_COUNT]
843
        mov     ecx, [thread_count]
844
.scan:
844
.scan:
845
        cmp     [ebx+APPDATA.process], eax
845
        cmp     [ebx+APPDATA.process], eax
846
        jnz     .cont
846
        jnz     .cont
847
        push    ecx
847
        push    ecx
848
        mov     ecx, [ebx+APPDATA.saved_esp0]
848
        mov     ecx, [ebx+APPDATA.saved_esp0]