mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 08:49:15 +00:00
617955db88
context. Added #ifdef __i386__ around accesses to 386 registers in the generic CONTEXT structure.
26 lines
594 B
C
26 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);
|
|
}
|
|
}
|