riched20: Make EM_EXLINEFROMCHAR handle special case of lParam == -1.
[wine/wine64.git] / dlls / winedos / int4b.c
blob02f71c0d664fc54170f015a6f761c17263d75fc3
1 /*
2 * DOS interrupt 4bh handler
3 */
5 #include <stdio.h>
6 #include "dosexe.h"
7 #include "wine/debug.h"
9 WINE_DEFAULT_DEBUG_CHANNEL(int);
11 /***********************************************************************
12 * DOSVM_Int4bHandler (WINEDOS16.175)
15 void WINAPI DOSVM_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 SET_AL( context, 0x0f ); /* function is not implemented */
25 break;
26 default:
27 INT_BARF(context, 0x4b);