blob: 6103b95427790c50d66ef522a7343bb77f7ff374 [file] [log] [blame]
Alexandre Julliard9ea19e51997-01-01 17:29:55 +00001/*
2 * DOS interrupt 4bh handler
3 */
4
Marcus Meissner317af321999-02-17 13:51:06 +00005#include <stdio.h>
Alexandre Julliard9ea19e51997-01-01 17:29:55 +00006#include "miscemu.h"
7
8/***********************************************************************
9 * INT_Int4bHandler
10 *
11 */
Alexandre Julliard617955d1999-06-26 18:40:24 +000012void WINAPI INT_Int4bHandler( CONTEXT86 *context )
Alexandre Julliard9ea19e51997-01-01 17:29:55 +000013{
14 switch(AH_reg(context))
15 {
16 case 0x81: /* Virtual DMA Spec (IBM SCSI interface) */
17 if(AL_reg(context) != 0x02) /* if not install check */
18 {
19 SET_CFLAG(context);
20 AL_reg(context) = 0x0f; /* function is not implemented */
21 }
22 break;
23 default:
24 INT_BARF(context, 0x4b);
25 }
26}