Rev 8869 | Rev 9715 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8869 | Rev 9709 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2007-2021. 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: 8869 $ |
8 | $Revision: 9709 $ |
9 | 9 | ||
Line 10... | Line 10... | ||
10 | ; Virtual-8086 mode manager |
10 | ; Virtual-8086 mode manager |
Line 896... | Line 896... | ||
896 | mov word [esi-sizeof.v86_regs+v86_regs.eip], cx |
896 | mov word [esi-sizeof.v86_regs+v86_regs.eip], cx |
897 | mov cx, [eax*4+2] |
897 | mov cx, [eax*4+2] |
898 | mov word [esi-sizeof.v86_regs+v86_regs.cs], cx |
898 | mov word [esi-sizeof.v86_regs+v86_regs.cs], cx |
899 | and byte [esi-sizeof.v86_regs+v86_regs.eflags+1], not 3 |
899 | and byte [esi-sizeof.v86_regs+v86_regs.eflags+1], not 3 |
900 | call update_counters |
900 | call update_counters |
901 | lea edi, [ebx + 0x100000000 - SLOT_BASE] |
- | |
902 | shr edi, 3 |
- | |
903 | add edi, TASK_TABLE |
- | |
904 | call find_next_task.found |
901 | call find_next_task.found |
905 | call do_change_task |
902 | call do_change_task |
906 | popad |
903 | popad |
907 | iretd |
904 | iretd |