Skip to content
Snippets Groups Projects
int4b.c 660 B
Newer Older
Alexandre Julliard's avatar
Alexandre Julliard committed
/*
 * DOS interrupt 4bh handler
 */

Alexandre Julliard's avatar
Alexandre Julliard committed
#include "miscemu.h"
#include "debugtools.h"

DEFAULT_DEBUG_CHANNEL(int);
Alexandre Julliard's avatar
Alexandre Julliard committed

/***********************************************************************
 *           INT_Int4bHandler (WPROCS.175)
Alexandre Julliard's avatar
Alexandre Julliard committed
 *
 */
void WINAPI INT_Int4bHandler( CONTEXT86 *context )
Alexandre Julliard's avatar
Alexandre Julliard committed
{
    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);
    }
}