Rewrite GetCommState16 using GetCommState.
[wine/wine-kai.git] / msdos / int5c.c
blob19672720611123a4c1ca1a4e2cdef8e39938188f
1 /*
2 * NetBIOS interrupt handling
4 * Copyright 1995 Alexandre Julliard, Alex Korobka
5 */
7 #include "miscemu.h"
8 #include "debugtools.h"
10 DEFAULT_DEBUG_CHANNEL(int);
13 /***********************************************************************
14 * NetBIOSCall (KERNEL.103)
15 * INT_Int5cHandler (WPROCS.192)
17 * Also handler for interrupt 5c.
19 void WINAPI NetBIOSCall16( CONTEXT86 *context )
21 BYTE* ptr;
22 ptr = MapSL( MAKESEGPTR(context->SegEs,BX_reg(context)) );
23 FIXME("(%p): command code %02x (ignored)\n",context, *ptr);
24 AL_reg(context) = *(ptr+0x01) = 0xFB; /* NetBIOS emulator not found */