Release 960114
[wine/gsoc-2012-control.git] / miscemu / int4b.c
blob16cf0b6d8c2a3111502ee44c1003f3b4bbea28e7
1 /*
2 * Int 4B handling
4 */
6 #include "wine.h"
7 #include "miscemu.h"
8 #include "stddebug.h"
9 /* #define DEBUG_INT */
10 #include "debug.h"
11 #include "registers.h"
14 /***********************************************************************
15 * INT_Int4bHandler
18 void INT_Int4bHandler( struct sigcontext_struct context )
21 switch(AH_reg(&context))
23 case 0x81: /* Virtual DMA Spec (IBM SCSI interface) */
24 if(AL_reg(&context) != 0x02) /* if not install check */
26 SET_CFLAG(&context);
27 AL_reg(&context) = 0x0f; /* function is not implemented */
29 break;
30 default:
31 INT_BARF(&context, 0x4b);