wine/msdos/int4b.c
2000-02-10 22:15:21 +00:00

30 lines
647 B
C

/*
* DOS interrupt 4bh handler
*/
#include <stdio.h>
#include "miscemu.h"
#include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(int);
/***********************************************************************
* INT_Int4bHandler
*
*/
void WINAPI INT_Int4bHandler( CONTEXT86 *context )
{
switch(AH_reg(context))
{
case 0x81: /* Virtual DMA Spec (IBM SCSI interface) */
if(AL_reg(context) != 0x02) /* if not install check */
{
SET_CFLAG(context);
AL_reg(context) = 0x0f; /* function is not implemented */
}
break;
default:
INT_BARF(context, 0x4b);
}
}