Sweden-Number/miscemu/int5c.c

32 lines
683 B
C

/*
* NetBIOS interrupt handling
*
* Copyright 1995 Alexandre Julliard, Alex Korobka
*/
#include "ldt.h"
#include "wine.h"
#include "miscemu.h"
#include "stddebug.h"
/* #define DEBUG_INT */
#include "debug.h"
#include "registers.h"
/***********************************************************************
* NetBIOSCall (KERNEL.103)
*
* Also handler for interrupt 5c.
*/
void NetBIOSCall( struct sigcontext_struct context )
{
BYTE* ptr;
ptr = (BYTE*) PTR_SEG_OFF_TO_LIN(ES_reg(&context),BX_reg(&context));
fprintf(stdnimp,"NetBIOSCall: command code %02x (ignored)\n",*ptr);
AL_reg(&context) = *(ptr+0x01) = 0xFB; /* NetBIOS emulator not found */
}