From 0e98f2ea0113056c6aaae45419ce5e67163787d1 Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Thu, 17 Feb 2011 17:40:53 +0000 Subject: [PATCH] int13_call: vm86 hotfix git-svn-id: svn://kolibrios.org@1878 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/blkdev/hd_drv.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/trunk/blkdev/hd_drv.inc b/kernel/trunk/blkdev/hd_drv.inc index dd604a325d..ab5af9362a 100644 --- a/kernel/trunk/blkdev/hd_drv.inc +++ b/kernel/trunk/blkdev/hd_drv.inc @@ -933,7 +933,9 @@ int13_call: mov [ebx+v86_regs.eflags], 20200h mov esi, [sys_v86_machine] mov ecx, 0x502 + push fs call v86_start + pop fs and [bios_hdpos], 0 pop edi esi ecx ebx movzx edx, byte [OS_BASE + 512h]