Release 971012
[wine.git] / msdos / int15.c
blob5d3ad57ec87d95fe07a430d54a994a30b6f6e3d9
1 /*
2 * BIOS interrupt 15h handler
3 */
5 #include <stdio.h>
6 #include <stdlib.h>
7 #include "miscemu.h"
8 #include "stddebug.h"
9 #include "debug.h"
12 /**********************************************************************
13 * INT_Int15Handler
15 * Handler for int 15h (old cassette interrupt).
17 void WINAPI INT_Int15Handler( CONTEXT *context )
19 switch(AH_reg(context))
21 case 0x88: /* get size of memory above 1 M */
22 AX_reg(context) = 64; /* FIXME: are 64K ok? */
23 RESET_CFLAG(context);
24 break;
26 default:
27 INT_BARF( context, 0x15 );