Fix IO memory access .. SB128 driver makes noises in VMWare - CMI is untested (Curren...
[AROS.git] / rom / graphics / coercemode.c
blob3ae474be392255c55c5197417a3a4d51104e59d4
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Graphics function CoerceMode()
6 Lang: english
7 */
8 #include <aros/debug.h>
9 #include <graphics/view.h>
11 /*****************************************************************************
13 NAME */
14 #include <proto/graphics.h>
16 AROS_LH3(ULONG, CoerceMode,
18 /* SYNOPSIS */
19 AROS_LHA(struct ViewPort *, RealViewPort, A0),
20 AROS_LHA(ULONG, MonitorID, D0),
21 AROS_LHA(ULONG, Flags, D1),
23 /* LOCATION */
24 struct GfxBase *, GfxBase, 156, Graphics)
26 /* FUNCTION
27 Determine the best mode in the MonitorID to coerce RealViewPort to.
29 INPUTS
30 RealViewPort - ViewPort to coerce
31 MonitorID - Monitor number to coerce to
32 (i.e. a mode masked with MONITOR_ID_MASK)
33 Flags - PRESERVE_COLORS - keep the number of bitplanes
34 in the ViewPort
35 AVOID_FLICKER - do not coerce to an interlace mode
37 RESULT
38 ID - ID of best mode to coerce to, or INVALID_ID if could not coerce
40 NOTES
42 EXAMPLE
44 BUGS
46 SEE ALSO
48 INTERNALS
50 HISTORY
53 ******************************************************************************/
55 AROS_LIBFUNC_INIT
57 /* TODO: Write graphics/CoerceMode() */
58 aros_print_not_implemented ("CoerceMode");
60 return INVALID_ID;
62 AROS_LIBFUNC_EXIT
63 } /* CoerceMode */