Add an error message if devmode structure in registry is invalid;
[wine/multimedia.git] / msdos / int3d.c
blob90d9ba3a039ba46678d9a3f15e51a0f28acfd07f
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 #include "debugtools.h"
11 DEFAULT_DEBUG_CHANNEL(int);
13 /**********************************************************************
14 * INT_Int3dHandler
16 * Handler for int 3d (FLOATING POINT EMULATION - STANDALONE FWAIT).
18 void WINAPI INT_Int3dHandler(CONTEXT86 *context)
20 switch(AH_reg(context))
22 case 0x00:
23 break;
25 case 0x02:
26 case 0x03:
27 case 0x04:
28 case 0x05:
29 case 0xb:
30 AH_reg(context) = 0;
31 break;
33 default:
34 INT_BARF( context, 0x3d );