- Treeview uses COLOR_WINDOW color instead of clrBk to fill background.
[wine/multimedia.git] / msdos / int41.c
blob76f3554c55d0411df72dba07f3370d3c0aa8f47c
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( CONTEXT86 *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;