From 3a8eae3191a71b8783e1215701d667beb1738850 Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Fri, 25 May 2012 10:58:50 +0200 Subject: [PATCH] krnl386: Set 11-bit for fixed drive. --- dlls/krnl386.exe16/int21.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/krnl386.exe16/int21.c b/dlls/krnl386.exe16/int21.c index 14dbdfe3a7..f25194b265 100644 --- a/dlls/krnl386.exe16/int21.c +++ b/dlls/krnl386.exe16/int21.c @@ -2495,6 +2495,10 @@ static void INT21_Ioctl_Block( CONTEXT *context ) /* CDROM should be set to remote. If it set the app will * call int2f to check if it cdrom or remote drive. */ SET_DX( context, (1<<12) ); + else if (drivetype == DRIVE_FIXED) + /* This should define if drive support 0x0d, 0x0f and 0x08 + * requests. The local fixed drive should do. */ + SET_DX( context, (1<<11) ); else SET_DX( context, 0 ); /* FIXME: use driver attr here */ break;