Change the V86BASE macro to call DOSMEM_MemoryBase() instead of using
[wine] / msdos / int17.c
1 /*
2  * BIOS interrupt 17h handler
3  */
4
5 #include <stdlib.h>
6
7 #include "miscemu.h"
8 #include "debugtools.h"
9 #include "msdos.h"
10 #include "drive.h"
11 #include "winnt.h"
12
13 DEFAULT_DEBUG_CHANNEL(int17)
14
15 /**********************************************************************
16  *          INT_Int17Handler
17  *
18  * Handler for int 17h (printer - output character).
19  */
20 void WINAPI INT_Int17Handler( CONTEXT86 *context )
21 {
22     switch( AH_reg(context) )
23     {
24         case 0x01:              /* PRINTER - INITIALIZE */
25             FIXME("Initialize Printer - Not Supported\n");
26             AH_reg(context) = 0; /* time out */
27             break;
28         case 0x02:              /* PRINTER - GET STATUS */
29             FIXME("Get Printer Status - Not Supported\n");
30             break;
31         default:
32             AH_reg(context) = 0; /* time out */
33             INT_BARF( context, 0x17 );
34     }
35 }