Subversion Repositories Kolibri OS

Rev

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

Rev 1082 Rev 1083
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2007-2008. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2007-2008. 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: 1082 $
8
$Revision: 1083 $
9
 
9
 
Line 10... Line 10...
10
; Virtual-8086 mode manager
10
; Virtual-8086 mode manager
Line 924... Line 924...
924
        mov     word [esi-v86_regs.size+v86_regs.eip], cx
924
        mov     word [esi-v86_regs.size+v86_regs.eip], cx
925
        mov     cx, [eax*4+2]
925
        mov     cx, [eax*4+2]
926
        mov     word [esi-v86_regs.size+v86_regs.cs], cx
926
        mov     word [esi-v86_regs.size+v86_regs.cs], cx
927
        and     byte [esi-v86_regs.size+v86_regs.eflags+1], not 3
927
        and     byte [esi-v86_regs.size+v86_regs.eflags+1], not 3
928
        call    update_counters
928
        call    update_counters
929
        lea     edi, [ebx - SLOT_BASE]
929
        lea     edi, [ebx + 0x100000000 - SLOT_BASE]
930
        shr     edi, 3
930
        shr     edi, 3
931
        add     edi, TASK_DATA
931
        add     edi, TASK_DATA
932
        call    find_next_task.found
932
        call    find_next_task.found
933
        call    do_change_task
933
        call    do_change_task
934
        popad
934
        popad