wine/msdos/int4b.c
Alexandre Julliard 617955db88 Changed CONTEXT into CONTEXT86 everywhere we really want an i386
context.
Added #ifdef __i386__ around accesses to 386 registers in the generic
CONTEXT structure.
1999-06-26 18:40:24 +00:00

27 lines
594 B
C

/*
* DOS interrupt 4bh handler
*/
#include <stdio.h>
#include "miscemu.h"
/***********************************************************************
* 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);
}
}