mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
3fa613cf61
Added SET_AX etc. macros to avoid non-portable pointer manipulations.
29 lines
660 B
C
29 lines
660 B
C
/*
|
|
* DOS interrupt 4bh handler
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
#include "miscemu.h"
|
|
#include "wine/debug.h"
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(int);
|
|
|
|
/***********************************************************************
|
|
* INT_Int4bHandler (WPROCS.175)
|
|
*
|
|
*/
|
|
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);
|
|
SET_AL( context, 0x0f ); /* function is not implemented */
|
|
}
|
|
break;
|
|
default:
|
|
INT_BARF(context, 0x4b);
|
|
}
|
|
}
|