Fix CreateProcessA to implement correct actions on ambiguous command
[wine/multimedia.git] / msdos / int41.c
blob85c4e269d70eb470f6595818bc16a36a8d2500aa
1 /*
2 * DOS interrupt 41h handler -- Windows Kernel Debugger
3 *
4 * Check debugsys.inc from the DDK for docu.
5 */
7 #include <stdio.h>
8 #include "miscemu.h"
10 /***********************************************************************
11 * INT_Int41Handler
14 void WINAPI INT_Int41Handler( CONTEXT *context )
16 if ( ISV86(context) )
18 /* Real-mode debugger services */
19 switch ( AX_reg(context) )
21 default:
22 INT_BARF( context, 0x41 );
23 break;
26 else
28 /* Protected-mode debugger services */
29 switch ( AX_reg(context) )
31 case 0x4f:
32 case 0x50:
33 case 0x150:
34 case 0x51:
35 case 0x52:
36 case 0x152:
37 case 0x59:
38 case 0x5a:
39 case 0x5b:
40 case 0x5c:
41 case 0x5d:
42 /* Notifies the debugger of a lot of stuff. We simply ignore it
43 for now, but some of the info might actually be useful ... */
44 break;
46 default:
47 INT_BARF( context, 0x41 );
48 break;