Release 950817
[wine/multimedia.git] / miscemu / int10.c
blob3d938129a1b2cac5b1ad3eddc7d494bca4a3b908
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include "registers.h"
4 #include "wine.h"
5 #include "miscemu.h"
6 #include "stddebug.h"
7 /* #define DEBUG_INT */
8 #include "debug.h"
11 /**********************************************************************
12 * INT_Int10Handler
14 * Handler for int 10h (video).
16 void INT_Int10Handler( struct sigcontext_struct context )
18 switch(AH_reg(&context))
20 case 0x0f:
21 AL_reg(&context) = 0x5b;
22 break;
24 case 0x12:
25 if (BL_reg(&context) == 0x10)
27 BX_reg(&context) = 0x0003;
28 CX_reg(&context) = 0x0009;
30 break;
32 case 0x1a:
33 BX_reg(&context) = 0x0008;
34 break;
36 default:
37 INT_BARF( &context, 0x10 );