Added first version of the Perl regression testing framework.
[wine/multimedia.git] / msdos / int17.c
blob48c0212c8d849b8d842f060fa8415a6662aaf3f9
1 /*
2 * BIOS interrupt 17h handler
3 */
5 #include <stdlib.h>
7 #include "miscemu.h"
8 #include "debugtools.h"
9 #include "msdos.h"
10 #include "winnt.h"
12 DEFAULT_DEBUG_CHANNEL(int17);
14 /**********************************************************************
15 * INT_Int17Handler
17 * Handler for int 17h (printer - output character).
19 void WINAPI INT_Int17Handler( CONTEXT86 *context )
21 switch( AH_reg(context) )
23 case 0x01: /* PRINTER - INITIALIZE */
24 FIXME("Initialize Printer - Not Supported\n");
25 AH_reg(context) = 0; /* time out */
26 break;
27 case 0x02: /* PRINTER - GET STATUS */
28 FIXME("Get Printer Status - Not Supported\n");
29 break;
30 default:
31 AH_reg(context) = 0; /* time out */
32 INT_BARF( context, 0x17 );