int13_call: vm86 hotfix

git-svn-id: svn://kolibrios.org@1878 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2011-02-17 17:40:53 +00:00
parent ddf7309f03
commit 0e98f2ea01

View File

@ -933,7 +933,9 @@ int13_call:
mov [ebx+v86_regs.eflags], 20200h mov [ebx+v86_regs.eflags], 20200h
mov esi, [sys_v86_machine] mov esi, [sys_v86_machine]
mov ecx, 0x502 mov ecx, 0x502
push fs
call v86_start call v86_start
pop fs
and [bios_hdpos], 0 and [bios_hdpos], 0
pop edi esi ecx ebx pop edi esi ecx ebx
movzx edx, byte [OS_BASE + 512h] movzx edx, byte [OS_BASE + 512h]