Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
[wine] / msdos / int20.c
1 /*
2  * DOS interrupt 20h handler (TERMINATE PROGRAM)
3  */
4
5 #include <stdlib.h>
6 #include "winbase.h"
7 #include "miscemu.h"
8 /* #define DEBUG_INT */
9 #include "debugtools.h"
10 #include "task.h"
11 #include "dosexe.h"
12
13 /**********************************************************************
14  *          INT_Int20Handler
15  *
16  * Handler for int 20h.
17  */
18 void WINAPI INT_Int20Handler( CONTEXT86 *context )
19 {
20         MZ_Exit( context, TRUE, 0 );
21 }