Added some CLSIDs.
[wine] / msdos / int3d.c
1 /*
2  * DOS interrupt 3d handler.
3  * Copyright 1997 Len White
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18  */
19
20 #include <stdlib.h>
21 #include "msdos.h"
22 #include "miscemu.h"
23 #include "wine/debug.h"
24
25 WINE_DEFAULT_DEBUG_CHANNEL(int);
26
27 /**********************************************************************
28  *          INT_Int3dHandler (WPROCS.161)
29  *
30  * Handler for int 3d (FLOATING POINT EMULATION - STANDALONE FWAIT).
31  */
32 void WINAPI INT_Int3dHandler(CONTEXT86 *context)
33 {
34     switch(AH_reg(context))
35     {
36     case 0x00:
37         break;
38
39     case 0x02:
40     case 0x03:
41     case 0x04:
42     case 0x05:
43     case 0xb:
44         AH_reg(context) = 0;
45         break;
46
47     default:
48         INT_BARF( context, 0x3d );
49     }
50 }
51