Release 951226
[wine/gsoc-2012-control.git] / miscemu / int5c.c
blob28540f285ecaf46917f75969cf530d57f9d310b5
1 /*
2 * NetBIOS interrupt handling
4 * Copyright 1995 Alexandre Julliard, Alex Korobka
5 */
7 #include "ldt.h"
8 #include "wine.h"
9 #include "miscemu.h"
10 #include "stddebug.h"
11 /* #define DEBUG_INT */
12 #include "debug.h"
13 #include "registers.h"
16 /***********************************************************************
17 * NetBIOSCall (KERNEL.103)
19 * Also handler for interrupt 5c.
21 void NetBIOSCall( struct sigcontext_struct context )
23 BYTE* ptr;
25 ptr = (BYTE*) PTR_SEG_OFF_TO_LIN(ES_reg(&context),BX_reg(&context));
27 fprintf(stdnimp,"NetBIOSCall: command code %02x (ignored)\n",*ptr);
29 AL_reg(&context) = *(ptr+0x01) = 0xFB; /* NetBIOS emulator not found */