From 2e5b1b66b02b1ea519be1093dc902f0b783fb5d6 Mon Sep 17 00:00:00 2001 From: Robert 'Admiral' Coeyman Date: Mon, 11 Nov 2002 22:19:12 +0000 Subject: [PATCH] Fixed bit 2 value and set bit 1 too. --- msdos/int11.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/msdos/int11.c b/msdos/int11.c index 9348bf25313..8b4d4ff8355 100644 --- a/msdos/int11.c +++ b/msdos/int11.c @@ -67,7 +67,10 @@ void WINAPI INT_Int11Handler( CONTEXT86 *context ) bits 15-14 } Added by William Owen Smith, bits 11-9 } wos@dcs.warwick.ac.uk bits 7-6 - bit 2 (always set) + bit 2 (always set) ( bit 2 = 4 ) + bit 1 } Robert 'Admiral' Coeyman + All *nix systems either have a math processor or + emmulate one. */ if (GetDriveTypeA("A:\\") == DRIVE_REMOVABLE) diskdrives++; @@ -98,5 +101,5 @@ void WINAPI INT_Int11Handler( CONTEXT86 *context ) if (parallelports > 3) /* 2 bits -- maximum value = 3 */ parallelports=3; - SET_AX( context, (diskdrives << 6) | (serialports << 9) | (parallelports << 14) | 0x02 ); + SET_AX( context, (diskdrives << 6) | (serialports << 9) | (parallelports << 14) | 0x06 ); }