Added DOS int 21h function 4452h support (DR-DOS version check).

This commit is contained in:
Peter Hawkins 2000-10-13 20:22:34 +00:00 committed by Alexandre Julliard
parent 1cbaad7fba
commit 866c5886e5

View file

@ -1727,6 +1727,16 @@ void WINAPI DOS3Call( CONTEXT86 *context )
case 0xe0: /* Sun PC-NFS API */
/* not installed */
break;
case 0x52: /* DR-DOS version */
/* This is not DR-DOS */
TRACE("GET DR-DOS VERSION requested");
AX_reg(context) = 0x0001; /* Invalid function */
SET_CFLAG(context); /* Error */
SetLastError( ERROR_INVALID_FUNCTION );
break;
default:
INT_BARF( context, 0x21 );