Added ability to turn on/off debug channels.
[wine.git] / msdos / int4b.c
blob93c59c3cf8da1985f3e44c9aff76df9192193a97
1 /*
2 * DOS interrupt 4bh handler
3 */
5 #include <stdio.h>
6 #include "miscemu.h"
7 #include "wine/debug.h"
9 WINE_DEFAULT_DEBUG_CHANNEL(int);
11 /***********************************************************************
12 * INT_Int4bHandler (WPROCS.175)
15 void WINAPI INT_Int4bHandler( CONTEXT86 *context )
17 switch(AH_reg(context))
19 case 0x81: /* Virtual DMA Spec (IBM SCSI interface) */
20 if(AL_reg(context) != 0x02) /* if not install check */
22 SET_CFLAG(context);
23 AL_reg(context) = 0x0f; /* function is not implemented */
25 break;
26 default:
27 INT_BARF(context, 0x4b);