Initialized return value of 16->32 conversion of WM_MDIGETACTIVE in
[wine/dcerpc.git] / msdos / int15.c
blobb150a8f18ad25c892d1f75ab2c906d9b5ac650f1
1 /*
2 * BIOS interrupt 15h handler
3 */
5 #include <stdlib.h>
6 #include "miscemu.h"
7 #include "debug.h"
10 /**********************************************************************
11 * INT_Int15Handler
13 * Handler for int 15h (old cassette interrupt).
15 void WINAPI INT_Int15Handler( CONTEXT *context )
17 switch(AH_reg(context))
19 case 0x88: /* get size of memory above 1 M */
20 AX_reg(context) = 64; /* FIXME: are 64K ok? */
21 RESET_CFLAG(context);
22 break;
24 case 0xc0: /* GET CONFIGURATION */
25 if (ISV86(context)) /* real */
26 ES_reg(context) = 0xf000;
27 else
28 ES_reg(context) = DOSMEM_BiosSysSeg;
29 BX_reg(context) = 0xe6f5;
30 AH_reg(context) = 0x0;
31 RESET_CFLAG(context);
32 break;
34 default:
35 INT_BARF( context, 0x15 );