Allow application to use VGA window that overlaps framebuffer only
[wine] / dlls / winedos / int4b.c
1 /*
2  * DOS interrupt 4bh handler
3  */
4
5 #include <stdio.h>
6 #include "miscemu.h"
7 #include "wine/debug.h"
8
9 WINE_DEFAULT_DEBUG_CHANNEL(int);
10
11 /***********************************************************************
12  *           DOSVM_Int4bHandler (WINEDOS16.175)
13  *
14  */
15 void WINAPI DOSVM_Int4bHandler( CONTEXT86 *context )
16 {
17     switch(AH_reg(context))
18     {
19     case 0x81: /* Virtual DMA Spec (IBM SCSI interface) */
20         if(AL_reg(context) != 0x02) /* if not install check */
21         {
22             SET_CFLAG(context);
23             SET_AL( context, 0x0f ); /* function is not implemented */
24         }
25         break;
26     default:
27         INT_BARF(context, 0x4b);
28     }
29 }