Rev 1709 | Rev 2288 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1709 | Rev 1878 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2008. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-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: 1709 $ |
8 | $Revision: 1878 $ |
9 | 9 | ||
10 | 10 | ||
Line 931... | Line 931... | ||
931 | mov word [ebx+v86_regs.esp], 0A000h |
931 | mov word [ebx+v86_regs.esp], 0A000h |
932 | mov word [ebx+v86_regs.eip], 500h |
932 | mov word [ebx+v86_regs.eip], 500h |
933 | mov [ebx+v86_regs.eflags], 20200h |
933 | mov [ebx+v86_regs.eflags], 20200h |
934 | mov esi, [sys_v86_machine] |
934 | mov esi, [sys_v86_machine] |
935 | mov ecx, 0x502 |
935 | mov ecx, 0x502 |
- | 936 | push fs |
|
936 | call v86_start |
937 | call v86_start |
- | 938 | pop fs |
|
937 | and [bios_hdpos], 0 |
939 | and [bios_hdpos], 0 |
938 | pop edi esi ecx ebx |
940 | pop edi esi ecx ebx |
939 | movzx edx, byte [OS_BASE + 512h] |
941 | movzx edx, byte [OS_BASE + 512h] |
940 | test byte [int13_regs_out+v86_regs.eflags], 1 |
942 | test byte [int13_regs_out+v86_regs.eflags], 1 |
941 | jnz @f |
943 | jnz @f |