mirror of
https://github.com/reactos/wine.git
synced 2025-02-19 20:31:35 +00:00

context. Added #ifdef __i386__ around accesses to 386 registers in the generic CONTEXT structure.
27 lines
594 B
C
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);
|
|
}
|
|
}
|