Added timeout to critical section waiting.
[wine/multimedia.git] / msdos / int3d.c
blob131903693cd3db90e76110d9647e756b1b9a2017
1 /*
2 * DOS interrupt 3d handler.
3 * Copyright 1997 Len White
4 */
6 #include <stdlib.h>
7 #include "msdos.h"
8 #include "miscemu.h"
9 /* #define DEBUG_INT */
10 #include "debug.h"
12 /**********************************************************************
13 * INT_Int3dHandler
15 * Handler for int 3d (FLOATING POINT EMULATION - STANDALONE FWAIT).
17 void WINAPI INT_Int3dHandler(CONTEXT *context)
19 switch(AH_reg(context))
21 case 0x00:
22 break;
24 case 0x02:
25 case 0x03:
26 case 0x04:
27 case 0x05:
28 case 0xb:
29 AH_reg(context) = 0;
30 break;
32 default:
33 INT_BARF( context, 0x3d );