Added support for the DRVM_MAPPER_STATUS message.
[wine/multimedia.git] / msdos / int41.c
blob905218a8b90f5a8c98f3045e55bf2430bf25315d
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"
9 #include "debugtools.h"
11 DEFAULT_DEBUG_CHANNEL(int);
13 /***********************************************************************
14 * INT_Int41Handler
17 void WINAPI INT_Int41Handler( CONTEXT86 *context )
19 if ( ISV86(context) )
21 /* Real-mode debugger services */
22 switch ( AX_reg(context) )
24 default:
25 INT_BARF( context, 0x41 );
26 break;
29 else
31 /* Protected-mode debugger services */
32 switch ( AX_reg(context) )
34 case 0x4f:
35 case 0x50:
36 case 0x150:
37 case 0x51:
38 case 0x52:
39 case 0x152:
40 case 0x59:
41 case 0x5a:
42 case 0x5b:
43 case 0x5c:
44 case 0x5d:
45 /* Notifies the debugger of a lot of stuff. We simply ignore it
46 for now, but some of the info might actually be useful ... */
47 break;
49 default:
50 INT_BARF( context, 0x41 );
51 break;