Removed some direct accesses to the 16-bit task structure.
[wine.git] / msdos / int4b.c
blob64215e948781f4647e000cfad26816b13d6c6649
1 /*
2 * DOS interrupt 4bh handler
3 */
5 #include <stdio.h>
6 #include "miscemu.h"
7 #include "debugtools.h"
9 DEFAULT_DEBUG_CHANNEL(int);
11 /***********************************************************************
12 * INT_Int4bHandler
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);