Cleaned up and removed some no longer used code.
[wine] / msdos / int15.c
1 /*
2  * BIOS interrupt 15h handler
3  */
4
5 #include <stdlib.h>
6 #include "miscemu.h"
7 #include "debug.h"
8
9
10 /**********************************************************************
11  *          INT_Int15Handler
12  *
13  * Handler for int 15h (old cassette interrupt).
14  */
15 void WINAPI INT_Int15Handler( CONTEXT *context )
16 {
17     switch(AH_reg(context))
18     {
19     case 0x88: /* get size of memory above 1 M */
20         AX_reg(context) = 64;  /* FIXME: are 64K ok? */
21         RESET_CFLAG(context);
22         break;
23
24     default:
25         INT_BARF( context, 0x15 );
26     }
27 }